Jump to content
Sign in to follow this  

How 2 exclude vouchers from quantity discount calc

Recommended Posts

Hi all,


Apologies if this has been covered before... I have the Gift Voucher contrib on my site along with the default quantity discount order total module at checkout, which gives an X% discount for two or more items purchased, etc...


The problem is that when a customer purchases a voucher and another item, the cart (quite correctly) applies my quantity discount to both the voucher and the item. When the person receiving/redeeming the voucher uses it (and is purchasing >1 item) they *also* get the quantity discount.


So in effect, the voucher amount is being discounted *twice*... Does anyone have a suggestion on modifying the Qty Discount order total module so that it excludes certain items upon checkout -- such as items whose model #'s begin with GIFT_


I've look at the qty order total module and is uses a class function which is likely used in many other areas of the site, so I was reluctant to change that...


Any suggestions are appreciated.

** Please do not PM with personal support requests (even if offering "payment"). Thank you.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this