How to set a Whatsapp link or button

I had an escort classified web, where people can publish their listings.

I wish i could add the “Share on WhatsApp” + listing.cellphone to the gird card.

is it possible?

Anotación 2022-05-26 141211

You could try adding the Phone number as an attribute and setting a Whatsapp display format for it, using the wa.me link.

2 Likes

it works perfectly, thanks so much!

The Display format could then Look like

<button type="button" class="hp-listing__action hp-listing__action--message button button--large button--primary alt" data-component="link" data-url="https://wa.me/%value%?text=Hallo, ich habe dein Inserat auf XContact.ch gesehen">%icon% WhatsApp</button>

There was the similar topic how to set link whatsapp | HivePress Support

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.