Appearance
Price Fieldtype
The price fieldtype is a special fieldtype that can hold currency values.
By default the fieldtype field output a numeric value that can be used for the price parameter of the add_to_cart tag. It outputs the price as you entered it, no calculation is done here. With Show decimals off in the Currency settings the price is rounded to a whole number when the entry is saved.
The modifiers below calculate with the Tax Type: with inclusive the entered price includes the tax, with exclusive it doesn't.
Fieldtype Modifiers
Below are the Fieldtype Modifiers. Those Variables can be used in the tag described above
:no_tax
Output the price without TAX and formatted. :no_tax_formatted is the same.
{your-field-name:no_tax}:plus_tax
Output the price with TAX and formatted. :plus_tax_formatted is the same.
{your-field-name:plus_tax} //fall back on the default tax value
{your-field-name:plus_tax tax_type="low"}
{your-field-name:plus_tax tax_type="high"}:plus_tax_numeric
Output the price with TAX as a numeric value
{your-field-name:plus_tax_numeric} //fall back on the default tax value
{your-field-name:plus_tax_numeric tax_type="low"}
{your-field-name:plus_tax_numeric tax_type="high"}:no_tax_numeric
Output the price without TAX as a numeric value
{your-field-name:no_tax_numeric}:numeric
Output the price without TAX as a numeric value, like :no_tax_numeric (with the tax rate of tax_type)
{your-field-name:numeric} //fall back on the default tax value
{your-field-name:numeric tax_type="low"}
{your-field-name:numeric tax_type="high"}:formatted
Output the price without TAX, formatted with the currency, like :no_tax (with the tax rate of tax_type)
{your-field-name:formatted} //fall back on the default tax value
{your-field-name:formatted tax_type="low"}
{your-field-name:formatted tax_type="high"}