Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

fix(admin): match collection products empty state to design (#1189)

Viktor Holik2bab01183961
diff --git a/packages/admin/src/i18n/translations/en.json b/packages/admin/src/i18n/translations/en.json
index b659b8cbf..b9732d210 100644
--- a/packages/admin/src/i18n/translations/en.json
+++ b/packages/admin/src/i18n/translations/en.json
@@ -893,6 +893,7 @@
"removeProductsWarning_other": "You are about to remove {{count}} products from the collection. This action cannot be undone.",
"products": {
"list": {
+ "noRecordsTitle": "No products yet",
"noRecordsMessage": "There are no products in the collection."
},
"add": {
diff --git a/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx b/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx
index 29a899a19..2fbf071fe 100644
--- a/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx
+++ b/packages/admin/src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx
@@ -140,6 +140,8 @@ export const CollectionProductSection = ({
},
]}
noRecords={{
+ icon: null,
+ title: t("collections.products.list.noRecordsTitle"),
message: t("collections.products.list.noRecordsMessage"),
}}
/>