Getting Started
If you are new to the HTML document/canned email tag system, you can get an overview of tags, objects and loops here.
Accessing The OrderTax Object
Access to this object is dependent on what document or canned email type you are trying to access the object from. Start by finding the document or canned email type you are working with from the links provided below. Follow the chart for your specified document or canned email type to see if the object is accessible, and if so, where it is located. You may need to use a combination of loops and/or chaining to access this object.
Accessing The OrderTax Tags
Assuming you have access to the OrderTax object, the object must be looped. The tags and/or sub-object tags should be nested within the loop.
The following are implementations of the OrderTax object that give access to the OrderTax tags: Taxes
Here is a chart displaying these use cases.
Syntax | Example | |
<!-- {{#each OrderTaxType}} --> {{TagName}} <br /> <!-- {{/each}} --> | <!-- {{#each Taxes}} --> {{Rate}} <br /> <!-- {{/each}} --> |
Overview
Tag Name | Description | Type |
Name | The name of the tax rate on the order. | Text |
OrderId | The id of the order. | Guid |
Rate | The % value of the tax rate on the order. | Decimal Value |
Total | The total tax calculated for the selected rate on the order. | Decimal Value |