Tax - Liquid Object Reference
On this page
Description
The Tax object contains information about a Tax.
:::note
This object supports custom data via the data attribute.
:::
Backed by
This drop renders the s_c__Tax__c Salesforce object. A theme writes it as tax.
| Liquid attribute | Salesforce field |
|---|---|
effective_from |
s_c__Effective_From__c |
effective_to |
s_c__Effective_To__c |
name |
s_c__Display_Name__c |
rate |
s_c__Rate_Percentage__c |
Every other attribute on this drop is derived by StoreConnect rather than read straight from one field. The Attributes section lists them all.
Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from tax.data. See custom data fields in Liquid.
Attributes
| Attribute | Type | Description |
|---|---|---|
effective_from |
Timestamp | Returns the date this Tax is effective from |
effective_to |
Timestamp | Returns the date this Tax is effective to |
id |
String | Returns the unique id of the Tax |
name |
String | Returns the name of the Tax |
rate |
Number | Returns the rate of the Tax |
zone |
Zone | Returns the Zone that this Tax applies to |
Available on
- Cart - Liquid Object Reference —
taxes - Order - Liquid Object Reference —
taxes
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.