SwissUpLabs Logo

Installation

Prepare to install

Installation requires Marketplace module. It’s our module that registers our packages repository in composer.json file, saves its credentials to the auth.json file, automates a bunch of complex commands required to run prior and after module installation, and provides easy to use module installer.

composer require swissup/module-marketplace &&\
bin/magento setup:upgrade --safe-mode=1 &&\
bin/magento marketplace:channel:enable swissuplabs

You’ll be asked to activate your domain and enter your key. Get identity key(s) and activate the domain on the site where you’ve downloaded the product:

Install

When Marketplace module is installed you can proceed with installation in teminal:

composer require swissup/fblike &&\
bin/magento setup:upgrade --safe-mode=1 &&\
bin/magento setup:di:compile &&\
bin/magento setup:static-content:deploy

Add Like Button To Catalog

Add code to any place in catalog list.phtml:

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

That’s all. Now you need Create a New Facebook App and configure extension in admin panel Configuration

After installing the extension you can go to:

Edit this Page