Advanced Social Buttons

Overview

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 Advanced Social Buttons 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 Advanced Social Buttons add-on will definitely help you convert more customers.

Features

  • 20 popular social networks: Facebook, Vkontakte, Google plus, Pinterest, Odnoklassniki, My World@mail.ru, Twitter, Delicious, Digg, Reddit, Evernote, Linkedin, LiveJournal, Pocket, Qzone, Renren, Sina Weibo, Surfingbird, Tencent Weibo, Tumblr.
  • Nice and eye-catching design.
  • Ability to set a visible amount of social networks on the page.
  • Social Sharing Counter for Vkontakte, Facebook, Odnoklassniki, My World@mail.ru, Google plus, Pinterest.
  • 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.

Compatibility

The add-on is compatible with CS-Cart and Multi-Vendor 4.3.5 and above.

Don’t know what archive to download to install the add-on? Read here.

Support

This add-on is developed and published by Simtech Development Ltd., a CS-Cart developer. You are guaranteed a quality add-on supported by the future versions. If you need help, please contact us via our help desk system.

Managing in the admin panel

Installing the add-on

Install the Advanced Social Buttons 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.

Important

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

Adding a hook for versions 4.3.1-4.3.6

Important

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);

Example:

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);

Setting up the add-on

The settings of the Advanced Social Buttons 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.

Note

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.

Counter—Show how many times products were shared in social networks. Note that it works for Vkontakte, Facebook, Odnoklassniki, My World@mail.ru, Google plus, and Pinterest.

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 Advanced Social Buttons 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.

Tip

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.

Note

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.