From bc7cfe7f7915e41cd5e3a04c3a129ad5423a8bcf Mon Sep 17 00:00:00 2001 From: Emmanuel Nurit Date: Thu, 13 Feb 2014 16:39:29 +0100 Subject: [PATCH] [Front office] Modifying upsell products Adding limit 3 + random order on loop accessory --- templates/frontOffice/default/includes/addedToCart.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/frontOffice/default/includes/addedToCart.html b/templates/frontOffice/default/includes/addedToCart.html index e880dbeb5..ed49cab91 100644 --- a/templates/frontOffice/default/includes/addedToCart.html +++ b/templates/frontOffice/default/includes/addedToCart.html @@ -1,6 +1,6 @@ {loop type="product" name="add_product_to_cart" id=$smarty.get.product_id}
- +
{loop name="product_thumbnail" type="image" product=$ID width="218" height="146" resize_mode="borders" limit="1"} @@ -38,9 +38,9 @@
    - {loop type="accessory" name="accessories" product="$ID" order="min_price"} - {include file="includes/single-product.html" product_id=$ACCESSORY_ID hasBtn=false hasDescription=false width="218" height="146"} - {/loop} + {loop type="accessory" name="accessories" product="$ID" order="random" limit="3"} + {include file="includes/single-product.html" product_id=$ACCESSORY_ID hasBtn=false hasDescription=false width="218" height="146"} + {/loop}