// Shipping line must not be hidded when shipping are offered
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16274 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -673,11 +673,8 @@ function updateCartSummary(json)
|
|||||||
$('#total_price_without_tax').html(formatCurrency(json.total_price_without_tax, currencyFormat, currencySign, currencyBlank));
|
$('#total_price_without_tax').html(formatCurrency(json.total_price_without_tax, currencyFormat, currencySign, currencyBlank));
|
||||||
$('#total_tax').html(formatCurrency(json.total_tax, currencyFormat, currencySign, currencyBlank));
|
$('#total_tax').html(formatCurrency(json.total_tax, currencyFormat, currencySign, currencyBlank));
|
||||||
|
|
||||||
if (json.total_shipping <= 0)
|
if (json.total_shipping > 0)
|
||||||
$('.cart_total_delivery').fadeOut();
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
$('.cart_total_delivery').fadeIn();
|
|
||||||
if (priceDisplayMethod != 0)
|
if (priceDisplayMethod != 0)
|
||||||
{
|
{
|
||||||
$('#total_shipping').html(formatCurrency(json.total_shipping_tax_exc, currencyFormat, currencySign, currencyBlank));
|
$('#total_shipping').html(formatCurrency(json.total_shipping_tax_exc, currencyFormat, currencySign, currencyBlank));
|
||||||
|
|||||||
Reference in New Issue
Block a user