Cross-Sell / Up-Sell

Shopper Experience|Sales & Conversions - Last updated Nov 2, 2016

The Cross-Sell feature has been available within the shopping cart template in ShopSite Pro store. Cross-sell products can now be placed on store pages and on an item's "More Info" page.

Follow the steps below to add the complete cross sell functionality to your custom templates.

In the Cart

Copy the code below and paste it at the very bottom of your custom shopping cart template.
Below the last [-- END_DEFINE --] tag.

[-- DEFINE GLOBAL_CROSS_SELL --][-- VAR.DefineProduct "short" --][-- INCLUDE Full-DefineProduct.sst PROCESS --][-- END_DEFINE GLOBAL_CROSS_SELL --]
[-- DEFINE CART_CROSS_SELL --][-- VAR.DefineProduct "short" --][-- INCLUDE Full-DefineProduct.sst PROCESS --][-- END_DEFINE CART_CROSS_SELL --]

Paste the code below where you want the cross-sell items to appear in the cart.
Within the [-- DEFINE ShoppingCart --] and [-- END_DEFINE ShoppingCart --] tags.

[-- IF Cart_Cross_Sell --]

[-- STORE.CartCrossSellHeader --]

[-- VAR.CartDividerCount "0" --][-- LOOP CART_CROSS_SELL --][-- VAR.CartDividerCount INC --]
[-- CART_CROSS_SELL --]
[-- IF VAR.CartDividerCount "4" --][-- VAR.CartDividerCount "0" --]
[-- END_IF --][-- END_LOOP CART_CROSS_SELL --]
[-- END_IF --] [-- IF Global_Cross_Sell --]

[-- STORE.GlobalCrossSellHeader --]

[-- VAR.GlobalDividerCount "0" --][-- LOOP GLOBAL_CROSS_SELL --][-- VAR.GlobalDividerCount INC --]
[-- GLOBAL_CROSS_SELL --]
[-- IF VAR.GlobalDividerCount "4" --][-- VAR.GlobalDividerCount "0" --]
[-- END_IF --][-- END_LOOP GLOBAL_CROSS_SELL --]
[-- END_IF --]

 

On More Information Pages

Paste the following code at the very top of your product template.
Above the first [-- DEFINE --] tag.

[-- DEFINE PRODUCT_CROSS_SELL --][-- VAR.DefineProduct "short" --][-- INCLUDE Full-DefineProduct.sst PROCESS --][-- END_DEFINE PRODUCT_CROSS_SELL --]

Paste the code below where you want the cross-sell items to appear on your product more information pages.
Within the [-- DEFINE More_Info_Page --] and [-- END_DEFINE More_Info_Page --] tags.

[-- IF Product.MoreInformationProductCrossSell --][-- IF PRODUCT.CrossSell "0" --][-- ELSE --]

[-- STORE.CartCrossSellHeader --]

[-- VAR.DividerCount 0 --][-- LOOP PRODUCT_CROSS_SELL --]
[-- VAR.DividerCount INC --][-- PRODUCT_CROSS_SELL --]
[-- IF VAR.DividerCount 4 --][-- VAR.DividerCount 0 --]
[-- END_IF --][-- END_LOOP PRODUCT_CROSS_SELL --]
[-- END_IF --][-- END_IF --] [-- IF PRODUCT.MoreInformationGlobalCrossSell --]

[-- STORE.GlobalCrossSellHeader --]

[-- VAR.DividerCount 0 --][-- LOOP GLOBAL_CROSS_SELL --]
[-- VAR.DividerCount INC --][-- GLOBAL_CROSS_SELL --]
[-- IF VAR.DividerCount 4 --][-- VAR.DividerCount 0 --]
[-- END_IF --][-- END_LOOP GLOBAL_CROSS_SELL --]
[-- END_IF --]

 

On Category Pages

Paste the code below where you want the cross-sell items to appear on your category pages.
Within the [-- DEFINE Page --] and [-- END_DEFINE Page --] tags.

[-- IF PRODUCT.MoreInformationGlobalCrossSell --]

[-- STORE.GlobalCrossSellHeader --]

[-- VAR.DividerCount 0 --][-- LOOP GLOBAL_CROSS_SELL --]
[-- VAR.DividerCount INC --][-- GLOBAL_CROSS_SELL --]
[-- IF VAR.DividerCount 4 --][-- VAR.DividerCount 0 --]
[-- END_IF --][-- END_LOOP GLOBAL_CROSS_SELL --]
[-- END_IF --]