P5-3918 lower price for large canvases and posters on US and GLOBAL

This commit is contained in:
Martin
2019-05-21 09:40:53 +02:00
parent e9f0f465ba
commit e7d25ac41e
2 changed files with 23 additions and 14 deletions
+3 -3
View File
@@ -83,12 +83,12 @@ def canvas_cm2_price(cm2):
def package_price(product_group, width, height, market):
if market.territory in ['US', 'EU']:
if product_group == 'canvas' and max(width, height) > 119:
return 800
return 100
elif product_group == 'poster':
if width > 110:
return 1100
else:
return 400
else:
return 250
return 0