Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1
    Join Date
    Oct 2006
    Posts
    9
    Plugin Contributions
    0

    Default Multiple flat shipping rates

    Hi, Ive done some searching on how to setup 'Multiple Flat Shipping Rates' but can't find anything that I understand or can figure out. Can anyone help out at all? What I want to do is the following:

    Shipping Method: Standard Express
    Area 1 $6.00 $11.00
    Area 2 $5.00 $12.00
    Area 3 $4.00 $16.00
    Area 4 $7.00 $19.00

    Any help would be appreciated.

    N

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

    Default Re: Multiple flat shipping rates

    How do the two prices relate to Flat for each area?
    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!

  3. #3
    Join Date
    Oct 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Multiple flat shipping rates

    Maybe I should re-phrase my question - I guess I'm not sure how to do the following:

    I want to provide the following shipping options for my customers:

    In the US:
    Standard shipping for $6.99
    Express shipping for $12.99

    In Canada:
    Standard shipping for $8.99
    Express shipping for $19.99

    In a particular province in Canada:
    Standard shipping for $8.99
    Express shipping for $19.99

    In the UK:
    Standard shipping for $8.99
    Express shipping for $19.99

    etc.....

    OR.....can Zen intuitive determine (based on the ZIP or Postal Code) where that person is and thus provide just the 1 of the 'standard' or 'express' shipping options from above?

    Thanks for any help here,
    N

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

    Default Re: Multiple flat shipping rates

    Using Flat Rate shipping you could make 6 sets with different text and amounts ...

    You will find to clone flat.php you are copying 2 files:
    /includes/modules/shipping/flat.php
    /includes/languages/english/modules/flat.php

    To the clones:
    /includes/modules/shipping/flat2.php
    /includes/languages/english/modules/flat2.php
    /includes/modules/shipping/flat3.php
    /includes/languages/english/modules/flat3.php


    Or you can give them more recognizable names such as:
    /includes/modules/shipping/flatusstandard.php
    /includes/languages/english/modules/flatusstandard.php
    /includes/modules/shipping/flatusexpress.php
    /includes/languages/english/modules/flatusexpress.php


    Now you would change in the first set:
    flat to flatusstandard
    FLAT to FLATUSSTANDARD
    flat to flatusexpress
    FLAT to FLATUSEXPRESS

    Then do the next set ... neat eh?
    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
    9
    Plugin Contributions
    0

    Default Re: Multiple flat shipping rates

    Sorry for being such a newbie, I think I was able to follow your directions but am now getting the following error:

    Fatal error: Cannot redeclare class flat in /home/kidcrat/public_html/includes/modules/shipping/flat.php on line 0

    Thanks so much for assisting!
    N

  6. #6
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Multiple flat shipping rates

    Hi,

    As well as duplicating the file several times, each with a unique name, the classes and defines within must be duplicated also.

    That is,

    class "flat" and MODULE_SHIPPING_FLAT_TEXT_TITLE are in flat.php.

    so class "flat2" and MODULE_SHIPPING_FLAT2_TEXT_TITLE should be in flat2.php

    It's easy to do this with the "search and replace" facility in many good text editors.

    Alternatively, I only found this post because I was trying to see if more people are interested in a new shipping module for Zen Cart. It too though would have to be duplicated to provide both standard and express delivery. I suppose one good thing is that you'd only have to duplicate one file instead of creating 7 new ones but it's much of a muchness! :)

    Info about proposed new shipping module

    All the best...

    Conor

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

    Default Re: Multiple flat shipping rates

    NOTE: if you leave a backup copy or a copu of flatrus.php and have not customized the code for flat to flatrus and FLAT to FLATRUS then you will get an error as these are self loading directories ...

    Only load files that are working and complete on the cloning process ...
    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!

  8. #8
    Join Date
    Oct 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Multiple flat shipping rates

    Having problems again - the extra rates are working in the admin and they show up during the checkout process however, when I select one of them and go to the final checkout I'm getting the following error message:

    Warning: Cannot modify header information - headers already sent by (output started at /home/kidcrat/public_html/includes/languages/english/modules/shipping/NFEXPRESS.php:53) in /home/kidcrat/public_html/includes/functions/functions_general.php on line 41

    Any help would be appreciated - thanks,

    N

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

    Default Re: Multiple flat shipping rates

    Fix the language file ... you have space(s) or blank line(s) after the closing php ?> ... remove them then reload the file ...
    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. #10
    Join Date
    Oct 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: Multiple flat shipping rates

    That did it!! Thanks sooooo much - your help was greatly appreciated!

    :)

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v151 US and International Shipping Flat Rates plus calculated shipping rates.
    By Rick5150 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 22 Jan 2013, 10:48 PM
  2. Multiple Flat Shipping rates
    By SKlos in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 16 Nov 2010, 04:50 PM
  3. Multiple flat rates for shipping
    By jmouse in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 18 May 2007, 08:07 AM
  4. Multiple Flat Rates
    By matt g in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 13 Nov 2006, 02:46 PM
  5. Multiple Flat Rates Shipping
    By gems14k in forum Built-in Shipping and Payment Modules
    Replies: 9
    Last Post: 10 Aug 2006, 02:13 PM

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