• Google+
  • Zen-Cart Manager RSS
  • Zen-Cart Manager YouTube
  • Follow Zen-Cart Manager on Twitter
  • Zen-Cart Manager on Blogger
  • Zen-Cart Manager on FaceBook
8 AM - 7 PM (GMT) / 3 AM - 2 PM (EST)

ZenCart Order Calculation

ZenCart order Calculation section helps you to change shipping method and cost, provide or change the discount and see how it affects order totals.

ZenCart order Calculation

The most interesting option of this section is ZenCart order Calculation Settings. When you click on Settings Button you'll see the ZenCart Order Calculations window. Here you can configure how order values will be calculated.

ZenCart Order Calculations 1

Formula is an arithmetical expression. It can contain two types of elements - operand and operator.

There are three hardcoded operands:

  • sum_price - sum of "Price" * "Quantity" for all products in current order
  • sum_final_price - sum of "Final Price" * "Quantity" for all products in current order
  • average_products_tax - average tax % for all products in current order. Value 0.15 = 15% tax

Other operands can be inserted by clicking right mouse button on formula field.

Allowed operators: + add; - subtract; / divide; * multiply. Also you can use round brackets ( )

More information about expressions here.

Formula examples:

  • (subtotal - version #1 ):   sum_final_price
  • (subtotal - version #2 ):   sum_final_price - [ot_discount, 0.0]
  • (tax - version #1 ):          (sum_final_price - [ot_discount, 0.0] - [ot_coupon, 0.0]) * average_products_tax
  • (tax - version #2 ):          (sum_final_price * average_products_tax) + sum_final_price - ot_discount - ot_coupon
  • (total):                              ot_subtotal + [ot_tax, 0.0] + [ot_shipping, 0.0] - [ot_coupon, 0.0] - [ot_discount, 0.0]

Value specified in square brackets represents default value for an operand if specified operand name not found. As for example order total (formula above) calculated as subtotal + tax + shipping... but actually not every order have tax and shipping fields. If fields specified in formula not found it will take default value.

Formula operand [ot_tax, 0.0] has default value of 0.0, [ot_tax, 15.5] means default value of 15.5 and so on.

If you have any suggestions on ZenCart Order Calculations, you're welcome to contact our support team.

We recommend you to read our full updated documentation for Store Manager for Zen Cart here

Privacy Preference Center

Strictly Necessary

These cookies are necessary fro the site ot function.

woocommerce_cart_hash, woocommerce_items_in_card, wp_woocommerce_session_{hash}


These are used to track user interaction and detect potential problems. These help us improve our services by providing analytical data on how users use this site.

_ga, _gid, _gat-_UA-326982215-25, LaSID, LaVisitorId, __utma, __utmc, __utmv, __utmz

Close your account?

Your account will be closed and all data will be permanently deleted and cannot be recovered. Are you sure?