Cart Tax Rate
{exp:cartthrob:cart_tax_rate} outputs the current cart tax rate value.
This is an immediate-execution single tag, not a form tag.
See also:
Parameters
This tag has no tag-specific parameters.
Output
Outputs the current tax rate from store->tax_rate().
The output is the rate value (for example 0.07 for 7%).
Behavior and Constraints
- Reads the active store tax rate through
ee()->cartthrob->store->tax_rate(). - Returns that value directly.
- Does not render form markup and does not change cart state.
Notes:
- This tag returns the tax rate, not the tax amount.
Use cart_tax for the cart tax total amount.
Examples
Basic usage:
{exp:cartthrob:cart_tax_rate}
Show percentage text from the rate value:
Tax rate: {exp:cartthrob:cart_tax_rate}%