1
This commit is contained in:
parent
cc315129b9
commit
7c29e2d8d7
@ -125,10 +125,12 @@ class PricingService:
|
|||||||
return row
|
return row
|
||||||
|
|
||||||
# Apply pricing rules
|
# Apply pricing rules
|
||||||
if tcg_low < 0.28 and tcg_market_price < 1:
|
if tcg_market_price < 1 and tcg_market_price > 0.25:
|
||||||
new_price = 0.28
|
new_price = tcg_market_price
|
||||||
|
elif tcg_market_price < 0.25:
|
||||||
|
new_price = 0.25
|
||||||
elif tcg_low < 5 or tcg_low_shipping < 5:
|
elif tcg_low < 5 or tcg_low_shipping < 5:
|
||||||
new_price = round(tcg_low_shipping * .90, 2)
|
new_price = round(tcg_low_shipping * 1.05, 2)
|
||||||
elif tcg_low_shipping > 20:
|
elif tcg_low_shipping > 20:
|
||||||
new_price = round(tcg_low_shipping * 1.0125, 2)
|
new_price = round(tcg_low_shipping * 1.0125, 2)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user