Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How to require a specific product


Recommended Posts

Hi, I'm trying to get a coupon discount to work in a particular way and I'm not sure if it's possible, or if someone can modify the code for this to work?


Basically I want to say "If you have added product X to the cart (worth $4.25), and your cart total is greater than $20, [and you used the coupon] then you get $4.25 off your total (ie product X for free)."


So I tried excluding the other products, but that means NO products are counted towards the total, it wants $20 worth of product X.


Including all products so that they are included towards the total means that the customer can just get themselves a $4.25 discount on anything they like over $20. Again not right, as we are trying to give away Product X, not discounts on everything.


Is there some way to say "discount requires product X to be in the cart"?


Appreciate any help that can be offered here!

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