Helpdesk is open from Monday through Friday CET

All support tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

For pre-sale questions, please create an (free) account to post a message. Pre-sale tickets are public.

Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!

#6715 – AMP + VirtueMart

Posted in ‘wbAMP Community Edition’
Friday, 13 September 2019 17:35 UTC
Hello. Can I somehow display Buy button on VirtueMart AMP product pages? By clicking on this button, the user needs to go to the normal product page.
Monday, 16 September 2019 10:13 UTC

There's no automated way to do that at this moment. A manual way is to include in the product description a link to that page. That link can be displayed only on AMP pages by wrapping it inside a specific tag:

[code type="markup"]<a href="/index.php?option=com_virtuemart&Itemid=0&view=productdetails&virtuemart_category_id=xx&virtuemart_product_id=xx"></a>[/code]

See documentation on this page for more details.

You can also create a template override for virtuemart product page and automatically include the above in those overrides. That will require a little bit of programming.

Best regards
Monday, 16 September 2019 10:29 UTC
Thanks for the answer. The question is closed.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.