Hi, i'm trying to create a whatsapp button on prestashop. I want to send the link of the current product on whatsapp. I'm writing a code into a custom block.
My code is
<a href="https://api.whatsapp.com/send?phone=905xxxxx&text= <?php {$urls.current_url} ?>">
But
<?php {$urls.current_url} ?>
this section display as a text on web browser.
How can i get current product link on prestashop custom blocks? Thanks for help.
Sorry my bad English.