Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

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.

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