summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_custom/models/voucher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_custom/models/voucher.py b/indoteknik_custom/models/voucher.py
index f7305999..37c97338 100644
--- a/indoteknik_custom/models/voucher.py
+++ b/indoteknik_custom/models/voucher.py
@@ -146,7 +146,7 @@ class Voucher(models.Model):
def calc_discount_amount(self, total):
result = { 'all': 0, 'brand': {} }
- if self.apply_type == 'all':
+ if self.apply_type in ['all', 'shipping']:
if total['all'] < self.min_purchase_amount:
return result