News:

AbanteCart v1.4.2 is released.

Main Menu

Whatsapp Share to Store Owner - Product Pages

Started by riswan, October 03, 2019, 01:53:44 AM

Previous topic - Next topic

riswan

Hi,

I'm just wondering, is there a code to insert a small whatsapp icon next to every product listed so if any customer clicks it, the product or product page is shared to store owner's whatsapp and the store owner and customer can discuss the product on Whatsapp?

Anyone, please advise.

Thank you,

Kind regards,
Riswan


riswan

Thank you Basara,

This really helps a lot. But I'm a beginner who heard the word CSS only a month ago. I'm learning here and there and editing codes.

I would like to have the whatsapp contact link to my whatsApp number shown on all product view page (next to Add to Cart) .
(Screenshot Attached).

I inspected the page code with fire bug but I have no idea where to paste the code and what code as the whatsapp fag page sample code is not in CSS.

I request your kind help and also of other experienced members of this community.

Sam_78

#3
You can add whatsapp icon to product page that's simple but how do you think you will get customer's phone number because from what I read is you will need customers phone number to initiate that chat.

To insert icon on product page you can add your code inside this div or above it based on your requirement
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/pages/product/product.tpl#L127

Options I can think of is either customer has to be logged in with correct phone number that has been connected to his/her whatsapp or second option is you can create a small pop-up form which appears when they click on that icon and you ask for their phone number and when they enter their phone number you can send a whatsapp message to yourself from that number along with the product page link.

Check this extension https://marketplace.abantecart.com/promotions/si_whatsapp

riswan


HADY

Hi!

You can use addthis free tool on your website, it is containing a lot of social icons for sharing everything you want. try it you will like it.

Regards
Hady
Thank you In Advanced
Regards
HADY

riswan

Quote from: HADY on October 04, 2019, 05:04:39 AM
Hi!

You can use addthis free tool on your website, it is containing a lot of social icons for sharing everything you want. try it you will like it.

Regards
Hady

Which tool Hady? It seems you missed to mention it.

HADY

Quote from: riswan on October 04, 2019, 05:25:29 AM
Quote from: HADY on October 04, 2019, 05:04:39 AM
Hi!

You can use addthis free tool on your website, it is containing a lot of social icons for sharing everything you want. try it you will like it.

Regards
Hady

Which tool Hady? It seems you missed to mention it.




addthis.com

Regards
Hady
Thank you In Advanced
Regards
HADY


riswan


Forum Rules Code of conduct
AbanteCart.com 2010 -