So, how do you add this great function to your Magento theme you might ask. Well its very simple. Just follow the steps below and you should be up running in no-time.
Step 1 – Create your AddThis-button
Go to http://www.addthis.com/web-button-select and create your own-styled AddThis-button, and then copy the code that is generated to your clipboard.Step 2 – Add the code to your template-file
Open up your local template/catalog/view.phtml-file in Magento and find the following line:
<h4><?php echo $this->__(’Quick Overview’) ?></h4>
Right above that line add a div style like this:
<div style=”float:right;”>
</div>
And paste the generated code in between that div-tag.
3 – Done
Well, thats actually it! If you run into any problems or have any suggestions around this functionality please feel free to add it as a comment in this article.Source: http://www.silverthemes.com/
No comments:
Post a Comment