fix(admin-ui): Price list domain fixes (#5339)

**Fixes**
- Fixes an issue where click the Delete button on a table item in the Price List overview would also navigate to the Price Lists page
- Fixes an issue where Region prices were not showing which region they belong to in the Bulk Editor
- Fixes an issue where the wrong widgets were being injected into the Price List domain

**Improvements**
- Align label for Expiry date field
- Add form validation to require setting the prices of at least one product variant when creating or adding prices to a Price List.
- Show a prompt warning if prices have not been set for all selected products in the create and add product flows.
This commit is contained in:
Kasper Fabricius Kristensen authored and GitHub committed 2023-10-12 08:34:46 +00:00
1 parent a91fca69ac
commit e04927a3cb
12 files changed
+140 -21

No files matched your search

@@ -1423,6 +1423,9 @@
"price-list-new-form-prompt-title": "Are you sure?",
"price-list-new-form-prompt-exit-description": "You have unsaved changes, are you sure you want to exit?",
"price-list-new-form-prompt-back-description": "You have unsaved changes, are you sure you want to go back?",
"price-list-add-products-modal-no-prices-error": "Please assign prices for at least one product.",
"price-list-add-products-modal-missing-prices-title": "Incomplete price list",
"price-list-add-products-modal-missing-prices-description": "Prices have not been assigned to all of your chosen products. Would you like to continue?",
"price-list-add-products-modal-success-title": "New prices added",
"price-list-add-products-modal-success-message": "The new prices have been added to the price list.",
"price-list-add-products-modal-error-title": "An error occurred",
@@ -1488,7 +1491,7 @@
"price-list-details-form-dates-starts-at-label": "Start date",
"price-list-details-form-ends-at-heading": "Price list has an expiry date?",
"price-list-details-form-ends-at-description": "Schedule the price overrides to deactivate in the future.",
"price-list-details-form-ends-at-label": "End date",
"price-list-details-form-ends-at-label": "Expiry date",
"price-list-details-form-customer-groups-name": "Name",
"price-list-details-form-customer-groups-members": "Members",
"price-list-details-form-customer-groups-error": "An error occurred while loading customer groups. Reload the page and try again. If the issue persists, try again later.",
@@ -1514,7 +1517,7 @@
"price-list-product-prices-form-column-visibility-regions-label": "Regions",
"price-list-product-prices-form-column-product-label": "Product",
"price-list-product-prices-form-column-currencies-price-label": "Price {{code}}",
"price-list-product-prices-form-column-regions-price-label": "Price {{code}}",
"price-list-product-prices-form-column-regions-price-label": "Price {{name}} ({{code}})",
"price-list-products-form-select-all": "Select all products on the current page",
"price-list-products-form-select-row": "Select row",
"price-list-products-form-product-label": "Product",
@@ -1530,6 +1533,9 @@
"price-list-products-form-no-products": "No products found.",
"price-list-products-form-heading": "Choose products",
"price-list-products-form-search-placeholder": "Search",
"price-list-new-form-no-prices-error": "Please set prices for at least one product.",
"price-list-new-form-missing-prices-title": "Incomplete price list",
"price-list-new-products-modal-missing-prices-description": "Prices have not been assigned to all of your chosen products. Would you like to proceed?",
"price-list-new-form-notification-success-title": "Price list created",
"price-list-new-form-notification-success-message": "Successfully created price list",
"price-list-new-form-notification-error-title": "An error occurred",