Page 1 of 2 12 LastLast
Results 1 to 10 of 20

2 table rates

This is a discussion on 2 table rates within the Table Rate forums, part of the Shipping Modules category; Hello I need some help and insight on shipping modules. We are based out of Canada and don't have any ...

      
  1. #1
    Member
    Join Date
    Aug 2008
    Location
    Canada
    Posts
    61
    Rep Power
    4


    Question 2 table rates

    Hello

    I need some help and insight on shipping modules. We are based out of Canada and don't have any actual weights in the system so are basing shipping on price. We want to charge Canada with a table rate (works fine) but we also want US to have a table rate too. Is this possible? If so how would I do it?

    Thanks
    Brandon

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: 2 table rates

    Yes you can..... COPY all of the table.php files - name to say tables_us.php

    In all files - search for:
    TABLE_

    Rename to
    TABLE_US_

    In the language file you might want to change "Table Rate" to "Table U.S. Rate"

    Then install it and use for only US zone.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    Lurker
    Join Date
    Feb 2009
    Posts
    2
    Rep Power
    0


    Default Re: 2 table rates

    Can I hijack this post and ask.. ... a q?

    I want to do 2 table rates for my store. One for general post rate and one for express post. I use pre-paid bags so I know how much they are.

    Can I do what was suggested above by JPF and get the table.php file(from catalog/includes/modules/shipping) and then just have 2 shipping options? Can I edit the new tables.php file to say its for express post?
    Last edited by Totallymumsandbubs; 02-23-2009 at 04:57 AM. Reason: mistake

  4. #4
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: 2 table rates

    Yes - it should work - use the same ZONE and both should show up. Change text as needed. TABLE to say TABLE_EXP and the text in both to something more suitable.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  5. #5
    New Member
    Join Date
    Aug 2009
    Posts
    19
    Rep Power
    0


    Default Re: 2 table rates

    Hi there,

    I have followed the above steps and rename Table_ to Table_US,

    However, when I load the shipping module page, it has the following error:

    Fatal error: Cannot redeclare class table in /mnt/w0106/d07/s29/b026b7e1/www/abc/shopcart/catalog/includes/modules/shipping/table_us.php on line 13

    Any idea?

    Thanks

  6. #6
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default Re: 2 table rates

    There is no Table_ --- there is TABLE_

    Do not change anything that is "table" to "Table_US" as it will break things.

    Case is SENSITIVE and IMPORTANT. Make sure you copy all table.php files to table_us.php .
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  7. #7
    New Member
    Join Date
    Aug 2009
    Posts
    19
    Rep Power
    0


    Default Re: 2 table rates

    Thanks for the help

  8. #8
    New Member
    Join Date
    May 2010
    Posts
    29
    Rep Power
    0


    Default Re: 2 table rates

    Hi,
    Can someone please clarify for me please, I want to create 2 table rates, one for normal Royal Mail small packages and one courier table rate.
    If I have the existing table rate set up for Royal Mail do I just copy the file and rename the new one to table_2.php, then change the references from TABLE_ to TABLE_2_ and thats it? Do I need to add anything to the database?
    Thanks

  9. #9
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,427
    Rep Power
    47


    Smile Re: 2 table rates

    Which courier are you intending on using? Most of them have a shipping module which can easily be installed ...

    Regards,
    pgmarshall
    _______________________________

  10. #10
    New Member
    Join Date
    May 2010
    Posts
    29
    Rep Power
    0


    Default Re: 2 table rates

    Business post

Page 1 of 2 12 LastLast

Similar Threads

  1. Post Table Rates on the fly on shipping.php
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 02-17-2008, 12:38 AM
  2. Table Shipping Rates By Weight Not Working Correctly
    By Twister in forum osCMax v2 Features Discussion
    Replies: 1
    Last Post: 12-14-2007, 02:07 PM
  3. Need multiple shipping table rates for shopping cart
    By teksavvy in forum osCommerce 2.2 Modification Help
    Replies: 5
    Last Post: 12-06-2004, 09:29 AM
  4. CA tax rates
    By chettr in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 04-15-2004, 08:05 AM
  5. Add new fields/table to product table
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-21-2002, 05:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •