[Front office] Modifying upsell products

Adding limit 3 + random order on loop accessory
This commit is contained in:
Emmanuel Nurit
2014-02-13 16:39:29 +01:00
parent ec0dddd62d
commit bc7cfe7f79

View File

@@ -38,7 +38,7 @@
</div> </div>
<div class="products-content"> <div class="products-content">
<ul class="products-grid product-col-3 hover-effect"> <ul class="products-grid product-col-3 hover-effect">
{loop type="accessory" name="accessories" product="$ID" order="min_price"} {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"} {include file="includes/single-product.html" product_id=$ACCESSORY_ID hasBtn=false hasDescription=false width="218" height="146"}
{/loop} {/loop}
</ul> </ul>