hey guys

cant get this workin properly.

i need a subtotal discount (20%)
the thing is..if a customer put product X in his cart he shouldnt able to apply the 20% coupon

only if this product isnt in his cart

think this doesnt really matter but product X is for free and downloadable

hope i explained it right?!

is this possible?

CommentFileSizeAuthor
#1 1178690-require-match-all.patch2.43 KBwodenx

Comments

wodenx’s picture

Component: Documentation » Code
Category: support » feature
Status: Active » Needs review
StatusFileSize
new2.43 KB

I don't think this is possible with the module as it stands. The attached patch adds a "require all products to match" checkbox to the add/edit form. if you then configure your coupon to match all products except product X, apply it to order subtotal and check that box, the coupon should be rejected if product X is in the cart. Please review - if it seems to work, I'll commit it to DEV.

CanOne’s picture

hey thank you for that

but ive never patched before and i dont really understand the git stuff?!

is there a way patching this manually?

wodenx’s picture

depends on what system you are running - on linux or osx you just use the patch command from the CL - i've not done it under windows, but here's a link with more info:
http://drupal.org/node/60179

CanOne’s picture

thanks 4 the link patched it now with netbeans and i think its workin

but i will give it some more test and then im sure about it

THANK YOU VERY MUCH :)

CanOne’s picture

is this workin with 1.6 as well?

wodenx’s picture

No - 1.6 is a release point, so nothing new can be added to that. I will commit this to the DEV branch so it will be included in the next (1.7)release. Once I do, you will have two choices:
(1) Continue to use 1.6 with the patch applied. When there is a new release, you can update safely because the patch is applied.
(2) Use the DEV version - this will offer you other bug fixes and new features, but it may not be as stable day to day as an official release.

CanOne’s picture

kay cool
then i´ll use the 1.5 for the moment..because our page is goin to be public the next days..so i´ll update later :)

wodenx’s picture

Status: Needs review » Fixed

Committed to DEV.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.