Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

subtotal - ot_custom


sprnv4

Recommended Posts

Hello,

 

I installed 5.0.6 and works great. Only problem is when I add a custom field to the order total with a minus value it substracts it from the order total and not order SUBtotal.

 

Example:

 

 

Subtotal: 100

custom : -15

TAX 19%: 19

Total : 104

 

What happens here is simply this: 100+19= 119-15= 104

 

This what I would like:

 

Subtotal: 100

custom : -15 (meaning that subtotal is now 85)

TAX 19%: 16.15 (TAX changed because subtotal changed)

Total : 101.15

 

What happens here is this: 100-15= 85+16.15(19% of 85)= 101.15

 

Is this an order editor bug?

Do I have to alter order editor's code to realise this? Or has this been solved?

 

Thanks,

David

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.

Guest
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...