With the popularity of social networks such as Twitter, Facebook, Google+, and Pinterest remaining strong, integrating tools to help your customers share your products with their friends can be an excellent way to grow your customer base.
This recipe will show you how to customize your Drupal Commerce store to include social media share buttons on your store's product pages.
Log in to your Drupal Commerce administration panel with your administrator account.
To add your chosen social networks to your Commerce product pages, you need to use a module package with Commerce Kickstart:
Navigate to Modules in your administration panel. In the menu in the left-hand column, you'll see a tab for Commerce Kickstart modules. Click on this to view a list of available Commerce Kickstart modules.
Scroll down the list of modules until you come to the Commerce Kickstart Social module, and enable it by checking the box:
Click on the Save configuration button in the left-hand column to enable the module; it is located under the list of module groupings:
If you haven't enabled one or more of the modules required by the Kickstart Commerce Social module, you'll be prompted to enable them on the next screen. Select Continue:
Enabling the module does two things: it adds a block to your store's footer with links to various social media platforms, and it adds share tools on your product pages. View the frontend of your website and look in the footer, and you will see them as follows:
If you can't see these appear, you may need to assign them.
By default, these link to Commerce Guys' profiles, so ensuring you are logged in as an administrator, hover over the block and then select the List links option from the drop-down menu:
This will present you with a list of the links. Select edit in the Operations column:
You can now edit the URL of your social media profile with the Path field and the label for the link with the Menu link title field:
Click on the Save button at the bottom of the screen once you are finished.
Return to the frontend of your store and navigate to a product page, and you will see the share tools from Facebook, Google+, and Twitter: