// BugFix : summary-cart

This commit is contained in:
mDeflotte
2011-12-16 09:42:23 +00:00
parent c3d33a8f41
commit 2d183b8eaa
4 changed files with 13 additions and 15 deletions
+5 -4
View File
@@ -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
************************************************************************************************ */
+3 -6
View File
@@ -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&amp;id_product={$product.id_product|intval}&amp;ipa={$product.id_product_attribute|intval}&amp;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&amp;id_product={$product.id_product|intval}&amp;ipa={$product.id_product_attribute|intval}&amp;id_address_delivery={$product.id_address_delivery|intval}&amp;token={$token_cart}")}">{l s='Delete'}</a>
</div>
{/if}
</td>
+4 -4
View File
@@ -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>