error cause of id_product for product_id

This commit is contained in:
Marion Muszynski 2016-11-25 18:50:38 +01:00
parent ddad6db847
commit cfdab3cc09

View File

@ -308,23 +308,23 @@
<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>