Forums / Contribution-Writing Guidelines / I need some advices for a shipping modules.

I need some advices for a shipping modules.

Locked

Views: 2,114

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
22 Sep 2007, 8:36 AM
#1
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

I need some advices for a shipping modules.

I currently offer 3 shipping rates to 3 zones (US, Canada, Others). Now I want to offer another shipping option to Others, I want to let them either choose First Class or Priority, is there any way to do this?

Regards.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Sep 2007, 12:10 PM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need some advices for a shipping modules.

I have multiples zones (3 zones), and I want to set multiple shipping methods for each zone, is there any way?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Sep 2007, 2:05 PM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need some advices for a shipping modules.

I want to offer shipping to multiple zones, each zones can have multiple shipping options (first class, priority, ...)
Because of the type of my product, I need only a flat rate for each type, such as:
USA:
Total < 25
First Class: 3usd
Priority: 7usd
25<Total < 50
First Class: FREE
Priority: 4usd

Canada:
Total < 25
First Class: 5usd
Priority: 9usd
25<Total < 50
First Class: FREE
Priority: 6usd
etc....

I'm thinking of creating 3 additional tables like instead of stuffing everything into the configuration table:

        $db->Execute("CREATE TABLE ". TABLE_FLEXIBLEZONE_METHODS ." (
                      id int(10) NOT NULL auto_increment,
                      name varchar(255) NOT NULL,
                      PRIMARY KEY  (ID) 
                    ) ENGINE=MyISAM;");
        $db->Execute("CREATE TABLE ". TABLE_FLEXIBLEZONE_COUNTRIES ." (
                      id int(10) NOT NULL auto_increment,
                      method_id int(10) unsigned NOT NULL,
                      country_id int(10) unsigned NOT NULL,
                      UNIQUE (method_id, country_id),
                      PRIMARY KEY  (ID) 
                    ) ENGINE=MyISAM;");
        $db->Execute("CREATE TABLE ". TABLE_FLEXIBLEZONE_RATES ." (
                      id int(10) NOT NULL auto_increment,
                      method_id int(10) unsigned NOT NULL,
                      minimum_total int(10) unsigned NOT NULL,
                      maximum_total int(10) unsigned NOT NULL,
                      cost int(10) unsigned NOT NULL,
                      PRIMARY KEY  (ID) 
                    ) ENGINE=MyISAM;");

The bad things:

  1. it may slow down the site (but this is not necessarily true tho)
  2. When I want to edit shipping methods, I can't go to admin->modules->shipping but I may have to place a new page somewhere.

So, please give me some advices, should I do this, or is there any better way?

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Sep 2007, 3:14 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: I need some advices for a shipping modules.

Have you looked at Multiple Zones Multiple Tables MZMT by dreamscape for this?

There should be a link to it in his signature ...

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!

22 Sep 2007, 3:15 PM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need some advices for a shipping modules.

I didn't know about that, I will check it right now. Thank you Ajeh.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Sep 2007, 5:43 PM
#6
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: I need some advices for a shipping modules.

I just want to thank you, Ajeh. Without your suggestion I would have wasted my time trying to re-invent the wheel. The mod is exactly what I'm looking for, fantastic.

With best regards.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

22 Sep 2007, 7:30 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: I need some advices for a shipping modules.

Glad that suggestion could help you out ...

Might remember both dreamscape and the Zen Cart Team when you are rich and famous ... :cool:

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!