social icons in virtuemart products

GK User
Tue Jul 21, 2015 12:08 am
Hello,
Is it possible to display social icons in virtuemart products? When the product detail shown.

Regards.
Hernan
User avatar
Senior Boarder

GK User
Tue Jul 21, 2015 8:04 am
Hi,
In theory yes, I made it ages ago, if we talk about VM3,
I've edited (probably) that file : gk_storefront\html\com_virtuemart\productdetails\default.php
and put there a social code from AddThis or AddToAny service and worked.

But this kind of customization must be made by customer not support guy like me.
--
Or max easy option, just publish somewhere a social module...
User avatar
Platinum Boarder

GK User
Thu Jul 23, 2015 4:10 am
Hi!
In Addthis asks me: "Add the following code to the <body> of your website."

<- Go to www.addthis.com/dashboard to customize your tools ->
<script type = "text / javascript" src = "// s7.addthis.com/js/300/addthis_widget.js#pubid=ra-0000000000000000" async = "async"> </ script>

Where should I put the code in the template?

greetings
Hernan
User avatar
Senior Boarder

GK User
Thu Jul 23, 2015 6:58 am
layout/default.php (in template folder)
User avatar
Platinum Boarder


cron