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 CartTax Object
Access to this object is only available within canned emails under the Cart object. Start by finding the canned email type you are working with from the link provided below. Follow the chart for your specified 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 CartTax Tags
Assuming you have access to the CartTax object, then the object must be looped. The tags should be nested within the loop.
Here is a chart displaying the use cases.
Syntax | Example | |
<!-- {{#each Cart.Taxes}} --> {{TagName}} <br /> <!-- {{/each}} --> | <!-- {{#each Cart.Taxes}} --> {{Name}} <br /> <!-- {{/each}} --> |
Overview
Tag Name | Description | Type |
CartId | The id of the cart. | Guid |
Name | The name of each tax rate(s) on the cart. | Text |
Total | The total of the tax for each tax rate on the cart. | Decimal Value |