The package.html page displays details about a specific package on your store.
Variables | Type | Description |
---|---|---|
If you'd like access to a variable that is not currently available, please let us know.
id
string
The ID of the package.
name
string
The name of the package.
description
string
The description of the package.
customPrice
boolean
If the package can have a custom price.
price
string
The price of the package.
purchasable
boolean
If the currently logged in customer is allowed to purchase this package on your store.
quantity
integer
The quantity of this package in the customers basket.
image.url
string
The public url of the packages image hosted on the Tebex CDN.
image.uploaded
boolean
If this package has an image uploaded.
category
string
The ID of the category which this package belongs to.
has_options
boolean
If this package requires options to be entered/selected before adding to the basket.
discount.applied
boolean
If the package has a discount applied.
discount.original
string
The original price of the package before the discount was applied.
discount.percentage
string
The percentage equivalent of the discount applied to the package.