Use sku instead to see if it is a framed prints inquiry product (#40)
This commit is contained in:
+3
-2
@@ -470,7 +470,7 @@ def inquiry_price(
|
||||
rounded=False,
|
||||
inc_vat=False,
|
||||
)
|
||||
elif inquiry.product_group == "poster":
|
||||
elif inquiry.product_group == "poster" and not sku:
|
||||
price = poster_price(
|
||||
width,
|
||||
height,
|
||||
@@ -482,7 +482,8 @@ def inquiry_price(
|
||||
rounded=False,
|
||||
inc_vat=False,
|
||||
)
|
||||
elif inquiry.product_group == "framed-print":
|
||||
# Framed prints product group for inquires will be poster until addToCart but always has sku
|
||||
elif sku:
|
||||
price = framed_print_price(
|
||||
sku=sku,
|
||||
market=inquiry.market,
|
||||
|
||||
Reference in New Issue
Block a user