The main advantage of the “Shop-Script → Facebook” integration is its simplicity: all you need to do is to obtain the code of the Like button on the Facebook website and to add it to your storefront using the built-in design editor. You do not even have to register your online store in the social network in this case!
To add the Like button to product pages in your online store, open page https://developers.facebook.com/docs/plugins/like-button.
Enter the URL of your online store in field URL to like, select other options, and click on Get Code. This will show a pop-up window with plugin-embedding code.
- Copy and paste the second code snippet into the desired design theme template, where you want the Like button to appear.
If you need the Like button only on product-viewing pages, then paste the second code snippet to template file product.html.