Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

CCGV: deduct discount before tax?


Recommended Posts

I'm using CCGV5.19 and trying to get it to play nice with tax (British VAT to be precise).


What I want to have is:


Sub-total (without tax)

Discount amount (without tax)

Shipping/delivery (without tax)


Total (which is the 4 rows above added together)


But what I currently have is:


Sub-total (without tax)

Discount amount (with tax)

Shipping/delivery (without tax)

Tax (before discount)

Total (including tax)


I've got "display prices with tax" and "include tax in calculation" set to 'on' in the admin. Changing "include tax in calculation" to off makes the total wrong but the tax amount is wrong in both cases because it is calculated before the discount. Legally in the UK the tax must be 17.5% of the total paid which means the discount must be applied to the sub-total first.


How can I get the tax to be calculated after the discount?

Link to comment
Share on other sites

Unfortunately we've already spent a long time getting CCGV working (and it is working) so we're not really in a position to change that back. It's just that switching on tax has created this problem.


I reckon I can trick the discount amount to be displayed without tax but I'm stumped when it comes to changing the tax amount.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...