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 Cart Object


Access to this object is only available within canned emails. 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. 


HTML Tags by Email Type


Accessing The Cart Tags


Assuming you have access to the Cart object, you must do one of the following:


1. Prefix the object's name to the required tag

2. If the tag contains an 'Additional Sub Object', then the tag must prefix the sub-object tag and suffix the object

3. If the tag is a list type, then the tag must be looped. The sub-object tags should be nested within the loop. 


Here is a chart displaying these use cases.


 
SyntaxExample
1
{{Cart.TagName}}
{{Cart.PreTaxTotal}}
2
{{Cart.TagName.SubObjectTagName}}{{Cart.Contact.FirstName}}
3
 
<!-- {{#each Cart.TagName}} -->
        {{SubObjectTagName}} <br />
<!-- {{/each}} -->
  
 
<!-- {{#each Cart.OrderItems}} -->
        {{Quantity}} <br />
<!-- {{/each}} -->
  


Overview


Tag Name
Description
Type
Additional Sub Object
ApprovalPhasesThe tags relating to an approval phase that can be accessed for the approver of the contact who owns the cart. ListCart Approval Phase Tags
Contact
The tags relating to a contact that can be accessed for the contact who owns the cart.
Contact
Contact Tags
ContactId
The id of the contact who owns the cart.Guid

GraphicTotal
The total graphic amount for the cart.Decimal Value

Id
The id of the cart.Guid
InvoiceTotal
The after tax total of the cart.Decimal Value

ItemsPrice
The price of the all the items in the cart before graphics and discounts.Decimal Value
ItemsTotal
The total of all the items in the cart after graphics and discounts.Decimal Value
OrderItems
The tags relating to an item that can be accessed for items in the cart.ListOrder Item Tags
PreDiscountPrice
This is the price of an item plus any graphics charges it has.Decimal Value

PreTaxTotal
This is the cart total before taxes.
Decimal Value
ShippingTotalThis is the cart shipping totalDecimal Value

Taxes
The tags relating to the taxes that can be accessed for the tax rates on the cart.ListCart Tax Tags
TaxTotal
The total of calcatulated tax for this cart.Decimal Value