{"title":"ComponentPricing - Liquid Object Reference","slug":"component-pricing-liquid-object-reference","url":"https://support.storeconnect.com/articles/component-pricing-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/component-pricing-liquid-object-reference.md","subtitle":null,"summary":"The ComponentPricing object represents special pricing for components when included in New Product Bundle.\n      It allows for different pricing strategies and variable pricing options.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, ComponentPricing, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe ComponentPricing object represents special pricing for components when included in New Product Bundle.\n      It allows for different pricing strategies and variable pricing options.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `anchor_product` | [Product](product-liquid-object-reference) | Returns the anchor Product this pricing is specific to (if any) |\n| `component_product` | [Product](product-liquid-object-reference) | Returns the component Product this pricing applies to |\n| `deposit_amount` | Number | Returns the deposit amount required for this component |\n| `earn_points` | Number | Returns the earn points earned for purchasing this component |\n| `enable_variable_pricing?` | Boolean | Returns true if variable pricing is enabled for this component |\n| `id` | String | Returns the unique id of this ComponentPricing |\n| `on_sale?` | Boolean | Returns true if this component is currently on sale |\n| `sale_price` | Number | Returns the sale price for this component |\n| `unit_price` | Number | Returns the base unit price for this component |\n| `variable_pricing_options` | Map | Returns the variable pricing configuration options |\n\n## Available on\n\n- [ProductComponent - Liquid Object Reference](product-component-liquid-object-reference) — `component_pricing`"}