Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Mulitple flat rates


traceypee

Recommended Posts

get hold of the 2 flat.php

rename appropriately

copy to same dir as the old ones

you have now 2x flat: 1x flat.php + 1x flat_next.php

change inside to reflect new name

goto admin

click on install

add details

ready

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

Thanks for that. I did what you said and it works on the select deliveries page (i.e. it displays the flat rate and the alternative flat rate) but it doesn't show on the confirm order page (i.e. even if you have selected the alternative rate it only shows the normal flat rate).

 

If you've any ideas as to why this would be, I would be eternally grateful.

Link to comment
Share on other sites

there are some more places that you have to change, search for the places where the other flat.php is referenced and add the data for the new one.

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

I can't find these other places where flat.php or flat or FLAT is referenced other than includes/modules/shipping/flat.php and inludes/language/english/modules/shipping/flat.php and I have changed these. Do you have any other suggestions??? thanks for your help.

Link to comment
Share on other sites

sorry, no other changes to be made, i was thinking of new boxes.

 

zones + sort order in the new_flat.php are changed to reflect the diff compared with flat.php?

 

maybe check db with PHPMyAdmin if all is O.K

 

i don't understand why it should not work

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

  • 1 year later...
  • 1 year later...

I have tried just adding a 2flat.php file to both shipping directories and i am not getting the option to install through the admin interface is there something else i must do?

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

I tried this - I renamed the flat.php file flatlarge.php while keeping the original. I did this in includes/mods/ship/ and incl/lang/eng/mod/ship but I get an error message:

 

Fatal error: Cannot redeclare class flat in /hsphere/local/home/smlwfara/crafterscafe.com/catalog/includes/modules/shipping/flatlarge.php on line 13

 

any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...