// Shipping line must not be hidded when shipping are offered
This commit is contained in:
1 parent
d06a042ae1
commit
86cb37c835
1 file changed
+1
-4
@@ -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