Skip to content

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

Extend description in price field on product

Damian W87ae15350f34
diff --git a/saleor/graphql/product/types/products.py b/saleor/graphql/product/types/products.py
index 3f26312c74..77a5d31666 100644
--- a/saleor/graphql/product/types/products.py
+++ b/saleor/graphql/product/types/products.py
@@ -192,7 +192,14 @@ class ProductVariant(CountableDjangoObjectType):
"This field will be removed after 2020-07-31."
),
)
- price = graphene.Field(Money, description=("Base price of a product variant."),)
+ price = graphene.Field(
+ Money,
+ description=(
+ "Base price of a product variant. "
+ "This field is restricted for admins. "
+ "Use the pricing field to get the public price for customers."
+ ),
+ )
pricing = graphene.Field(
VariantPricingInfo,