Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Discount coupon category restrictions help

Discount coupon category restrictions help

Views: 2,914

Results 1 to 6 of 6
11 Apr 2014, 10:40
#1
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Discount coupon category restrictions help

Hey All,

I can't seem to get category restrictions to work for coupons. I can set up product restrictions without problem, but that isn't really what I need.

url... doooomed.com

The category I am attempting to block is called Preorders and I have set up a temp coupon code for test which is 44445555

Here are a couple screen shots

Attachment 13979

Attachment 13980

I'm sure I'm missing something as it seems simple enough but I can't seem to figure it out.

Thanks for any help!

11 Apr 2014, 14:55
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount coupon category restrictions help

Actually, it is how the page is interpreting the code ... this has been fixed in v1.5.2 ...

While this is not displaying right for you, is it working right in the checkout?

NOTE: I have to dig up the changes for this and see if I can make them work in v1.5.1 ...

11 Apr 2014, 15:09
#3
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Discount coupon category restrictions help

Ajeh:

While this is not displaying right for you, is it working right in the checkout?

Hi Ajeh,

It does appear to be working in the checkout and it gives a message "This coupon code is not valid for any product currently in your cart."

If I have one excluded category item and one non excluded in my cart it gives no indication of the particular item being unavailable for coupon use, but it does not discount that product... so it seems to be working correct in that aspect.

Thank you!

11 Apr 2014, 15:44
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount coupon category restrictions help

If I did this right, you need these two files updated ...

Be sure to use your templates and overrides file on the tpl_main_page.php file ...

NOTE: in future upgrades, you should NOT need these changes as they will be built in ...

28 Apr 2014, 12:20
#5
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Re: Discount coupon category restrictions help

I finally got a chance to sit down with this! Thank you Ajeh, works perfect!

Coffee and fancy chocolate cruller coming your way :smile:

28 Apr 2014, 12:46
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount coupon category restrictions help

Thanks for the update that this is working for you and for the support ... the coffee and fancy chocolate cruller keep us humming along ... :cool: