Estimated shipping date. Usable only if the product has no variants and has a single reference. If the product is in stock then the date is the following day, otherwise as many days are added as the supplier reorder days
show
shortDescription
Short description
if
showPrices
Indicates whether prices can be shown to the customer
Quantity to add to the cart. Available if stock is greater than zero or the reference is still orderable
show
shippingDate
Estimated shipping date. If the reference is in stock then it is the day after the current date, if it is not available but still orderable then the days needed to reorder are added, otherwise the date is not present
if
showPrices
Indicates whether prices can be shown to the customer
The prices variable is used to display the quantity price table in B2B editions. Each value of prices is a price tier that can be shown as a row of the table.
Instruction
Variable
Description
show
discount
Fixed discount compared to list price
show
from
Quantity from which the price applies
show
listPrice
List price
show
listPriceTax
List price including VAT
show
percentDiscount
Percentage discount compared to list price
show
price
Price
show
priceTax
Price including VAT
show
to
Quantity up to which the price applies. Not present in the last tier
It is also used on all pages in the context of for topSellers to display the best-selling products.
<!-- .for products --> ... <!-- .end for -->
The products displayed depend on the page in which the variable is used and possibly also on the for instruction in which it is located. For example, in department.html it displays the products of the department, in wish-list.html it displays the products in the customer's wish list.
On the product.html page, if used in the context of for accessories it displays the product accessories, while if used in the context of for similar it displays similar products.
Instruction
Variable
Description
show
addToCart
Button to add the product to the cart
show
addToWishList
Button to add the product to the wish list
show
code
Code
show
department
Main product department
show
discount
Discount compared to list price
show
id
Identifier
if
isNewRelease
Indicates whether it is a new release
if
isForSale
Indicates whether it is for sale
if
isPreOrder
Indicates whether it is available for pre-order
show
largeImage
Large image. It can be displayed in small or medium size if indicated in the admin
show
listPrice
List price
show
mediumImage
Medium image. It can be displayed in small or large size if indicated in the admin
show
minQuoteMessage
Message that informs the customer that they can request a quote for the product with a minimum quantity
show
name
Name
show
percentDiscount
Percentage discount compared to list price
show
percentTax
VAT percentage
show
position
Product position in the list starting from one. Used especially in best-selling products
show
preOrderMessage
Message that informs that the product is available for pre-order
show
price
Sale price
show
producer
Producer
show
producerLogo
Logo
show
remove
Button to remove it from the wish list. It is available only on the wish-list.html page
show
reviewRating
Product rating. Generally displayed with five stars.
show
shortDescription
Short description
show
showPrices
Indicates whether prices are visible to the customer
show
smallImage
Small image. It can be displayed in medium or large size if indicated in the admin