This commit is contained in:
zman 2025-02-14 23:01:22 -05:00
parent cc315129b9
commit 7c29e2d8d7

View File

@ -125,10 +125,12 @@ class PricingService:
return row
# Apply pricing rules
if tcg_low < 0.28 and tcg_market_price < 1:
new_price = 0.28
if tcg_market_price < 1 and tcg_market_price > 0.25:
new_price = tcg_market_price
elif tcg_market_price < 0.25:
new_price = 0.25
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:
new_price = round(tcg_low_shipping * 1.0125, 2)
else: