Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    Default how to exclude shipping from discount total?

    The title pretty much says it all: how to exclude shipping from discount total?

    I've been searching the forum, but there's no mention of this...

  2. #2
    Join Date
    Jul 2005
    Location
    CA
    Posts
    240
    Plugin Contributions
    0

    Default Re: how to exclude shipping from discount total?

    A question I can answer..rare!

    Ok..in Admin, go to Modules->Order Total

    In my store, I just changed the value of "Shipping" to a lower priority than the discounts.


    Just like products, each factor in the total has a priority as to where it sits in the math.

  3. #3
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: how to exclude shipping from discount total?

    Hm..that didn't help, here's the test order result:


    SUBTOTAL: 99,00

    DISCOUNT: -10,80 (discount is set to 10%)

    SHIPPING: 9,00

    TAX: 17,53

    TOTAL: 97,20

    although the priority has changed, the shipping is still factored in....unfortunately

    any other suggestions?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how to exclude shipping from discount total?

    Adn if you use the Modules ... Order Totals ... Discount Coupon ot_coupon ...

    And change the setting for:
    Include Shipping
    Include Shipping in calculation

    true
    false
    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!

  5. #5
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: how to exclude shipping from discount total?

    Ok now I feel stupid...thank you Linda

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how to exclude shipping from discount total?

    Don'tcha hate it when the silly code does exactly what we tell it to and we don't even remember the conversation?!
    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!

  7. #7
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: how to exclude shipping from discount total?

    To much looking at the code makes you not see the forrest for the trees (or remember that there might be a simple solution in the admin)

 

 

Similar Threads

  1. v151 How to exclude "Sold: NET" items from Quantity discount module
    By mnow in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 20 Jan 2015, 12:23 PM
  2. v139h Exclude a product from discount coupons or quantity discount
    By reiddg in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 7 Aug 2014, 08:21 AM
  3. v139h Exclude category or product from group discount
    By abcisme in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 10 Aug 2012, 02:51 PM
  4. How do I exclude my Donations product from getting 10% discount from Membership?
    By GeekFamily in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Jun 2011, 03:37 PM
  5. Strange total when I exclude tax from discount.
    By gandalf in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 3 Apr 2009, 11:11 AM

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