From f8ea5ec95e443a6c18dfc7cadc687107505f7db8 Mon Sep 17 00:00:00 2001 From: Jonatan Witoszek Date: Wed, 25 May 2022 10:52:55 +0200 Subject: [PATCH] Update text for variant price in some products (#2061) * Update text for variant price in product that don't have channel assigned * Update snapshots --- .../components/ProductVariantPrice/ProductVariantPrice.tsx | 3 ++- src/storybook/__snapshots__/Stories.test.ts.snap | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/products/components/ProductVariantPrice/ProductVariantPrice.tsx b/src/products/components/ProductVariantPrice/ProductVariantPrice.tsx index fe5651782..3952f34db 100644 --- a/src/products/components/ProductVariantPrice/ProductVariantPrice.tsx +++ b/src/products/components/ProductVariantPrice/ProductVariantPrice.tsx @@ -98,7 +98,8 @@ const ProductVariantPrice: React.FC = props => { {intl.formatMessage( disabledMessage || { id: "e48Igh", - defaultMessage: "There is no channel to define prices for", + defaultMessage: + "Assign this variant to a channel in the product channel manager to define prices", description: "variant pricing section subtitle" } )} diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index db892f4c2..953ae56de 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -229918,7 +229918,7 @@ exports[`Storyshots Views / Products / Product variant details when loading data
- There is no channel to define prices for + Assign this variant to a channel in the product channel manager to define prices