Suite à MAJ 2.3.4, il manquait des choses dans des templates
This commit is contained in:
@@ -11,16 +11,16 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-md-4">p={$ID}
|
||||
<td class="col-md-4">
|
||||
{ifloop rel="pse-first-image"}
|
||||
{loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id={$smarty.get.pse_id} limit="1"}
|
||||
{loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID source="product" limit="1" width="720" height="482" resize_mode="borders"}
|
||||
{loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$ID limit="1" width="218" height="146" resize_mode="borders"}
|
||||
<img itemprop="image" src="{$IMAGE_URL nofilter}" alt="Product #{$LOOP_COUNT}">
|
||||
{/loop}
|
||||
{/loop}
|
||||
{/ifloop}
|
||||
{elseloop rel="pse-first-image"}
|
||||
{loop type="image" name="product-image" product=$ID limit="1" width="720" height="482" resize_mode="borders"}
|
||||
{loop type="image" name="product-image" product=$ID limit="1" width="218" height="146" resize_mode="borders"}
|
||||
<img itemprop="image" src="{$IMAGE_URL nofilter}" alt="Product #{$LOOP_COUNT}">
|
||||
{/loop}
|
||||
{/elseloop}
|
||||
@@ -33,19 +33,13 @@
|
||||
</td>
|
||||
<td class="col-md-4">
|
||||
{loop type="product_sale_elements" name="product_price" id={$smarty.get.pse_id}}
|
||||
{$price = $TAXED_PRICE}
|
||||
{$promoPrice = $TAXED_PROMO_PRICE}
|
||||
|
||||
{loop type="digressive" name="digressivePrice" pse_id={$smarty.get.pse_id} quantity={$smarty.get.quantity} limit=1}
|
||||
{$price = $TAXED_PRICE}
|
||||
{$promoPrice = $TAXED_PROMO_PRICE}
|
||||
{/loop}
|
||||
|
||||
{if $IS_PROMO == 1}
|
||||
<div class="special-price">{$smarty.get.quantity} x <span class="price">{format_money number=$promoPrice}</span></div>
|
||||
<small class="old-price"> <span class="price">{format_money number=$price}</span></small>
|
||||
{assign "real_price" $TAXED_PROMO_PRICE}
|
||||
<div class="special-price"><span class="price">{format_money number=$TAXED_PROMO_PRICE}</span></div>
|
||||
<small class="old-price"> <span class="price">{format_money number=$TAXED_PRICE}</span></small>
|
||||
{else}
|
||||
<div class="special-price">{$smarty.get.quantity} x <span class="price">{format_money number=$price}</span></div>
|
||||
{assign "real_price" $TAXED_PRICE}
|
||||
<div class="special-price"><span class="price">{format_money number=$TAXED_PRICE}</span></div>
|
||||
{/if}
|
||||
{/loop}
|
||||
</td>
|
||||
@@ -62,7 +56,7 @@
|
||||
<div class="products-content">
|
||||
<ul class="list-unstyled row products-grid">
|
||||
{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="720" height="482"}
|
||||
{include file="includes/single-product.html" product_id=$ACCESSORY_ID hasBtn=false hasDescription=false width="218" height="146"}
|
||||
{/loop}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user