I currently have product cross sell assigned to several products but not all products. They are not global cross sell items.
An example can be found at: http://www.fallwreaths.com/appleorchard.html
At the bottom of the page are 3 assigned items (wreath hangers) for cross sell.
If the More Info Item is added the cart, the cross sell items do not appear as cross sell items in the cart also.
The cross sell items are various wreath hangers which can be sold with smaller wreaths but we do not want to offer them with larger wreaths as they cannot support their weight. We cannot offer them globally. We only want them to appear as cross sell items in the cart with specific wreaths.
The cart template contains cross sell information (I will paste it below), but the cross sell items do not appear when an associated item is added to the cart.
Is it possible to have them available in the cart ONLY when associated items are added to the cart?
Thank you.
THE FOLLOWING IS AT THE BOTTOM OF THE SHOPPING CART TEMPLATE:
[-- DEFINE GLOBAL_CROSS_SELL --]
[-- IF PRODUCT.Graphic --]
[-- IF CROSS_SELL_LINK --]
<a href="[-- CROSS_SELL_LINK --]"><img class="gcs_img" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]"></a>
[-- ELSE --]
<img class="gcs_img" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]">
[-- END_IF --]
[-- END_IF --]
# Name
[-- IF PRODUCT.DisplayName --]
[-- IF CROSS_SELL_LINK --]
<a class="gcs_name" href="[-- CROSS_SELL_LINK --]">[-- PRODUCT.Name --]</a>
[-- ELSE --]
<span class="gcs_name">[-- PRODUCT.Name --]</span>
[-- END_IF --]
[-- END_IF --]
# Price
[-- IF PRODUCT.DisplayPrice --]
[-- IF PRODUCT.SaleOn --]
<span class="gcs_price"><strike>[-- IF PRODUCT.AltPrice --][-- PRODUCT.AltPrice --] [-- END_IF --][-- PRODUCT.Price --]</strike> [-- IF PRODUCT.AltSaleAmount --][-- PRODUCT.AltSaleAmount --] [-- END_IF --][-- PRODUCT.SaleAmount --]</span>
[-- ELSE --]
<span class="gcs_price">[-- IF PRODUCT.AltPrice --][-- PRODUCT.AltPrice --][-- END_IF --] [-- PRODUCT.Price --]</span>
[-- END_IF --]
[-- END_IF --]
# Add To Cart
[-- IF AddImage? --]
<a class="gcs_add" href="[-- PRODUCT.AddToCartURL --]"><img alt="Add to Cart" [-- AddImage --] border="0"></a>
[-- ELSE --]
<a class="gcs_add" href="[-- PRODUCT.AddToCartURL --]">[-- AddText --]</a>
[-- END_IF --]
[-- END_DEFINE GLOBAL_CROSS_SELL --]
####################################
[-- DEFINE CART_CROSS_SELL --]
[-- IF PRODUCT.Graphic --]
[-- IF CROSS_SELL_LINK --]
<a href="[-- CROSS_SELL_LINK --]"><img class="pcs_img" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]"></a>
[-- ELSE --]
<img class="pcs_img" [-- PRODUCT.Graphic REMOVE_HTML --] alt="[-- PRODUCT.Name REMOVE_HTML --]">
[-- END_IF --]
[-- END_IF --]
# Name
[-- IF PRODUCT.DisplayName --]
[-- IF CROSS_SELL_LINK --]
<a class="pcs_name" href="[-- CROSS_SELL_LINK --]">[-- PRODUCT.Name --]</a>
[-- ELSE --]
<span class="pcs_name">[-- PRODUCT.Name --]</span>
[-- END_IF --]
[-- END_IF --]
# Price
[-- IF PRODUCT.DisplayPrice --]
[-- IF PRODUCT.SaleOn --]
<span class="pcs_price"><strike>[-- IF PRODUCT.AltPrice --][-- PRODUCT.AltPrice --] [-- END_IF --][-- PRODUCT.Price --]</strike> [-- IF PRODUCT.AltSaleAmount --][-- PRODUCT.AltSaleAmount --] [-- END_IF --][-- PRODUCT.SaleAmount --]</span>
[-- ELSE --]
<span class="pcs_price">[-- IF PRODUCT.AltPrice --][-- PRODUCT.AltPrice --][-- END_IF --] [-- PRODUCT.Price --]</span>
[-- END_IF --]
[-- END_IF --]
# Add To Cart
[-- IF AddImage? --]
<a class="pcs_add" href="[-- PRODUCT.AddToCartURL --]"><img alt="Add to Cart" [-- AddImage --] border="0"></a>
[-- ELSE --]
<a class="pcs_add" href="[-- PRODUCT.AddToCartURL --]">[-- AddText --]</a>
[-- END_IF --]
[-- END_DEFINE CART_CROSS_SELL --]