Cart Item

shopp('cartitem.addon')

Displays one or more properties of the current cart item addon.

shopp('cartitem.addons')

The cart item loop iterator.

shopp('cartitem.addons-list')

Displays all of the product addons for the cart item in an unordered list (<ul>).

shopp('cartitem.coverimage')

Displays the default image, known as the cover image for the product.

shopp('cartitem.description')

Display the item description.

shopp('cartitem.discount')

Displays the single unit discount applied to the cart item.

shopp('cartitem.discounts')

Displays the total discount applied to the cart line item.

shopp('cartitem.has-addons')

Tests the cart item for addon items.

shopp('cartitem.hasinputs')

Tests whether the cart item has any custom inputs.

shopp('cartitem.id')

Displays the ID of the cart item as it relates to the array index number in the contents of the Cart.

shopp('cartitem.in-category')

Test if the cart item is in a specific product category.

shopp('cartitem.input')

Used in the ‘inputs’ loop to show an individual cart item input.

shopp('cartitem.inputs')

Loops through each cart item input so that a custom input layout can be specified within the looping block.

shopp('cartitem.inputs-list')

Displays all of the custom inputs for the cart item in an unordered list (<ul>).

shopp('cartitem.name')

Displays the name of the item. This value is copied from the selected product when it was added to the cart.

shopp('cartitem.optionlabel')

Displays the label for the currently selected product variation.

shopp('cartitem.options')

Displays the currently selected product variation for the item or displays a drop-down menu that allows the shopper to change the selected product variation of the item.

shopp('cartitem.price')

Displays the price of the cart item’s selected product variant.

shopp('cartitem.prices')

Displays the price of the cart item’s selected product variant.

shopp('cartitem.product')

Displays the ID the catalog product that is the original source of the cart item.

shopp('cartitem.quantity')

Displays the quantity of the cart item.

shopp('cartitem.remove')

Displays a control element that can be displayed as a link or a <button> element that when clicked will remove the item from the cart.

shopp('cartitem.saleprice')

Displays the price of the cart item’s selected product variant.

shopp('cartitem.saleprices')

Displays the price of the cart item’s selected product variant.

shopp('cartitem.sku')

Displays the SKU of the item (if available).

shopp('cartitem.tax')

Displays the total tax calculated on the line item (if available).

shopp('cartitem.taxrate')

Displays the tax rate percentage that applies to the current line item.

shopp('cartitem.total')

Displays the cart item’s total price in the store’s current currency format.

shopp('cartitem.type')

Displays the type of product the cart item is, one of Shipped, Download, Donation, or Virtual.

shopp('cartitem.unit-tax')

Displays the per-unit taxes calculated for the item in the store’s currency format.

shopp('cartitem.unitprice')

Displays the unit price in the store’s default currency.

shopp('cartitem.url')

Displays the URL of the product the item came from.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar