Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Which program governs coupon codes? I want to combine rules about free shipping

Which program governs coupon codes? I want to combine rules about free shipping

Locked

Started by anita on 20 Jul 2009, 8:47 PM · Views: 1,992

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
20 Jul 2009, 8:47 PM
#1
anita avatar

anita

Zen Follower

Join Date:
Feb 2006
Posts:
124
Plugin Contributions:
0

Post #1 by anita

I'm using ver 1.3.8a. I want to use a coupon code that will allow free shipping on any item from category A, but if there is an item from any other category in the cart along with an item from category A, then no free shipping. I don't think that is currently possible. If I wanted to do a code change for this, which php program should I look at?

21 Jul 2009, 4:57 PM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

You would need to customize the Order Total module for ot_coupon.php to manage this ...

Currently, if 1 product qualifies, then the whole order gets Free shipping ...

You need to test the number of products in the categories_id that you want for free shipping vs the total number of products ...

If all of Category A uses the master_categories_id for that category, then you can use that to help with this test ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!