feat: add bundle feature with 2x/3x set options
Some checks failed
Build and Deploy / build (push) Has been cancelled
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user