Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to setup Like buttons of the Social networking in magento?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1
    • 0
    • 399
    Comment on it

    The social networks in these days works as a powerful tool for the advertisment or say for promoting the store content.
    Like Facebook as it has like button and share button which allow users to share it on web.

    To add the Facebook "Like" button to your store follow these below steps:


    1. Visit this link https://developers.facebook.com/docs/plugins/like-button,
    and then on this link page in the bottom you will find a button "Get Code".

     

    2. Click on the button as you will click a window will appear as show in screen shot below

    change the href attribute with your url in the div at data-href.

     

    3. Then open the view.phtml file in which past the 2nd step code of the screenshot at the line no 50 in view.phtml at the path /app/design/frontend/base/default/template/productalert/product/view.phtml 

     

    <div class="fb-like" data-href="https://developers.facebook.com/docs/plugins/" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>

    change the href attribute with your url in the div at data-href. 

     

    4. Clear the chache of the setup from the Cache Storage Management section in system of admin panel.

     

    5. Afterwards open the froontend of that setup and visit the product view page of any product you will find the like button there.


     

    How to setup Like buttons of the Social networking in magento?

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: