This article contains a list of instances that you can use to customize your bundles via Template Creator. Advanced knowledge of Liquid is essential. Please be aware that we do not offer support for instances or customization.
Template Creator was built to allow you to create your own Bundle Page template from scratch. You need to have a strong understanding of Liquid to create your own bundle template implementation. Most settings found within Kitenzo will not apply to a customized template - you will need to code in any settings functionality that you require.
Due to the complexity and personalized nature of this process, we are currently unable to offer support for this functionality. We only recommend editing code if you are experienced in web development. Please seek assistance from a web development service if you require help using Liquid.
Shopexperts and StoreTasker are recommended partners of Kitenzo - both specializing in website development and offering free quotes for their services.
Bundle
Attribute | Type | Description |
| list of Section instances | Multiple for multi-section bundle, one for single section bundle |
| section instance | Currently selected section |
| boolean | True if there is some section after current one, false otherwise. Usually used to determine if the Next button should be displayed |
| boolean | True if there is some section before current one, false otherwise. Usually used to determine if the Previous button should be displayed |
| boolean | True if the bundle is currently being added to cart, false otherwise. Add to cart button should be disabled or hidden when bundle is being added to cart |
| boolean | True if bundle configuration is valid and bundle can be added to cart, false otherwise. Hide or disable the button to add to cart if this property is false |
| BundleContent instance | Current bundle configuration. Contains list of products added to the bundle, price, etc. |
| list of strings | List of configuration problems that will prevent bundle creation |
| string | External name of the bundle |
| string (html) | Bundle description |
| string (url) | Link to bundle image |
| string (url) | Link to bundle header image |
| string (url) | Link to product representing the bundle (it will redirect to the bundle configuration page) |
| string (url) | Link to the bundle configuration page (current page) |
| number | Number of products in one row |
| number | Minimal price a bundle must have to apply a discount |
| string | Type of a bundle discount - one of fixed (e.g. discounted by $20), percentage (e.g. 10 percent discount), or price (fixed bundle price) |
| number | Value of the discount |
| array of LimitRule instances | Limits for the bundle |
| boolean | True if bundle is marked as taxable, false otherwise |
| boolean | True if bundle requires shipping, false otherwise |
| string | SKU of the bundle |
| string | Vendor of the bundle |
| string | Prefix of unique bundle identification |
| boolean | Shows/hides based on if the bundle is draft/live. |
BundleContent
Object that represents current bundle configuration.
Attribute | Type | Description |
| list of BundleItem instances | List of items that are added to the bundle |
| list of BundleItem instances | List of unique that are added to the bundle. use the `quantity` property to determine how many times was the item added to bundle |
| number | Total price of the bundle after all discounts |
| number | Total price of all products in the bundle before all discounts |
| array | An array of the currently active TieredDiscount objects |
[
{
"type": "total_products",
"value": 4,
"operation": "gte",
"discount": 30,
},
{
"type": "total_products",
"value": 3,
"operation": "gte",
"discount": 20,
}
]
Section
Object that represents one section (page) of a bundle. Used even for single-section bundles.
Attribute | Type | Description |
| string | Name of the section (blank for single section bundle) |
| number | Order of the section in all bundle sections (starting with zero) |
| description | Description of the section |
| list of Product instances | List of products that are added to given section |
| list of LimitRules instances | List of limit rules specific for this section |
BundleItem
Single item that was added to the bundle.
Attribute | Type | Description |
| section instance | Section to which the product belongs to. Might be null if the product is required |
| variant instance | Variant of product |
| boolean | True if variants is required and shouldn't be removed from bundle, false otherwise |
UniqueBundleItem
Group of same bundle items (product variants in the same section) that was added to the bundle. It has the same properties as BundleItem
with additional attributes:
Attribute | Type | Description |
| number | number of times the item was added to the bundle |
| list of numbers | Each item of this array is an index of the individual item in the bundle - can be used for deletion |
Product
Representation of one Product in the store.
Attribute | Type | Description |
| number | Unique identification of a product |
| string | Title of the product |
| string | A unique human-friendly string for the product |
| instance of Image (optional) | Primary image of the product |
| array of Image instances | List of all images assigned to the product |
| string (optional) | A description of the product. May contain HTML formatting |
| array of Variant instances | Variants of given product |
| array of strings | Product tags |
Variant
Variant represents one version of the product.
Attribute | Type | Description |
| number | Unique identification of a variant |
| string | Title of the variant |
| number | Price of the variant. Use money filter to display price:
|
| strings | The custom properties that were used to define product variants |
| number (optional) | Unique id that is used as a primary image for given variant |
| number | Number of items available in stock for given variant. Value might be null if variants are not tracked |
| string (optional) | A unique identifier for the product variant in the shop. |
Image
The individual product image.
Attribute | Type | Description |
| number | Unique identifier of the image |
| string | Link to the image |
| string | Responsive image definition (for the |
LimitRule
Rule that the bundle must be fulfilled before it can be added to the cart.
Attribute | Type | Description |
| string | Type of the limit, one of:
|
| string | Operation, one of lt, lte, eq, gt, gte - meaning <, <=, =, >, => respectively |
| number | Value of the limit |
| number | ID of a section that this rule applies to (can be null if limit rule is for whole bundle) |
Settings
General settings from Kitenzo settings section.
Use ##{{ settings | json }}
to display the settings.