P5-3248 - Price adjust for posters US/GLOBAL

This commit is contained in:
Anders Gustafsson
2018-12-04 14:42:37 +01:00
parent 393d117881
commit e8515be48a
+6 -1
View File
@@ -185,7 +185,12 @@ def poster_price(width, height, market, hanger=True, designer=None, reseller=Non
price *= market.price_adjustments
price += package_price(width, height, market)
# Price adjustment for high shipping costs to US and GLOBAL
if market.territory in ['US', 'EU']:
if width > 110:
price += 1100
else:
price += 400
if designer:
price *= (float(designer.pricepremium) / 100) + 1