1. Open your Magento project directory then GO to “app/design/frontend/default/template/catalog/product/ and open view.phtml” file.
2. Add the following code snippet where you want to show Facebook LIKE button on view.phtml page.
getCurrentUrl()); ?>
3. Save it. Now open product detail page, you should see Facebook Like button.
About Author:
Kalpesh Chavada
Kalpesh Chavada is Our Founder & CEO of Akshar Group Technologies. He is serving with 11+ years of experience in different technologies like Magento, WordPress, Laravel, jQuery, Shopify, Branding, and Digital Marketing. He is very good with creative logic and always ready to take on challenges.