sailing123 Posted March 30, 2017 Share Posted March 30, 2017 Hi, I am using the AddThis plugin provided by Cubecart. I use it only at product page level. At the moment, the default position of AddThis on the storefront is just between the product description and reviews. I would prefer to have it higher on the page, like below the price for instance. I have been looking at the files of the plugin and my skin templates and it is not obvious. There is obviously a file calling on that plugin somehow but I cannot identify it. Would anyone know ? Thanks S. Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 30, 2017 Share Posted March 30, 2017 In your skin template content.product.php: Find: {if $SHARE} {foreach from=$SHARE item=html} {$html} {/foreach} {/if} In the same template, a bit further down: Find: {foreach from=$COMMENTS item=html} {$html} {/foreach} The SHARE is the array of HTML snippets that show the social media buttons, and the COMMENTS is the array of HTML snippets that show extractions of content from social media sources. Place these where you want them to show. Since you have edited a skin template, you may need to clear the cache (admin, Maintenance, Rebuild tab, Clear Cache). Quote Link to comment Share on other sites More sharing options...
sailing123 Posted March 30, 2017 Author Share Posted March 30, 2017 Perfect, thanks again bsmither. One important criteria I need to bear in mind by placing it higher in the page is the impact on loading. I will ask Cubecart if optimisation described here, https://www.addthis.com/academy/optimizing-addthis-performance/, has been implemented. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.