Merge branch 'fix-fatal-mobile' into develop
This commit is contained in:
commit
2c3293199c
@ -297,34 +297,34 @@
|
||||
{if $product.product_quantity > $product.customizationQuantityTotal}
|
||||
<tr class="item">
|
||||
|
||||
<td class="cart_product">
|
||||
{*<td class="cart_product">
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">
|
||||
<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'large')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" {if isset($smallSize)}width="{$smallSize.width}" height="{$smallSize.height}" {/if} />
|
||||
</a>
|
||||
</td>
|
||||
</td>*}
|
||||
<td class="cart_description">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr class="title">
|
||||
<td>
|
||||
<h5>
|
||||
<a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
|
||||
{*<a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">*}
|
||||
{$product.product_name|escape:'htmlall':'UTF-9'}
|
||||
</a>
|
||||
{*</a>*}
|
||||
</h5>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="attribute">
|
||||
<td>
|
||||
{if isset($product.attributes) && $product.attributes}
|
||||
<a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'}</a>
|
||||
<a href="{$link->getProductLink($product.product_id, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'}</a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="price">
|
||||
<td>
|
||||
<div class="cart_unit">
|
||||
<span class="price" id="product_price_{$product.id_product}_{$product.id_product_attribute}">
|
||||
<span class="price" id="product_price_{$product.product_id}_{$product.product_attribute_id}">
|
||||
{if $group_use_tax}
|
||||
{convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
|
||||
{else}
|
||||
@ -340,11 +340,11 @@
|
||||
<label>{l s='Quantity'}</label>
|
||||
<div class="cart_quantity"{if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0} style="text-align: center;"{/if}>
|
||||
{if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0}
|
||||
<span id="cart_quantity_custom_{$product.id_product}_{$product.id_product_attribute}" >{$product.customizationQuantityTotal}</span>
|
||||
<span id="cart_quantity_custom_{$product.product_id}_{$product.product_attribute_id}" >{$product.customizationQuantityTotal}</span>
|
||||
{/if}
|
||||
{if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0}
|
||||
<input type="hidden" value="{if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if}" name="quantity_{$product.id_product}_{$product.id_product_attribute}_hidden" />
|
||||
<input size="2" maxlength="3" type="text" class="cart_quantity_input" value="{$productQuantity|intval}" name="quantity_{$product.id_product}_{$product.id_product_attribute}" />
|
||||
<input type="hidden" value="{if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if}" name="quantity_{$product.product_id}_{$product.product_attribute_id}_hidden" />
|
||||
<input size="2" maxlength="3" type="text" class="cart_quantity_input" value="{$productQuantity|intval}" name="quantity_{$product.product_id}_{$product.product_attribute_id}" />
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user