// Temp fix for cart rule and multi-shipping - not fully functionnal yet but still better than before
This commit is contained in:
1 parent
4a955da426
commit
46d18352b2
3 files changed
+188
-115
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user