Jump to content
Sign in to follow this  
traceypee

Mulitple flat rates

Recommended Posts

:rolleyes:

I need to add two different flat rates. One rate for normal delivery and one higher rate for next day delivery.

 

Any suggestions on how i can do this??

Share this post


Link to post
Share on other sites

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."

Share this post


Link to post
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.

Share this post


Link to post
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."

Share this post


Link to post
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.

Share this post


Link to post
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."

Share this post


Link to post
Share on other sites

I fixed it!! the name of my new file was flat_next_day.php so I removed the underscores and it worked!

 

Thanks again for all your help John.

Share this post


Link to post
Share on other sites

no underscores? and that did it? strange :huh:

 

well it goes to the archive, memory is not what it used to be :D


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

Share this post


Link to post
Share on other sites

Is there a way to only use Flat Rates for Certain products on the site?

 

For example:

 

Type A products: regular shipping only

Type B products: regular shipping only

Type C products: Flat Rate Shipping ONLY?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

I have just done the above but it is not showing up as an option at the check out, what have I done wrong?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×