// 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:
@@ -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