Adds like/share buttons to magento2 products for facebook, twitter, google and pinterest
Switch branches/tags
Nothing to show
Clone or download
Latest commit ba1af23 Apr 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Block refactor part 2 Jan 25, 2018
etc fix versioning Apr 8, 2018
view/frontend updated buttons.phtml template file, wrapping pinterest button in span Feb 5, 2018
.gitignore Updated .gitignore to exclude phpstorm files. Feb 5, 2018
LICENSE functional first commit Jan 22, 2017
README.md Update README.md Apr 4, 2018
composer.json fix versioning Apr 8, 2018
registration.php refactor part 2 Jan 25, 2018

README.md

SocialButtons-magento2

Free magento2 plugin to place share and like buttons on product pages. Social networks implemented:

  • Facebook
  • Twitter
  • Pinterest
  • Google+

Tested and working on magento 2.1.6 & Luma (other themes can and will vary).

Installation

  • composer require thousandmonkeys/m2-socialbuttons-module
  • php bin/magento setup:upgrade
  • php bin/magento setup:di:compile
  • php bin/magento setup:static-content:deploy

Usage

All of the buttons are disabled initially. Go to Stores/Configuration/ThousandMonkeys/Social Buttons to enable each button individually. If you want facebook stats create and enter an app id (optional).

If you wish to move the buttons override ThousandMonkeys/SocialButtons/view/frontend/layout/catalog_product_view.xml in your theme (particularly the move command). You may also need to override the rule in ThousandMonkeys/SocialButtons/view/frontend/web/css/social.css to get the facebook buttons aligned.

Should you decide that the network provided widgets are too slow there are local versions which you can enable. You do need to have loaded http://fontawesome.io/ into your theme (the module doesn't include it).