fix: bundle UI improvements - remove QTY selector, filter bundles from similar products
Some checks failed
Build and Deploy / build (push) Has been cancelled

This commit is contained in:
Unchained
2026-03-24 18:50:39 +02:00
parent 9a61564e3c
commit 8f780c3585
3 changed files with 9 additions and 27 deletions

View File

@@ -27,7 +27,11 @@ export default async function ProductsPage({ params }: ProductsPageProps) {
setRequestLocale(validLocale);
const t = await getTranslations("Products");
const saleorLocale = getSaleorLocale(validLocale as Locale);
const products = await getProducts(saleorLocale);
const allProducts = await getProducts(saleorLocale);
const products = allProducts.filter((product) => {
return !product.name.includes("2x Set") && !product.name.includes("3x Set");
});
return (
<>