1. Documentation /
  2. Smart Coupons /
  3. Using ‘Apply Before Tax’

Using ‘Apply Before Tax’

Smart Coupons provide a powerful, “all-in-one” solution for gift cards, store credits, discount coupons, and vouchers extending the core functionality of WooCommerce coupons.

This doc article explains how you can use the ‘Apply before tax’ setting in Smart Coupons for store credit/gift certificate.

There are usually three components in the WooCommerce cart.

  1. Cart subtotal
  2. Tax
  3. Shipping

By default, the WooCommerce core coupons will be applied only on the cart subtotal, whereas the discount type ‘Store Credit / Gift Certificate‘ (which is added by Smart Coupons) will be applied on the order total (cart subtotal + tax + shipping). If you want to apply the store credit before applying tax, you can use the ‘Apply before tax’ setting.

How to enable ‘Apply before tax’ setting

↑ Back to top

Go to WooCommerce > Settings > Smart Coupons.

Here two checkboxes would be visible under Apply before tax:

  1. Deduct credit/gift before doing tax calculations
  2. Store credit discounts inclusive of tax

Deduct credit/gift before doing tax calculations

↑ Back to top

Enable ‘Deduct credit/gift before doing tax calculations’ option if you want the discount coupon to be applied only on the cart subtotal. The discount will not be applied to tax/shipping in this case.

Store credit discounts inclusive of tax

↑ Back to top

This setting will be visible only when the setting ‘Yes, I will enter prices inclusive of tax‘ is enabled under WooCommerce > Settings > Tax > Tax options > Prices entered with tax.

Enable both settings, i.e ‘Deduct credit/gift before doing tax calculations’ and ‘Store credit discounts inclusive of tax’ if you want the discount coupon to be applied to ‘cart subtotal + tax’. The discount will not be applied to shipping in this case.