Post by Mexico123 » Sat Jul 20, 2013 7:48 pm

Hi, OpenCarters!

I am building a new store and would really appreciate your help on this one:

So, a 10% discount needs to apply to all orders over $50 and I have enabled Sitewide Discount, which does the job for the most part. The problem is, I need that discount to apply on $50 that includes taxes but excludes shipping costs. In other words, shipping costs should be completely ignored for discount purposes.

E.g. By default:

Laptop Bag: $42.50
VAT (20%): $8.50
Shipping: $2.00
(so far, we have $53)
Discount (10%): $5.30
Total: $47.7

Instead, what I really need looks similar to:

Laptop Bag: $42.50
VAT (20%): $8.50
(so far, we have $51)
Discount (10%): $5.10
Shipping: $2
Total: $47.9

Does anyone please have any ideas how to change the calculations or anything? Much appreciated!

Newbie

Posts

Joined
Sat Jul 20, 2013 2:16 pm

Post by Johnathan » Tue Jul 23, 2013 12:36 am

You can use Total-Based Fee/Discount (www.opencartx.com/total-based-fee-discount) for this. If you set the "Value for Total" setting to "Total", it will use the total at its position to calculate the discount. As long as you're not taxing shipping, you can set the Order Total sorting like this:

Sub-Total
Taxes
Total-Based Fee/Discount
Shipping
Total

That should calculate correctly. If you're using a different extension, you should contact the author of that extension to see if they can modify it for you.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: No registered users and 2 guests