Purchase

shopp('purchase.address')

Displays the first line of the billing address.

shopp('purchase.card')

Displays the last four digits of the credit/debit card used to complete the purchase.

shopp('purchase.cardtype')

Displays the type of credit/debit card used to complete the transaction.

shopp('purchase.city')

Displays the name of the city associated with the billing address.

shopp('purchase.company')

Displays the company of the shopper that placed the order.

shopp('purchase.country')

Displays the name of the country associated with the billing address.

shopp('purchase.customer')

Displays the customer id associated with the current purchase.

shopp('purchase.data')

Displays the current purchase data property value.

shopp('purchase.date')

Displays the date the purchase order was created.

shopp('purchase.discount')

Displays the discount amount applied to the order by deducting from the order subtotal, in the currency format associated with the base of operations.

shopp('purchase.email')

Displays the email address of the shopper that placed the order.

shopp('purchase.email-event')

Display a property of the order event that triggered the current email notification.

shopp('purchase.email-from')

Displays the notification email message sender address.

shopp('purchase.email-note')

Displays the note associated with order event email notifications for notice, void, and review order events.

shopp('purchase.email-subject')

Displays the notification email message subject.

shopp('purchase.email-to')

Displays the notification email message recipient address.

shopp('purchase.firstname')

Displays the first name of the shopper that placed the order.

shopp('purchase.freight')

Displays the total shipping cost in the currency format associated with the base of operations.

shopp('purchase.gateway')

Displays the name of the gateway addon that handled the order.

shopp('purchase.has-data')

Tests if order data fields are associated with a purchase.

shopp('purchase.has-download')

Test if the current purchased item has a download.

shopp('purchase.has-items')

Used to test if the order has any line items.

shopp('purchase.has-promo')

Used to test for a specific promotion applied to a purchase.

shopp('purchase.hasdiscount')

Displays the subtotal price of the order in the currency format associated with the base of operations.

shopp('purchase.hasfreight')

Displays the subtotal cost of the order in the currency format associated with the base of operations.

shopp('purchase.hastax')

Returns true if the purchase has a tax total, false if it does not.

shopp('purchase.id')

Displays the purchase order id number (or invoice number).

shopp('purchase.item-addon')

Display the item addon’s unit price, or another specified parameter.

shopp('purchase.item-addons')

Used to loop through a purchased item’s addons.

shopp('purchase.item-description')

Displays a purchased item’s description.

shopp('purchase.item-download')

Displays the download link for the current item.

shopp('purchase.item-has-addons')

Tests to see if a purchased item has one or more addons.

shopp('purchase.item-hasinputs')

Tests whether the purchased item has any custom inputs.

shopp('purchase.item-id')

Displays the current id for the purchase record of the item

shopp('purchase.item-input')

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

shopp('purchase.item-inputs')

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

shopp('purchase.item-inputs-list')

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

shopp('purchase.item-name')

Displays the name of the current line item.

shopp('purchase.item-options')

Displays the selected line item’s options, the selected variation’s label.

shopp('purchase.item-price')

Display the price-line id of the current purchased item.

shopp('purchase.item-product')

Displays the product id of the current item

shopp('purchase.item-quantity')

Displays the item quantity ordered.

shopp('purchase.item-sku')

Displays the assigned SKU associated with the item (if any).

shopp('purchase.item-total')

Displays the total for the line item calculated by multiplying the quantity ordered by the unit price of the item.

shopp('purchase.item-type')

Display the item type of the current purchased item.

shopp('purchase.item-unit-price')

Displays the unit price of the line item.

shopp('purchase.items')

Used to go through (iterate) each line item in the order.

shopp('purchase.items-addons-list')

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

shopp('purchase.lastname')

Displays the last name of the shopper that placed the order.

shopp('purchase.not-paid')

Tests the transaction status to see if the status is not set to captured.

shopp('purchase.order-data')

Loops through purchase order data.

shopp('purchase.paid')

Tests the transaction status to see if the status is set to captured.

shopp('purchase.payment')

Displays either the merchant defined order status mapped to the transaction status on the current order.

shopp('purchase.paymethod')

Display the merchant-defined label for the payment method associated with the current order.

shopp('purchase.phone')

Displays the phone number of the shopper that placed the order.

shopp('purchase.postcode')

Displays the postal code (or US ZIP code) associated with the billing address.

shopp('purchase.promo-list')

Display an unordered list of promotions associated with the current order.

shopp('purchase.receipt')

Display the purchase receipt.

shopp('purchase.ship-name')

Displays the name of the person addressed in the shipping address.

shopp('purchase.shipaddress')

Displays the first line of the shipping address.

shopp('purchase.shipcity')

Displays the name of the city associated with the shipping address.

shopp('purchase.shipcountry')

Displays the name of the country associated with the shipping address.

shopp('purchase.shipmethod')

Displays the name of the selected shipping method.

shopp('purchase.shippostcode')

Displays the postal code (or US ZIP code) associated with the shipping address.

shopp('purchase.shipstate')

Displays the name of the state/province associated with the shipping address.

shopp('purchase.shipxaddress')

Displays a secondary line of the shipping address.

shopp('purchase.state')

Displays the name of the state/province associated with the billing address.

shopp('purchase.status')

Display the order status.

shopp('purchase.subtotal')

Displays the subtotal price of the order in the currency format associated with the base of operations.

shopp('purchase.tax')

Displays the tax amount applied to the order based on the order subtotal, in the currency format associated with the base of operations.

shopp('purchase.total')

Displays the total, final cost of the order in the currency format associated with the base of operations.

shopp('purchase.total-items')

Displays the total number of line items on the order.

shopp('purchase.transactionid')

Displays the transaction id provided by the payment gateway on successfully processing the purchase.

shopp('purchase.url')

Display the account page url.

shopp('purchase.xaddress')

Displays a secondary line of the billing address.

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

Skip to toolbar