How to Add Social networking buttons to Magento

How to Add Social networking buttons to Magento

August 30, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to Add Social networking buttons to Magento

Adding Social Networking Buttons to Magento: A Comprehensive Guide

As an e-commerce store owner or developer, integrating social networking buttons into your Magento site is crucial for increasing visibility, driving traffic, and enhancing customer engagement. In this tutorial, we’ll walk you through the process of adding social sharing buttons to your product pages using a popular extension.

Understanding the Problem

When it comes to adding social sharing functionality in Magento, many users face challenges due to outdated documentation or missing code snippets in extensions like “Social Bookmark Icons”. While the extension provides an overview and review section, the crucial part—the actual code—is often omitted. This leaves developers scratching their heads, unsure of where to place the necessary code blocks.

A Step-by-Step Solution

To add social networking buttons to your Magento site, follow these detailed steps:

1. Download and Install the Extension

First, download the “Social Bookmark Icons” extension from the official Magento Connect store (https://www.magentocommerce.com/magento-connect/social-bookmark-icons.html). Once downloaded, proceed with installing it in your Magento admin panel.

2. Activate the Social Buttons

After installation, navigate to System > Configuration in your Magento backend. Under the “Social Bookmark Icons” section, ensure that the module is enabled by setting the “Enabled” field to “Yes”.

3. Configure the Social Sharing Options

Configure the social networks you want to include:

  • Select the desired icons from the “Enable Social Buttons” dropdown.
  • Choose the position for the social sharing buttons using the “Position” field (e.g., below the product name, in the description, or at the bottom of the page).
  • Customize the URL and title attributes if needed.

4. Place the Sharing Code Block

The extension provides a code block that needs to be placed on the desired HTML pages where you want the social sharing buttons to appear. Unfortunately, as mentioned earlier, this crucial step is missing in the documentation.

To resolve this issue, let’s assume you wish to display the sharing buttons below each product description. In that case, locate the “view.phtml” file of your current theme’s catalog/product/view folder (e.g., app/design/frontend/theme_name/template/catalog/product/view/view.phtml).

Open the file and find the section where the product description is rendered. Usually, it looks something like this:

<textarea id="product_description" name="description" style="width:380px; height:150px;"><?php echo $this->getProduct()->getDescription(); ?></textarea>

5. Insert the Social Sharing Code

Past the provided code block (which should be available in the extension’s documentation or support forum) immediately after the textarea containing the product description. Ensure you maintain the correct syntax and indentation for proper rendering.

Best Practices and Alternatives

If you’re looking for a more robust solution, consider exploring popular social sharing extensions like “Sharing Suite” by aheadWorks (https://www.aheadworks.com/magento-extensions/sharing-suite/) or “Social Pug” by Xtension Connect (http://xtensionconnect.com/social-pug.html).

These extensions offer advanced features such as:

  • Customizable button styles and positions
  • Support for multiple social networks
  • Integration with popular sharing platforms like Facebook, Twitter, and LinkedIn

Conclusion

Adding social networking buttons to your Magento site is a vital step in enhancing customer engagement and driving traffic. By following the steps outlined above and exploring alternative extensions, you can seamlessly integrate social sharing functionality into your store.

Remember that proper configuration and placement of the code block are crucial for successful implementation. If you encounter any issues or require further assistance, consider reaching out to the extension’s support forum or contacting a Magento developer from Laravel Company for expert guidance.

Happy coding!

Catalog Extensions Admin Configuration

Our network