s
This commit is contained in:
@@ -126,15 +126,16 @@ class PricingService:
|
||||
|
||||
# Apply pricing rules
|
||||
if tcg_market_price < 1 and tcg_market_price > 0.25:
|
||||
new_price = tcg_market_price
|
||||
new_price = tcg_market_price * 1.05
|
||||
elif tcg_market_price < 0.25:
|
||||
new_price = 0.25
|
||||
elif tcg_low < 5 or tcg_low_shipping < 5:
|
||||
new_price = round(tcg_low+((abs(tcg_market_price-tcg_low))/2), 2)
|
||||
new_price = round(tcg_low+((abs(tcg_market_price-tcg_low))*.75), 2)
|
||||
elif tcg_low_shipping > 20:
|
||||
new_price = round(tcg_low_shipping * 1.0125, 2)
|
||||
else:
|
||||
new_price = round(tcg_low_shipping * 1.08, 2)
|
||||
# new_price = round(tcg_low_shipping * 1.08, 2)
|
||||
new_price = round(tcg_market_price * 1.03)
|
||||
# if new price is less than half of market price, set to 90% market
|
||||
if new_price < (tcg_market_price / 2):
|
||||
new_price = round(tcg_market_price * 0.85, 2)
|
||||
|
Reference in New Issue
Block a user