// Temp fix for cart rule and multi-shipping - not fully functionnal yet but still better than before

This commit is contained in:
dMetzger
2012-03-01 09:45:39 +00:00
parent 4a955da426
commit 46d18352b2
3 changed files with 188 additions and 115 deletions
+1 -1
View File
@@ -366,7 +366,7 @@ var ajaxCart = {
//refresh display of vouchers (needed for vouchers in % of the total)
refreshVouchers : function (jsonData) {
if (jsonData.discounts.length == 0)
if (jsonData.discounts = undefined || jsonData.discounts.length == 0)
$('#vouchers').remove();
else
{