[-] MO : Blockcart, wrong tbody
This commit is contained in:
1 parent
ccb3179c1a
commit
b3a425c73a
1 file changed
+2
-4
@@ -107,9 +107,9 @@ var generated_date = {$smarty.now|intval};
|
|||||||
{/if}
|
{/if}
|
||||||
<p class="cart_block_no_products{if $products} hidden{/if}" id="cart_block_no_products">{l s='No products' mod='blockcart'}</p>
|
<p class="cart_block_no_products{if $products} hidden{/if}" id="cart_block_no_products">{l s='No products' mod='blockcart'}</p>
|
||||||
<table id="vouchers"{if $discounts|@count == 0} style="display:none;"{/if}>
|
<table id="vouchers"{if $discounts|@count == 0} style="display:none;"{/if}>
|
||||||
|
<tbody>
|
||||||
{foreach from=$discounts item=discount}
|
{foreach from=$discounts item=discount}
|
||||||
{if $discount.value_real > 0}
|
{if $discount.value_real > 0}
|
||||||
<tbody>
|
|
||||||
<tr class="bloc_cart_voucher" id="bloc_cart_voucher_{$discount.id_discount}">
|
<tr class="bloc_cart_voucher" id="bloc_cart_voucher_{$discount.id_discount}">
|
||||||
<td class="quantity">1x</td>
|
<td class="quantity">1x</td>
|
||||||
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}</td>
|
<td class="name" title="{$discount.description}">{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'}</td>
|
||||||
@@ -120,15 +120,13 @@ var generated_date = {$smarty.now|intval};
|
|||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
|
||||||
{/if}
|
{/if}
|
||||||
{foreachelse}{* W3C and cart rule vouchers *}
|
{foreachelse}{* W3C and cart rule vouchers *}
|
||||||
<tbody>
|
|
||||||
<tr class="bloc_cart_voucher">
|
<tr class="bloc_cart_voucher">
|
||||||
<td> </td>
|
<td> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p id="cart-prices">
|
<p id="cart-prices">
|
||||||
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
|
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
|
||||||
|
|||||||
Reference in new issue
Block a user