product.id |
Returns the id of a product. |
product.name |
Returns the name of a product. |
product.permalink |
Returns the permalink of a product. |
product.url |
Returns the URL of a product. |
product.edit_url |
Returns the URL to edit a product in the admin. |
product.position |
Returns the position of a product in your product list. |
product.description |
Returns the description of a product. |
product.status |
Returns the status of a product. “active”, “sold-out”, or “coming-soon”. |
product.created_at |
Returns the date the product was first created. |
product.categories |
Returns all of the categories of a product. |
product.css_class |
Returns the css_class of a product. “product”, “product sold”, “product soon”, or “product sale”. |
product.default_price |
Returns the default price of a product. |
product.variable_pricing |
Returns true if any option has a price that differs from the default price, false otherwise. |
product.min_price |
Returns the minimum price of a product and it’s options. |
product.max_price |
Returns the maximum price of a product and it’s options. |
product.on_sale |
Returns true or false based on whether the product is marked as on sale. |
product.has_default_option |
Returns true if the product has no custom options configured. False otherwise. |
product.has_option_groups |
Returns true if the product has option groups. |
product.option |
Returns the default option of a product. |
product.options |
Returns all of the options of a product whether they are sold out or not. |
product.options_in_stock |
Returns all of the options of a product that are in stock. If you’re not using Big Cartel’s inventory tracking, then this is the same as calling product.options. |
product.shipping |
Returns all of the shipping areas of a product. |
product.image |
Returns the default image of a product. |
product.images |
Returns all of the images of a product. |
product.image_count |
Returns the number of images a product has. |
product.previous_product |
Return the previous product in your list. |
product.next_product |
Return the next product in your list. |
products.all |
Returns all of the products in your store. |
products.current |
Returns all of the products for the current Products page. |
products.on_sale |
Returns all of the products in your store that are marked “on sale”. |
products.permalink |
Returns a specific product based on it’s permalink. |