Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default 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

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Zones Table Rate Shipping Module

    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

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default 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:
    PHP Code:
            $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?
    Last edited by yellow1912; 22 Sep 2007 at 03:08 PM.
    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

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

    Default 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!

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default 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

  6. #6
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default 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

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

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

 

 

Similar Threads

  1. Shipping Modules not working for some reason
    By timhersh in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 2 May 2012, 02:17 PM
  2. starting with ZenCart... need some advices
    By ProACASA in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Jun 2009, 03:05 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