Page 1 of 1

How to add a flat rate?

Posted: Sat Jun 23, 2007 9:23 pm
by Nightmare
I need to have multiple choices about flat rate.

Like it

- Fedex
- TNT
- Ordinary Shipping

etc

any way to do it via admin or something easy?

any solution will be appreciated

Thanks

Re: How to add a flat rate?

Posted: Tue Jun 26, 2007 5:12 pm
by Daniel
Hi,

it has to be coded I'm afraid.

Re: How to add a flat rate?

Posted: Thu Oct 04, 2007 2:07 am
by newperson
Would anyone be willing to explain how to do this?

I'm using the install for php4 and I would also like to be able to add other shipping options.

Thank you.

Re: How to add a flat rate?

Posted: Sat Oct 06, 2007 10:15 am
by d77
can't say what the exact steps would be, but i would imagine you could duplicate the flat rate module and just name each one differently, setting a different flat rate amount.

Re: How to add a flat rate?

Posted: Sun Jul 06, 2008 7:59 pm
by trippy
I've done it and it works

I've renamed the fallowing files
- shipping_flat.php (admin\controller) in shipping_flat2.php
- flat.php (catalog\extension\shipping) in flat2.php
- shipping_flat.php (admin\language\english\controller) in shipping_flat2.php
- shipping_flat.tpl (admin\template\dafault\content) in shipping_flat2.tpl
- flat.php (catalog\language\english\extension\shipping) in flat2.php

In every renamed file, I've replaced every part of code containing "flat" with "flat2" (I've done it automatically with dreamweaver)

In the admin panel -> extensions -> shipping ->insert this new extension with the parameters
Extension Name: Flat Rate 2
Description: Flat Rate Shipping 2
Code: flat2
Directory: shipping
File name: flat2.php
Controller: shipping_flat2

Remember to go in admin-> configuration -> users -> user group -> top administrator to set the permissions to modify and access the new extension

I hope it'll be useful! :*

bye

Re: How to add a flat rate?

Posted: Tue Sep 16, 2008 1:07 am
by Lasse
Hey trippi.

I followed your direction but when i click "Install" next to the Flat rate 2 extension i get a blank screen.

Can you help?

Re: How to add a flat rate?

Posted: Thu Sep 18, 2008 5:03 pm
by trippy
I've given a look to my post because I didn't remember it.... what can I say? It works for me - I think that or you haven't followed all the passages or maybe the "problem" could be that I haven't done it locally but on the internet.... someone else has tried it? does it work or not for someone else? other solutions?

Re: How to add a flat rate?

Posted: Thu Sep 18, 2008 5:08 pm
by JNeuhoff
Trippy posted the right instructions for this.

If you are getting a blank screen, then either you haven't fully followed his instructions, or something else has gone wrong.

Have you checked your server's error log?