CartThrob 9 documentation for ExpressionEngine commerce teams Visit CartThrob.com
CartThrob.com

Cart Shipping Plus Tax

{exp:cartthrob:cart_shipping_plus_tax} outputs the cart shipping total with shipping tax included.

This is functionally equivalent to using:

{exp:cartthrob:cart_shipping:plus_tax}

See also:

Parameters

This tag supports these number-formatting parameters:

  • prefix (default: $)
  • decimals (default: 2)
  • dec_point (default: .)
  • thousands_sep (default: ,)

Modifiers

To get a raw numeric value for the cart shipping total with tax:

{exp:cartthrob:cart_shipping_plus_tax:numeric}

Output and Behavior

  1. Base calculation uses shipping_plus_tax().
  2. :numeric returns the raw numeric value (no formatting).
  3. Default output applies this tag’s formatting parameters (prefix, decimals, dec_point, thousands_sep).

Example

Basic shipping plus tax

{exp:cartthrob:cart_shipping_plus_tax}

Custom formatted output

{exp:cartthrob:cart_shipping_plus_tax prefix="USD " decimals="2" dec_point="." thousands_sep=","}