If this is your first visit, check our documentation. To post, register or login.
Forums / Built-in Shipping and Payment Modules / shipping a percent of total order per zone

shipping a percent of total order per zone

Started by george_susini on 1 Apr 2009, 5:48 PM · Views: 5,508

Results 1 to 13 of 13
1 Apr 2009, 5:48 PM
#1
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

shipping a percent of total order per zone

Hi Everyone,
I have looked everywhere and can not find any way zen can calculate shipping as a percent of the total order, by zone. Does anything like this exisit ?

Thanks in advance

George Susini Raleigh Tech Consulting - Raleigh, NC

1 Apr 2009, 6:45 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: shipping a percent of total order per zone

The Zone Rate allows you to enter the rate with a Percentage on the last value ... if this is the only value then you should be able to use it ...

Note: if you need more than 3 Zones, customize the module first ...

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!

1 Apr 2009, 8:50 PM
#3
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

Re: shipping a percent of total order per zone

Ajeh,
Thanks that works perfect. Your advice in another post regarding a flat rate would be more for states will probably give me the total solution combined with this module

http://www.zen-cart.com/forum/showthread.php?t=73310

George Susini Raleigh Tech Consulting - Raleigh, NC

2 Apr 2009, 4:41 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: shipping a percent of total order per zone

Thanks for the update that this was able to resolve things ... :smile:

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!

6 Apr 2009, 12:36 PM
#5
suehigman avatar

suehigman

New Zenner

Join Date:
Jan 2009
Posts:
38
Plugin Contributions:
0

Re: shipping a percent of total order per zone

Hi there,

I am trying to create the same thing where there is a percentage for shipping. I am a bit confused on how to came up with the solution.

Can you explain what you did?

thanks
Sue

6 Apr 2009, 12:54 PM
#6
suehigman avatar

suehigman

New Zenner

Join Date:
Jan 2009
Posts:
38
Plugin Contributions:
0

Re: shipping a percent of total order per zone

I think I got it. Sorry.

8 Apr 2009, 7:05 PM
#7
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

Re: shipping a percent of total order per zone

I put this but now it is not working, just adding $25, what did you do ?

George Susini Raleigh Tech Consulting - Raleigh, NC

8 Apr 2009, 8:30 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: shipping a percent of total order per zone

What was the solution that worked for you? :smile:

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!

10 Apr 2009, 3:46 PM
#9
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

Re: shipping a percent of total order per zone

I have slected price as the method then put 10000:25% and it just gives me $25, I did 10000:25 and it gives me $25

George Susini Raleigh Tech Consulting - Raleigh, NC

10 Apr 2009, 4:13 PM
#10
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

Re: shipping a percent of total order per zone

Ok, I fixed my own problem, I am using the zone table for states, so I went in zonetable.php and modifed line 137 from

$shipping = $table_cost[$i+1];

to

$shipping = $order_total*$table_cost[$i+1];

then I change the zone rate 10000:.25

Now it works

George Susini Raleigh Tech Consulting - Raleigh, NC

10 Apr 2009, 4:22 PM
#11
ajeh avatar

ajeh

Oba-san

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

Re: shipping a percent of total order per zone

I see ... you were not using the Zone Rate zones that comes with Zen Cart, but rather an Add on and the solution I was giving your for the Zone Rate zones was not working ...

Thanks for posting the solution to the add-on that you are using ... :smile:

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!

11 Apr 2009, 1:07 PM
#12
george_susini avatar

george_susini

New Zenner

Join Date:
Mar 2009
Location:
Raleigh, NC
Posts:
31
Plugin Contributions:
0

Re: shipping a percent of total order per zone

Yes, My solution grew into a Hybrid solution due to the specialized shipping requirements of my customer by state, but you did help me get the solution working. Many thanks !

George Susini Raleigh Tech Consulting - Raleigh, NC

25 Jan 2011, 12:34 AM
#13
miguel991 avatar

miguel991

New Zenner

Join Date:
May 2010
Location:
Colorado
Posts:
11
Plugin Contributions:
0

Re: shipping a percent of total order per zone

Hi everyone,

I am attempting to set a set shipping expense for Alaska and Hawaii, but cannot find anywhere where I can set the table rate for specific US States. Can someone please point me in the right direction.

I am using v. 1.3.9f.

Also, will this force the user to one shipping method? I don't want several options, i.e., free shipping, reduced shipping available to other states, etc. that the user can choose from.

Thanks very much for any assistance.

Michael