/module-fblike

M2 Facebook Product Like Button

Primary LanguagePHP

Facebook Like Button

Installation

For clients

There are several ways to install extension for clients:

  1. If you've bought the product at Magento's Marketplace - use Marketplace installation instructions
  2. Otherwise, you have two options:

For developers

Use this approach if you have access to our private repositories!

cd <magento_root>
composer config repositories.swissup composer https://docs.swissuplabs.com/packages/
composer require swissup/module-fblike
bin/magento module:enable Swissup_Fblike
bin/magento setup:upgrade

Add Like Button To Catalog

Add code to any place in catalog list.phtml

<?php echo $this->helper('Swissup\Fblike\Helper\Like')->getProductLike($_product); ?>