From ec0dddd62da1a591b39a7d860b8c91a82d524e34 Mon Sep 17 00:00:00 2001 From: Emmanuel Nurit Date: Thu, 13 Feb 2014 16:07:42 +0100 Subject: [PATCH] [Front office] Modifying upsell products Display off upsell products is now based on accessory loop but not promo products --- .../default/includes/single-product.html | 28 ++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/templates/frontOffice/default/includes/single-product.html b/templates/frontOffice/default/includes/single-product.html index ff1edc590..600a6962f 100644 --- a/templates/frontOffice/default/includes/single-product.html +++ b/templates/frontOffice/default/includes/single-product.html @@ -1,22 +1,24 @@
  • {assign var="hasSubmit" value = false} {assign var="productTitle" value="{$TITLE}"} - + {if not $product_id} + {assign var="$product_id" value=$ID} + {/if}
    - {loop name="brand.feature" type="feature" product=$ID title="brand"} - {loop name="brand.value" type="feature_value" feature=$ID product=$product_id} + {loop name="brand.feature" type="feature" product=$product_id title="brand"} + {loop name="brand.value" type="feature_value" feature=$product_id product=$product_id} {/loop} {/loop} - {loop name="brand.feature" type="feature" product=$ID title="isbn"} + {loop name="brand.feature" type="feature" product=$product_id title="isbn"} {loop name="brand.value" type="feature_value" feature=$ID product=$product_id} {/loop} {/loop}