Suite à MAJ 2.3.4, il manquait des choses dans des templates
This commit is contained in:
@@ -58,32 +58,46 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
{loop type="cart" name="cartloop"}
|
||||
<tr>
|
||||
<tr id="cart_item_id_{$ITEM_ID}">
|
||||
<td class="image">
|
||||
{ifloop rel='product-image'}
|
||||
<a href="{$PRODUCT_URL nofilter}" class="thumbnail">
|
||||
{assign "cart_count" $LOOP_COUNT}
|
||||
{loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"}
|
||||
<img src="{$IMAGE_URL nofilter}" alt="Product #{$cart_count}">
|
||||
{assign var="product_image_url" value=null}
|
||||
{ifloop rel="pse-first-image"}
|
||||
{loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id=$PRODUCT_SALE_ELEMENTS_ID limit="1"}
|
||||
{loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"}
|
||||
{assign var="product_image_url" value=$IMAGE_URL}
|
||||
{/loop}
|
||||
{/loop}
|
||||
</a>
|
||||
{/ifloop}
|
||||
{elseloop rel="pse-first-image"}
|
||||
{loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"}
|
||||
{assign var="product_image_url" value=$IMAGE_URL}
|
||||
{/loop}
|
||||
{/elseloop}
|
||||
{if $product_image_url}
|
||||
<img itemprop="image" src="{$product_image_url nofilter}" alt="Product #{$LOOP_COUNT}">
|
||||
{else}
|
||||
<img itemprop="image" src="{image file='assets/dist/img/product/1/118x85.png'}" alt="Product #{$LOOP_COUNT}">
|
||||
{/if}
|
||||
</a>
|
||||
</td>
|
||||
<td class="product" >
|
||||
<h3 class="name"><a href="{$PRODUCT_URL nofilter}">{$TITLE}</a></h3>
|
||||
<div class="product-options">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>{intl l="Available"} :</dt>
|
||||
<dt class="stockView">{intl l="Available"} :</dt>
|
||||
{if $STOCK > 0}
|
||||
<dd>{intl l="In Stock"}</dd>
|
||||
{else}
|
||||
{$errorStock="TRUE"}
|
||||
<dd>{intl l="Out of Stock"}</dd>
|
||||
{/if}
|
||||
<dt>{intl l="No."}</dt>
|
||||
<dd>{$REF}</dd>
|
||||
{loop type="product_sale_elements" name="ref" id=$PRODUCT_SALE_ELEMENTS_ID}
|
||||
<dt class="refView">{intl l="No."}</dt>
|
||||
<dd>{$REF}</dd>
|
||||
{/loop}
|
||||
{loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID" order="manual"}
|
||||
<dt>{$ATTRIBUTE_TITLE}</dt>
|
||||
<dt class="attributeView">{$ATTRIBUTE_TITLE}</dt>
|
||||
<dd>{$ATTRIBUTE_AVAILABILITY_TITLE}</dd>
|
||||
{/loop}
|
||||
</dl>
|
||||
@@ -249,7 +263,7 @@
|
||||
<div class="products-content">
|
||||
<ul class="products-grid list-unstyled row">
|
||||
{loop name="product_upsell" type="product" promo="yes" limit="5"}
|
||||
{include file="includes/single-product.html" colClass="col-md-2" product_id=$ID hasBtn=false hasDescription=true width="720" height="482"}
|
||||
{include file="includes/single-product.html" colClass="col-md-2" product_id=$ID hasBtn=false hasDescription=true width="218" height="146"}
|
||||
{/loop}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user