Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default One coupon, different categories, different discounts

    Hi guys,

    I've a question about coupons that I've not seen answered anywhere else, hopefully someone can give me a definitive answer.

    Is it possible to create a single coupon that will give a 10% discount on products in one category, but a 15% discount for products in the other categories of my site?

    I have an online jewellery site and I'd like to discount 10% off luxury products, but 15% off the standard ones.

    Any help gratefully appreciated.

    Thanks,
    Ian

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: One coupon, different categories, different discounts

    It's a nice idea, but unfortunately the current structure of coupons restricts them to a single rate. It would take a lot of custom code to change this.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: One coupon, different categories, different discounts

    Should you wish to consider undertaking that custom programming, it is likely that it can all be shoehorned into a small area of your Zen cart code. I believe that you would need only to re-write the calculate_deductions function in the ot_coupon module - though that would require some reasonably good knowledge of Zen Cart (or at least coupons, payment calculations generally and the $_SESSION['cart'] array).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: One coupon, different categories, different discounts

    Good grief!! Create two coupons and move on with your life. I would strongly recommend NOT attempting to modify the coupon logic.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Oct 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: One coupon, different categories, different discounts

    Quote Originally Posted by swguy View Post
    Good grief!!
    That's a bit harsh! Two coupons doesn't really address my requirements, however thanks to kuroi I at least know I'm not missing something.

    Being an ASP / MSSQL man by trade I don't think I'll be adapting the coupons module to get this functionality, it's a nice thought though.

    Thanks kuroi for your responses.

 

 

Similar Threads

  1. v150 different discounts on one coupon
    By Kathy_ in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 17 May 2012, 08:24 AM
  2. One linux domain - Different stores from different urls?
    By TShirtJohn in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 4 Oct 2010, 11:49 PM
  3. Different shipping methods for different categories and mixed categories
    By neit in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Aug 2010, 12:20 AM
  4. one product with different sizes, prices and discounts
    By MDEE in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 10 Oct 2007, 01:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR