VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: artonweb on February 17, 2018, 08:49:25 AM

Title: AddThis social buttons
Post by: artonweb on February 17, 2018, 08:49:25 AM
Hello.
I am trying to add the code, which provided by AddThis, into file  .../templates/mytemplate/html/com_virtuemart/productdetails/default.php in order to create sharing buttons, but when I choose a child product then buttons disappear.
Any suggestion will be helpful.

Virtuemart 3.2.12
Joomla 3.8.5
Title: Re: AddThis social buttons
Post by: Studio 42 on February 17, 2018, 16:01:14 PM
Your problems is because script is loaded on document ready, when you reload, you have to check if document is ready load script directly.