Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    So I'm using the table rates under the shipping options in Zen Cart.

    I have my rate tables in correctly.


    25 & under- $5.99

    25.01 - 50.00- &7.99

    50.01 - 100.00- $10.99

    100.01 - 150.00- $13.99

    150.01 - 200.00- $14.99

    200.01 +over- $16.99


    I just need to be able to add an option 2nd day air +$8.00 and Next Day +17.00 not sure on how to go about it. Any help would be appreciated.
    Last edited by Computra; 11 Feb 2009 at 07:25 PM.

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

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    You could clone the table.php to tablenextday.php and tablesecondday.php and alter the rates ...
    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: v1.5.5]
    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
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    Doing a search on:
    clone table
    clone flat

    should give you several posts on the details to doing this ...
    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: v1.5.5]
    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!

  4. #4
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    Thanks! I was afraid that was the answer. I had looked at that earlier but couldn't find the specifics. I'll just dig deeper :)

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

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    copy the files:
    /includes/modules/shipping/table.php
    /includes/languages/english/modules/shipping/table.php

    to the files:
    /includes/modules/shipping/tablenextday.php
    /includes/languages/english/modules/shipping/tablenextday.php


    Case Sensative ... change all occurances of:
    MODULE_SHIPPING_TABLE_

    to read:
    MODULE_SHIPPING_TABLENEXTDAY_


    Case Sensative ... change all occurances of:
    table

    to read:
    tablenextday
    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: v1.5.5]
    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. #6
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    Instead of just searching for table I searched for table.php

    If I do a find and replace for just table it looks like I could change things I wouldn't want to change such as where table exists in the following snippet

    $table_cost = split("[:,]" , MODULE_SHIPPING_TABLE2NDDAY_COST);
    $size = sizeof($table_cost);
    for ($i=0, $n=$size; $i<$n; $i+=2) {
    if (round($order_total,9) <= $table_cost[$i]) {
    if (strstr($table_cost[$i+1], '%')) {
    $shipping = ($table_cost[$i+1]/100) * $order_total_amount;
    } else {
    $shipping = $table_cost[$i+1];

  7. #7
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    I have updated all files appropriately

    Only the nextdayair table option shows up under the modules->shipping list

    I have double checked the changes I made. Not sure where I went wrong that both cloned tables aren't showing.

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

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    Technically, $table_cost can also be changed to $table2ndday when you change all $table to $table2ndday ...

    Look to see if you have all shipping modules showing in the Modules ... Shipping ... and if there are any error messages or if you are missing the last line under the list for:
    Module Directory: /home/your_user_name/public_html/your_directory/includes/modules/shipping/
    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: v1.5.5]
    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!

  9. #9
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    Got it all working somehow one of the files corrupted but looked fine when I opened it.

    All is working now.

    My only issue is I want to change where it says Table Rate or Best Way and I can't find where to do that and have found only one forum thread and there wasn't any answers on how to do that.

  10. #10
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: One Flat Rate Shipping Table w/ 2nd Day Air and Next Day Air Options

    Oh darn windows search and not working properly.

    Searched within a folder using Notepad++ and found what file it was in.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Shipping problems - UPS only giving Next Day and 2nd day?
    By ijarofjami in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 3 Oct 2009, 04:13 AM
  2. Require UPS 2nd Day Air based on Category of Item
    By alias3729 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 27 Feb 2009, 06:06 PM
  3. UPS next day air shipping estimator
    By Scorpiowoman in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 8 May 2008, 09:31 AM
  4. ups next day and 2nd day air charges
    By anthobf in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Aug 2006, 08:47 PM
  5. ups next day and 2nd day air charges
    By anthobf in forum General Questions
    Replies: 1
    Last Post: 24 Aug 2006, 01:34 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR