Describes a line item.
attributes
Returns the selected attributes for this item. Returns an array.
attributes_label
Returns a preparsed comma-separated attribute list.
category_path
Returns the category path for this item. This is the category path that was used when the product was added to the cart.
description
Returns the line item description.
gtin
Get the product GTIN
id
Returns the unique id for this line item.
image
Returns the image URL, if any, for this line item.
is_linkable
Tells whether this item is linkable in the store.
line_price
Returns the line price.
manufacturer
Get the product manufacturer.
model
Get the product model number.
net_price
Returns the net price.
product_id
Get the assiociated product id
quantity
Returns the quantity.
rate
Returns the tax rate as a decimal number.
requires_shipping
Returns true if this item requires shipping
shipping_weight_in_grams
Returns the item shipping weight in grams.
stock_out
Returns true if this item has been sold out and cannot be purchased anymore.
tax
Returns the line tax.
title
Returns the line item title.
type
Returns the item type, can be one of product
, bundle
or gift_card
.
unit_name
Returns the item unit name.
unit_price
Returns the unit price.
url
Get the product URL for this item. This is the URL that was used when the product was added to the cart.
weight_in_grams
Returns the item weight in grams.