You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The four `PRODUCT_VARIANT_BACK_IN_STOCK_*` / `PRODUCT_VARIANT_OUT_OF_STOCK_*` events introduced in Saleor 3.23 fire only when the shop has the legacy shipping-zone stock-availability setting disabled. They were already exposed in the picker (auto-derived from the schema), but admins on shops still in legacy mode could subscribe with no visual cue and silently never receive deliveries. Each of those four events now shows an advisory "Direct stock mode only" badge with a tooltip linking to the site-settings page where the flag is configured. Adds a regression test pinning the four events to the `PRODUCT_VARIANT` group, and a comment in `ExcludedDocumentKeys` documenting that the dry-run feature already covers them transitively via prefix matching.
Copy file name to clipboardExpand all lines: locale/defaultMessages.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2333,6 +2333,10 @@
2333
2333
"context": "delete channel",
2334
2334
"string": "Select channel that you wish to move existing orders to."
2335
2335
},
2336
+
"BSGid2": {
2337
+
"context": "Advisory badge shown next to a webhook event in the picker when the event only fires while the shop has the direct (non-legacy) warehouse-channel stock-availability mode enabled.",
"context": "Tooltip body for the direct-stock-mode-only badge in the webhook event picker. Quotes the exact label of the toggle on the site-settings page so the admin recognizes it when they click through.",
2401
+
"string": "Fires only while \"Use legacy shipping zone stock availability\" is disabled in site settings. Otherwise the subscription produces no deliveries."
2402
+
},
2395
2403
"BtsJ+e": {
2396
2404
"context": "empty state message when no login method is available",
2397
2405
"string": "Password login is disabled. Contact your administrator to configure an external authentication method or enable password login."
@@ -10710,6 +10718,10 @@
10710
10718
"vfG+nh": {
10711
10719
"string": "Confirm Password"
10712
10720
},
10721
+
"vh9a5S": {
10722
+
"context": "Tooltip CTA on the direct-stock-mode-only badge in the webhook event picker. Links to the page where the legacy stock-availability flag can be toggled.",
"Advisory badge shown next to a webhook event in the picker when the event only fires while the shop has the direct (non-legacy) warehouse-channel stock-availability mode enabled.",
45
+
},
46
+
directStockModeTooltipBody: {
47
+
id: "BrRGIJ",
48
+
defaultMessage:
49
+
'Fires only while "Use legacy shipping zone stock availability" is disabled in site settings. Otherwise the subscription produces no deliveries.',
50
+
description:
51
+
"Tooltip body for the direct-stock-mode-only badge in the webhook event picker. Quotes the exact label of the toggle on the site-settings page so the admin recognizes it when they click through.",
52
+
},
53
+
directStockModeTooltipLink: {
54
+
id: "vh9a5S",
55
+
defaultMessage: "Open shop settings",
56
+
description:
57
+
"Tooltip CTA on the direct-stock-mode-only badge in the webhook event picker. Links to the page where the legacy stock-availability flag can be toggled.",
0 commit comments