BundleProduct
Source:
apps/jti-next/src/components/BundleProduct/
Server component (RSC) for bundle PDPs (e.g. a starter kit containing a device + accessories). Follows the same pattern as ConfigurableProduct but fetches from the bundle-specific Magento query and passes productIsBundle: true to Builder.io.
Props
Same ProductTemplateProps as ConfigurableProduct, plus:
| Prop | Type | Description |
|---|---|---|
slug |
string |
Magento url_key of the product |
locale |
string |
Active locale |
categoryUrlKey |
string |
Parent category URL key (for breadcrumbs) |
activeVariantSku |
string? |
Pre-selected variant SKU (from URL params) |
sticksMatrixData |
SticksMatrixData? |
Sticks matrix data if applicable |
consumablesMatrixData |
ConsumablesMatrixData? |
Consumables matrix data if applicable |
isTrial |
boolean? |
When true, fetches product data from the trial Magento store view |
Config keys consumed
Same as ConfigurableProduct: sortByProductAttribute, productSpecification.
Builder.io "product" model data bindings
Same bindings as ConfigurableProduct with these differences:
| Key | Value / Difference |
|---|---|
productIsBundle |
true |
productIsTrial |
Set from isTrial prop |
productBundlesConfig |
Bundle option groups (derived from getBundleConfig) |
productCategories |
Product category list (derived from getProductCategories) |
productCurrentVariantSku |
The resolved active SKU |
productConfigurableOptions |
[] (not applicable to bundles) |