4
Installation Guide FACEBOOK LIKE DISCOUNT for Magento 2

Installation Guide FACEBOOK LIKE DISCOUNT · 'php bin/magento module:enable --clear-static-content Mageside_FacebookLikeDiscount'. Step 6 . Run the command 'php bin/magento setup:upgrade

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Installation Guide FACEBOOK LIKE DISCOUNT · 'php bin/magento module:enable --clear-static-content Mageside_FacebookLikeDiscount'. Step 6 . Run the command 'php bin/magento setup:upgrade

Installation Guide

FACEBOOK LIKE DISCOUNTfor Magento 2

Page 2: Installation Guide FACEBOOK LIKE DISCOUNT · 'php bin/magento module:enable --clear-static-content Mageside_FacebookLikeDiscount'. Step 6 . Run the command 'php bin/magento setup:upgrade

Need help? [email protected]

Step 1 Download the archive.

Step 2 Make sure to create the directory structure in your Magento - 'Magento_Root/app/code/Mageside/FacebookLikeDiscount'.

Step 3 Unzip the content of archive to directory 'Magento_Root/app/code/Mageside/BackupToDropbox' (use command 'unzip ArchiveName.zip -d path_to/app/code/Mageside/FacebookLikeDiscount').

Step 4 Install Facebook SDK, run command 'composer require facebook/graph-sdk'.

Step 5 Run the command 'php bin/magento module:enable Mageside_FacebookLikeDiscount' in Magento root. If you need to clear static content use 'php bin/magento module:enable --clear-static-content Mageside_FacebookLikeDiscount'.

Step 6 Run the command 'php bin/magento setup:upgrade' in Magento root.

Step 7 Run the command 'php bin/magento setup:di:compile' if you have a single website and store, or 'php bin/magento setup:di:compile-multi-tenant' if you have multiple ones.

Step 8 Clear cache: php bin/magento cache:clean', 'php bin/magento cache:flush'

Page 3: Installation Guide FACEBOOK LIKE DISCOUNT · 'php bin/magento module:enable --clear-static-content Mageside_FacebookLikeDiscount'. Step 6 . Run the command 'php bin/magento setup:upgrade

Need help? [email protected]

Settings

Step 1 Go to the https://developers.facebook.com/apps and create new app for your website.

Step 2 On Settings/Basic tab add platform 'Website' and fill your 'Site URL'.

Step 3 On App Review tab make your app public (switch off developer mode).

Step 4 If you haven’t facebook page yet, now go to https://www.facebook.com andcreate it.

Step 5 Go to Magento admin panel Stores/Configuration/Mageside/FacebookLikeDiscount tab and fill all required parameters.

Step 6 Click the button 'Create App'

Step 7 Go to Content/Widgets and add 'Facebook Like Discount'. On widget page youcan configure how it should look like and configure on which place of the page

you want to show your widget (ex. Layout Updates, Display On - Specified

Page, Page - CMS Page Home, Container - Before Main Columns).

Page 4: Installation Guide FACEBOOK LIKE DISCOUNT · 'php bin/magento module:enable --clear-static-content Mageside_FacebookLikeDiscount'. Step 6 . Run the command 'php bin/magento setup:upgrade

Email: [email protected]

Web: www.mageside.com

Skype: mageside

Facebook: www.facebook.com/mageside

Twitter: www.twitter.com/magesideteam