# Cart line item object
# line_item.cost_price
Returns the cost price of the cart line product.
# line_item.id
Returns the unique id of the line item.
# line_item.image
Returns the image of the cart line product.
# line_item.is_recurring
Returns true
if variant of the line_item triggers a subscription. Returns false
if not.
# line_item.line_cost_price
Returns the total cost price of the cart line.
# line_item.line_price
Returns the total price of the cart line.
# line_item.parent_row
Returns the parent line item of the cart line, if any.
# line_item.price
Returns the price of the variant of the cart line.
# line_item.product
Returns the product of the cart line.
# line_item.product_id
Returns the product id of the line item.
# line_item.quantity
Returns the quantity of the cart line.
# line_item.sku
Returns the SKU of the product variant of the cart line.
# line_item.title
Returns the title of the product if there is only the default variant. Returns the product title and the variant title if multiple variants.
# line_item.url
Returns the url to the product with the variant id as a parameter.
Example
https://example.codefort.io/products/t-shirt?variant=1013712470019847
# line_item.variant
Returns the variant object of the cart line.
# line_item.variant_id
Returns the variant id of the cart line.