Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Prevent discount coupons from being applied to attributes

    Is there a configuration setting I can change so that discount coupons do not apply to attributes?

    I have some products that have attributes, for example custom engraving, the attribute adds certain cost. I don't want the discount coupon to apply to the cost the attribute adds.


    Thanks.

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

    Default Re: Prevent discount coupons from being applied to attributes

    Alas, there isn't a setting for 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
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: Prevent discount coupons from being applied to attributes

    Thanks for confirming this. So now on to look for the code to do this...

    I just saw there are some settings so that sale/specials do not apply, what is the file that controls this so I can take a look and maybe come up with a solution?

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

    Default Re: Prevent discount coupons from being applied to attributes

    includes > modules > order_total > ot_coupon.php

    ... but be warned, there's an awful lot of potential headaches lurking in that dusty corner.
    Kuroi Web Design and Development | Twitter

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

  5. #5
    Join Date
    Mar 2005
    Location
    California
    Posts
    663
    Plugin Contributions
    0

    Default Re: Prevent discount coupons from being applied to attributes

    I meant the file that has the code for preventing sales/specials from applying to applying to attributes. That doesn't appear to be in the ot_coupon.php file.

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

    Default Re: Prevent discount coupons from being applied to attributes

    There isn't any code for doing this. You'll have to create it.

    If you want the coupon to apply to the products, but exclude any uplifts from the attributes then you need to insert yourself where the coupon value is calculated and used, which is in the file I referred to above.
    Kuroi Web Design and Development | Twitter

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

 

 

Similar Threads

  1. Can I prevent discount codes from being used on Special items that are on sale?
    By 4130 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 13 Jun 2013, 10:28 PM
  2. v150 Prevent coupons from being used by member groups
    By gtgeorge in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 29 Jun 2012, 12:28 PM
  3. How to prevent Product Attributes from being discounted?
    By rikahsdesign in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 17 Oct 2008, 07:43 PM
  4. Prevent Coupons from being combined?
    By HandcraftedUK in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 27 Sep 2007, 08:41 PM
  5. restricting coupons from being applied to specials
    By tj1 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 2 Apr 2007, 01:30 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