// BugFix : summary-cart
This commit is contained in:
@@ -717,7 +717,7 @@ a.price_discount_delete {
|
||||
text-align: right
|
||||
}
|
||||
|
||||
.cart_total_price #total_price {
|
||||
.cart_total_price #total_price_container {
|
||||
border-right:none;
|
||||
}
|
||||
|
||||
@@ -769,11 +769,11 @@ table#cart_summary .cart_total_price td.cart_voucher {
|
||||
.cart_total_price #total_price_without_tax,
|
||||
.cart_total_price #total_tax,
|
||||
.cart_total_price #total_shipping {text-align:right}
|
||||
.cart_total_price #total_price {
|
||||
.cart_total_price #total_price_container {
|
||||
padding:0;
|
||||
border-bottom:1px solid #999
|
||||
}
|
||||
.cart_total_price #total_price p {
|
||||
.cart_total_price #total_price_container p {
|
||||
display:block;
|
||||
padding:8px;
|
||||
font-weight:bold;
|
||||
@@ -781,7 +781,7 @@ table#cart_summary .cart_total_price td.cart_voucher {
|
||||
text-transform:uppercase;
|
||||
background:#333
|
||||
}
|
||||
.cart_total_price #total_price span {
|
||||
.cart_total_price #total_price_container span {
|
||||
display:block;
|
||||
padding:15px;
|
||||
font-weight:bold;
|
||||
@@ -1763,3 +1763,4 @@ div.star_hover a, div.star a:hover { background-position: 0 -12px }
|
||||
/* ************************************************************************************************
|
||||
xxxxx
|
||||
************************************************************************************************ */
|
||||
|
||||
|
||||
@@ -33,13 +33,10 @@ $(document).ready(function()
|
||||
$('.cart_quantity_down').unbind('click').live('click', function(){ downQuantity($(this).attr('id').replace('cart_quantity_down_', '')); return false; });
|
||||
$('.cart_quantity_delete' ).unbind('click').live('click', function(){ deleteProductFromSummary($(this).attr('id')); return false; });
|
||||
$('.cart_quantity_input').typeWatch({ highlight: true, wait: 600, captureLength: 0, callback: updateQty });
|
||||
|
||||
$('.cart_address_delivery').live('change', function(){ changeAddressDelivery($(this)); });
|
||||
}
|
||||
else
|
||||
{
|
||||
$('.cart_address_delivery').change(function(){ submit(); });
|
||||
}
|
||||
|
||||
$('.cart_address_delivery').live('change', function(){ changeAddressDelivery($(this)); });
|
||||
|
||||
cleanSelectAddressDelivery();
|
||||
});
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
<td class="cart_delete">
|
||||
{if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0}
|
||||
<div>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}" href="{$link->getPageLink('cart.php', true)}?delete&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&token={$token_cart}">{l s='Delete'}</a>
|
||||
<a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_0_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")}">{l s='Delete'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
@@ -205,14 +205,14 @@
|
||||
{/if}
|
||||
</td>
|
||||
{if $use_taxes}
|
||||
<td colspan="2" class="price" id="total_price">
|
||||
<td colspan="2" class="price" id="total_price_container">
|
||||
<p>{l s='Total:'}</p>
|
||||
<span>{displayPrice price=$total_price}</span>
|
||||
<span id="total_price">{displayPrice price=$total_price}</span>
|
||||
</td>
|
||||
{else}
|
||||
<td colspan="2" id="total_price" class="price">
|
||||
<td colspan="2" class="price" id="total_price_container">
|
||||
<p>{l s='Total:'}</p>
|
||||
<span>{displayPrice price=$total_price_without_tax}</span>
|
||||
<span id="total_price">{displayPrice price=$total_price_without_tax}</span>
|
||||
</td>
|
||||
{/if}
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user