From 7c29e2d8d797dcf1628e68e6e2699d44d8d79f30 Mon Sep 17 00:00:00 2001 From: zman Date: Fri, 14 Feb 2025 23:01:22 -0500 Subject: [PATCH] 1 --- app/services/pricing.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/services/pricing.py b/app/services/pricing.py index f52dfea..87c8f80 100644 --- a/app/services/pricing.py +++ b/app/services/pricing.py @@ -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: