Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix getting price field for product
Marcin Gębala5ba9cc7076d9
diff --git a/saleor/graphql/api.py b/saleor/graphql/api.pyindex dc487e6d2f..be2ac84956 100644--- a/saleor/graphql/api.py+++ b/saleor/graphql/api.py@@ -41,6 +41,7 @@ class ProductType(DjangoObjectType):images = graphene.List(lambda: ProductImageType)variants = graphene.List(lambda: ProductVariantType)availability = graphene.Field(lambda: ProductAvailabilityType)+ price = graphene.Field(lambda: PriceType)class Meta:model = Product