diff --git a/themes/default/css/global.css b/themes/default/css/global.css index 023bb11be..5aaa5749c 100644 --- a/themes/default/css/global.css +++ b/themes/default/css/global.css @@ -664,12 +664,14 @@ table#cart_summary td.cart_discount_price {border-bottom:1px solid #999} table#cart_summary tr:nth-child(odd), table#cart_summary tr.cart_total_delivery, table#cart_summary tr.cart_total_price { - background-color: #fff + background-color: #fff } table#cart_summary tr:nth-child(even) { - background-color: #f3f3f3 + background-color: #f3f3f3 +} +table#cart_summary tr ul { + list-style: none; } - table#cart_summary .cart_product { width:80px; text-align:center diff --git a/themes/default/shopping-cart.tpl b/themes/default/shopping-cart.tpl index 504785154..2abdb7c12 100644 --- a/themes/default/shopping-cart.tpl +++ b/themes/default/shopping-cart.tpl @@ -228,7 +228,7 @@ {if isset($customizedDatas.$productId.$productAttributeId)} {foreach $customizedDatas.$productId.$productAttributeId[$product.id_address_delivery] as $id_customization=>$customization} - + {foreach $customization.datas as $type=>$custom_data} {if $type == $CUSTOMIZE_FILE} @@ -255,13 +255,10 @@ {/foreach} - + {if isset($cannotModify) AND $cannotModify == 1} {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if} {else} -
- {l s='Delete'} -
{l s='Add'}
{if $product.minimal_quantity < ($customization.quantity -$quantityDisplayed) OR $product.minimal_quantity <= 1} @@ -278,7 +275,14 @@ {/if} - + + {if isset($cannotModify) AND $cannotModify == 1} + {else} +
+ {l s='Delete'} +
+ {/if} + {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.quantity} {/foreach}