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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13771 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-03-01 09:45:39 +00:00
parent a87dbfc405
commit d5c2094706
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
{