Cart Shipping
{exp:cartthrob:cart_shipping} outputs the current cart shipping total.
This is commonly used on cart, shipping, and checkout summary screens.
See also:
Parameters
This tag has no tag-specific parameters.
Formatting is handled internally via ExpressionEngine’s number formatter.
The global number-formatting tag parameters (for example prefix, decimals) are not read by this tag’s implementation.
Modifiers
To get a raw numeric value for the cart shipping total:
{exp:cartthrob:cart_shipping:numeric}
To get the cart shipping total with tax included:
{exp:cartthrob:cart_shipping:plus_tax}
To get a raw numeric value for the cart shipping total with tax included:
{exp:cartthrob:cart_shipping:plus_tax:numeric}
Output and Behavior
- Base output uses the cart
shipping()value. :plus_taxswitches the calculation toshipping_plus_tax().:numericreturns the raw numeric value (no formatting).- Default output is formatted text.
:plus_taxbehavior is the same calculation exposed bycart_shipping_plus_tax.
Example
Basic shipping total
{exp:cartthrob:cart_shipping}
Shipping with tax included
{exp:cartthrob:cart_shipping:plus_tax}