{"title":"PricebookEntry - Liquid Object Reference","slug":"pricebook-entry-liquid-object-reference","url":"https://support.storeconnect.com/articles/pricebook-entry-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/pricebook-entry-liquid-object-reference.md","subtitle":null,"summary":"The PricebookEntry object contains information about a PricebookEntry.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, PricebookEntry, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe PricebookEntry object contains information about a PricebookEntry.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `active?` | Boolean | Returns whether this PricebookEntry is active |\n| `add_to_cart_text` | String | Returns the text to display on the Add to Cart button |\n| `buy_it_now_text` | String | Returns the text to display on the Buy It Now button |\n| `can_earn_points?` | Boolean | Returns whether this PricebookEntry can earn points |\n| `can_purchase_with_currency?` | Boolean | Returns whether this PricebookEntry can be purchased with currency |\n| `can_purchase_with_points?` | Boolean | Returns whether this PricebookEntry can be purchased with points |\n| `currency` | String | Returns the currency code for this PricebookEntry |\n| `deposit_amount` | Number | Returns the deposit amount for this PricebookEntry |\n| `deposit_points` | Number | Returns the deposit points for this PricebookEntry |\n| `disable_quantity_selection?` | Boolean | Returns whether the quantity selection is disabled for this PricebookEntry |\n| `display_if_restricted?` | Boolean | Returns whether this PricebookEntry is displayed if restricted |\n| `earn_points` | Number | Returns the number of points earned for this PricebookEntry |\n| `earn_points_bonus` | Number | Returns the bonus points earned for this PricebookEntry |\n| `enable_variable_pricing?` | Boolean | Returns whether variable pricing is enabled for this PricebookEntry |\n| `hide_price_text` | String | Returns the text to display when the price is hidden |\n| `hide_price?` | Boolean | Returns whether the price is hidden for this PricebookEntry |\n| `id` | String | Returns the unique id for this Pricebook |\n| `minimum_sell_price` | Number | Returns the minimum sell price for this PricebookEntry |\n| `name` | String | Returns the name for this PricebookEntry |\n| `order_quantity_maximum` | Number | Returns the maximum order quantity for this PricebookEntry |\n| `out_of_stock_text` | String | Returns the text to display when the product is out of stock |\n| `percentage` | Number | Returns the percentage for this PricebookEntry |\n| `pricebook` | [Pricebook](pricebook-liquid-object-reference) | Returns the Pricebook to which this PricebookEntry belongs |\n| `product` | [Product](product-liquid-object-reference) | Returns the Product to which this PricebookEntry belongs |\n| `productcode` | String | Returns the product code for this PricebookEntry |\n| `purchase_points` | Number | Returns the number of points required to purchase this PricebookEntry |\n| `purchase_points_sale` | Number | Returns the number of points required to purchase this PricebookEntry on sale |\n| `restricted_text` | String | Returns the text to display when this PricebookEntry is restricted |\n| `restricted?` | Boolean | Returns whether this PricebookEntry is restricted |\n| `sale_price` | Number | Returns the sale price for this PricebookEntry |\n| `tax_method` | String | Returns the tax method for this PricebookEntry |\n| `tax_zone` | [Zone](zone-liquid-object-reference) | Returns the tax zone for this PricebookEntry |\n| `unitprice` | Number | Returns the unit price for this PricebookEntry |\n| `use_standard_price?` | Boolean | Returns whether the standard price is used for this PricebookEntry |\n| `variable_pricing_options` | List | Returns the variable pricing options for this PricebookEntry |\n\n## Available on\n\n- [OrderItem - Liquid Object Reference](order-item-liquid-object-reference) — `pricebook_entry`\n- [Pricebook - Liquid Object Reference](pricebook-liquid-object-reference) — `pricebook_entries`\n- [Product - Liquid Object Reference](product-liquid-object-reference) — `pricebook_entry`"}