Forums / Built-in Shipping and Payment Modules / how to exclude shipping from discount total?

how to exclude shipping from discount total?

Locked

Started by ivanc on 12 Feb 2009, 10:54 PM · Views: 1,257

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
12 Feb 2009, 10:54 PM
#1
ivanc avatar

ivanc

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

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...

13 Feb 2009, 3:21 AM
#2
gemohler avatar

gemohler

Zen Follower

Join Date:
Jul 2005
Location:
CA
Posts:
223
Plugin Contributions:
0

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.

13 Feb 2009, 10:17 AM
#3
ivanc avatar

ivanc

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

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? :cry:

13 Feb 2009, 3:51 PM
#4
ajeh avatar

ajeh

Oba-san

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

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!

13 Feb 2009, 3:58 PM
#5
ivanc avatar

ivanc

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

Re: how to exclude shipping from discount total?

Ok now I feel stupid...thank you Linda

13 Feb 2009, 4:10 PM
#6
ajeh avatar

ajeh

Oba-san

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

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?! :lamo:

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!

13 Feb 2009, 4:17 PM
#7
ivanc avatar

ivanc

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

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) :frusty: