Social Buttons PRO


Online shoppers are using social media more and more to share their favorite finds with their followers. That’s good news for your e-commerce site! Make it easy for online shoppers to share your products with their family and friends by installing Social Buttons PRO in your CS-Cart store.

The add-on lets you add social buttons to the product details page:

You can also set the number of social networks to display per page. The rest will be available in a drop-down list.

As a thank you gesture you can give your customers bonuses for sharing products in social networks.

The Social Buttons PRO add-on will definitely help you convert more customers.


  • 14 popular social networks: Vkontakte, Pinterest, Odnoklassniki, My, Twitter, Digg, Reddit, Evernote, Linkedin, LiveJournal, Pocket, Qzone, Sina Weibo, Tumblr.
  • Nice and eye-catching design.
  • Ability to set a visible amount of social networks on the page.
  • Ability to display social buttons on Product details pages, Pages and Promotions pages.
  • Ability to give bonuses to customers for sharing products.
  • Easy to install and use.


The add-on is compatible with CS-Cart and Multi-Vendor 4.9 and above, but only versions 4.12.x and above are supported. Minimum required PHP version is 5.6.

See more information about compatibility of our add-ons here.


Please note that the Social Buttons PRO add-on is not compatible with the Order Social Sharing add-on and the default Social Buttons add-on.


You are guaranteed a quality add-on supported by the future versions. If you need help, please contact us via our help desk system.


Check out the Social Buttons PRO add-on in our demo store.

Managing in the admin panel

Installing the add-on

Install the Social Buttons PRO add-on on the add-ons list page (Add-ons → Manage add-ons). Click the + button in the top right corner, select an archive and click Upload & install. You can now find the installed add-on in the list of installed add-ons, just make sure it is set to Active.

Setting up the add-on

The settings of the Social Buttons PRO add-on are divided into three sections:

1. Available social networks

It provides you with a long list of available social networks. Select the Status checkbox next to the social buttons you want to display and define Position if you want to display the social buttons in a particular order.


The Position setting is available starting from version 4.5.x.

2. Options

Small buttons—If enabled, smaller social buttons will be shown.

Here’s a quick look of regular sized buttons:

Compare it with small buttons:

Number of social buttons—This setting will help you add an unlimited number of social buttons to the page without overloading it. The social buttons which exceed the limit will be available in a drop-down list.

Show Specicfc Color — This setting is allows the user to set a specific color to all buttons

3. Display on

You need to select pages on which social buttons will be displayed: product details pages, all pages or promotions page.

Creating a promotion

The Social Buttons PRO add-on allows you to create a new cart promotion in your store. If users share products in social networks, they can get bonuses for that.

To create a promotion, follow these quick steps:

  1. Go to Marketing - Promotions.
  2. Click the + button in the top right to create a new cart promotion.
  1. In the General tab, enter a name for the promotion, add a description, and other information.
  2. In the Conditions tab, click Add condition and select Share in social network from the list.
  1. In the Bonuses tab, add a desired bonus for this promotion.


To learn more about the basics of creating promotions, refer to the CS-Cart Docs.

Once you’ve created a promotion, you can make a test order to make sure everything works fine.

To do this:

  1. Under a test user share a product.
  1. Add the product to cart and proceed to checkout.
  2. At checkout, you should see the applied promotion.


Keep in mind that the promotion will be applied only for the product shared on the product page. If the customer shared a product, but then added one more product to cart, the promotion will not be applied.


How to a hook for versions 4.3.1-4.3.6


If your CS-Cart or Multi-Vendor store runs on versions 4.3.1-4.3.6, you’ll need to insert a hook to make the add-on perform correctly.

To do this, please follow the steps below:

Open the app/functions/fn.cart.php file.

In the fn_checkout_place_order function, before this line:

fn_order_placement_routines('route', $order_id);

add this one:

fn_set_hook('checkout_place_orders_pre_route', $cart, $auth, $params);


if (empty($params['skip_payment']) && $process_payment == true || (!empty($params['skip_payment']) && empty($auth['act_as_user'])))
{ $payment_info = !empty($cart['payment_info']) ? $cart['payment_info'] : array(); fn_start_payment($order_id, array(), $payment_info); }
// added hook checkout_place_orders_pre_route
fn_set_hook('checkout_place_orders_pre_route', $cart, $auth, $params);
fn_order_placement_routines('route', $order_id);