fix: bundle UI improvements - remove QTY selector, filter bundles from similar products
Some checks failed
Build and Deploy / build (push) Has been cancelled
Some checks failed
Build and Deploy / build (push) Has been cancelled
This commit is contained in:
@@ -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 (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user