This commit is contained in:
parent
a97ba6e858
commit
8155ba2f8d
@ -184,11 +184,11 @@ class PricingService:
|
||||
# Adjust markups if quantity is high
|
||||
if quantity > 3:
|
||||
adjusted_bands = {}
|
||||
increment = Decimal('0.10')
|
||||
increment = Decimal('0.20')
|
||||
for markup, price_range in zip(markup_bands.keys(), markup_bands.values()):
|
||||
new_markup = Decimal(str(markup)) + increment
|
||||
adjusted_bands[new_markup] = price_range
|
||||
increment -= Decimal('0.01')
|
||||
increment -= Decimal('0.02')
|
||||
markup_bands = adjusted_bands
|
||||
|
||||
#if FREE_SHIPPING:
|
||||
|
Loading…
x
Reference in New Issue
Block a user