Page 1 of 1

order social icons in AddThis on product page

Posted: Thu Nov 09, 2017 2:17 am
by aljaadi.akram
Dear Gents,
how to order social icons in AddThis on product page. for example i need email is first icon then Twitter , .... etc

Re: order social icons in AddThis on product page

Posted: Thu Nov 09, 2017 3:18 am
by kestas
First you need create an account at the addthis.com. There you can edit all you need.
The next you need to edit in your opencart shop catalog/view/theme/default/template/product/product.twig
find:

Code: Select all

 <!-- AddThis Button BEGIN -->
            <div class="addthis_toolbox addthis_default_style" data-url="{{ share }}"><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a></div>
            <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e"></script> 
            <!-- AddThis Button END -->
And replace with your code generated in addthis.com

Good luck

Re: order social icons in AddThis on product page

Posted: Fri Nov 10, 2017 5:14 am
by aljaadi.akram
Thank you for your great support