Page 1 of 1

Opencart3.x using twig templates {{ base }} on whatsapp api

Posted: Wed Oct 21, 2020 2:03 am
by b3hlull
Hello,

I want to use base url on my api.whatsapp.com message button. I can use {{ heading_title }} but can't use {{ base }}.
I want to add base url when customer seeing the product instead of {{ heading_title }}.
Can anyone help me on this situation.
Here is my code.
Code from catalog/view/theme/journal3/template/product/product.twig

Code: Select all

<div class="wtsp" style="position:fixed;bottom:13px;left:13px;z-index:9999;">
<a href="https://api.whatsapp.com/send?phone=905550001122&amp;text=SipariƟ&nbsp;vermek&nbsp;istiyorum. {{ heading_title }}">
<img src="image/whatsapp.gif"></a>
</div>
Thanks.

Re: Opencart3.x using twig templates {{ base }} on whatsapp api

Posted: Wed Oct 21, 2020 4:07 am
by straightlight
Unsupported. Journal support. Contact their support team for assistance.