• Resolved KoolPal

    (@koolpal007)


    Hi,

    I am testing the free version of this plugin.

    Is there any hook to replace phone number with WhatsApp.

    In my use case, I do not see any use of TWO numbers and wish to use only WhatsApp number.

    At the same time, I wish to use your validations and mandatory requirements used by this plugin for a phone number.

    How can I achieve this?

    Please guide.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,
    Yes, you can do it easily. Follow below steps –
    1. To remove phone number field, go to Settings->Moderation [Hide form fields] https://prnt.sc/k2KF9obP7t_j
    2. To add WhatsApp number required, you have to override contact.php template using child theme.
    template path plugins\classified-listing\templates\listing-form\contact.php
    add required attribute in input field https://prnt.sc/OwR0_l2ZKwA0

    Please, follow this documentation to know how to override classified listing template https://www.radiustheme.com/docs/developer-docs/theming/override-ad-submission-form/

    Thank You

    Thread Starter KoolPal

    (@koolpal007)

    Thank you for your quick reply.

    However, the steps above simply make WhatsApp number mandatory during a new listing.

    What I am looking for is to use WhatsApp as the main number starting from Registration to Listing – everywhere

    You have a an excellent feature which checks for existing phone number during registration and shows an error on duplicate

    Error: An account is already registered with your phone number. Please log in.

    This check does not work with WhatsApp number during registration.

    If the above is not possible, is there some code snippet which would copy the Phone number entered during registration into the WhatsApp number field?

    Please guide.

    Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,

    Both phone number is different. One used for user and another one is for listing contact. As current system, not possible to do registration using WhatsApp. For this facilitates, you have to customize functionalities.

    You can create ticket from our site for customization request.

    Thank You

    Thread Starter KoolPal

    (@koolpal007)

    Thanks for letting me know.

    Is there some code snippet which would copy the Phone number entered during registration into the WhatsApp number field?

    I want to avoid asking the customer to enter a number twice during registration.

    I hope this is possible.

    Thanks

    Plugin Support Ali Akbar Reyad

    (@alireyad)

    Hi,
    Sorry, don’t have this type of code snippet. You have to do it own. We have OTP verification addon, which verify phone number and take it once. Don’t need multiple time during posting ad but it also depends on phone field.

    Thank You

    Thread Starter KoolPal

    (@koolpal007)

    Oh! That is sad.

    I will try to figure this on my own.

    Thanks for your help.

    Have a nice day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Replace Phone with WhatsApp’ is closed to new replies.