Ecom:Product.Discount.Discount.Class
Version: - stringSummary
Returns how the discount is applied to an order.
Settings
The value is based on the Apply as field for the discount.
(Management Center - Ecommerce - Orders - Order discounts - Order discount - Discount - Apply as)
Remarks
The different class types:
-
OrderDiscountWithOtherDiscounts
Order discount (inclusive). This discount will be calculated after all other orderline discounts have been calculated - based on the discounted price. -
OrderDiscount
Order discount (exclusive):This discount will be calculated based on the order price before any other discounts have been added. -
OrderLineDiscount
Orderline discount (exclusive): This discount will be calculated based on the product price before any other discounts have been added.
Examples
Outputting the template tag
Check if tag has a value
Assign tag to a value for later use
Outputting the template tag
Check if string has a value