feat: add bundle feature with 2x/3x set options
Some checks failed
Build and Deploy / build (push) Has been cancelled

- Created BundleSelector component for selecting bundle options
- Updated ProductDetail to show bundle options
- Added bundle translations for all 4 locales
- Added GraphQL query for bundle products
- Updated TypeScript types for attributes
- Saleor backend: created bundle products for all base products
This commit is contained in:
Unchained
2026-03-24 16:00:07 +02:00
parent 28a6e58dba
commit 9a61564e3c
12 changed files with 370 additions and 34 deletions

View File

@@ -22,12 +22,14 @@ export interface ProductMedia {
}
export interface ProductAttributeValue {
id: string;
name: string;
slug: string;
}
export interface ProductAttribute {
attribute: {
id: string;
name: string;
slug: string;
};
@@ -82,6 +84,7 @@ export interface Product {
key: string;
value: string;
}[];
attributes?: ProductAttribute[];
}
export interface ProductEdge {