Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Variants don't have price now

Patryk Zawadzkie405d8fca6ad
diff --git a/saleor/cart/tests.py b/saleor/cart/tests.py
index ceeb696aac..4c190ae3d1 100755
--- a/saleor/cart/tests.py
+++ b/saleor/cart/tests.py
@@ -23,10 +23,7 @@ class BigShip(ProductVariant, StockedProduct, PhysicalProduct):
return 'bigship'
-class ShipPhoto(ProductVariant):
-
- def get_price_per_item(self, discounted=True, **kwargs):
- return self.price
+class ShipPhoto(ProductVariant, PhysicalProduct):
def get_slug(self):
return 'bigship-photo'