SwissUpLabs Logo

Installation from Marketplace

Prepare to install

Installation requires Marketplace module. It’s our module that registers Magento 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 magento

You’ll be asked to enter your credentials. Get your credentials at marketplace.magento.com

Install

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

bin/magento marketplace:package:require swissup/fblike

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