I have one flat rate shipping option, I wanna make 2 more flat rate shipping options, but I can't get it to show up in the admin modules section...please advise.
Latest News: (loading..)
How to copy a shipping module?
Started by Bobbot20, Dec 02 2003, 01:41
9 replies to this topic
#1
Posted 02 December 2003, 01:41
#2
Posted 02 December 2003, 03:10
take for instance ups.php in modules folder. change the name to FILENAMEYOUWANT.php. find the reciprocal file in the language directory, copy and change its name. begin editing both, and youre on your way.
(sorry for bad punctuation, spelling, etc, Im in a hurry)
(sorry for bad punctuation, spelling, etc, Im in a hurry)
#3
Posted 03 December 2003, 01:00
Hmm...I tried that, but things didn't work out. Maybe I did it wrong, can you lay it out a lil clearer plz...thanks!
#4
Posted 05 December 2003, 02:07
Anybody...please?
#6
Posted 06 December 2003, 00:46
Wow thanks, that helped!
One more problem, is now when they reach over $25, they get free Media Rate shipping (that's good), but that copies over everything else.
Is there a way to make Free Shipping, in addition with everything else, only when they are over $25?
One more problem, is now when they reach over $25, they get free Media Rate shipping (that's good), but that copies over everything else.
Is there a way to make Free Shipping, in addition with everything else, only when they are over $25?
#7
Posted 06 December 2003, 06:49
Taylor,
I did not get your requirement
I did not get your requirement
#8
Posted 24 December 2003, 03:35
OK, this one is killing my brain....
Version: MS 2.2
I have flat rate shipping on, and set it to $0. I also have a copy of the flat rate module, and renamed it to flat_ups (did this to replace UPS). I set this new module to $9.
Here is the problem:
If the original flat rate ($0 one) is not active, then the new one ($9 one) doesn't show up! If Both are active, then the $0 flat rate always shows up on the confirmation page (even though I select the $9 one)!
I think this is the problem Bobbot20 is having also.
Please help. Thanks.
Version: MS 2.2
I have flat rate shipping on, and set it to $0. I also have a copy of the flat rate module, and renamed it to flat_ups (did this to replace UPS). I set this new module to $9.
Here is the problem:
If the original flat rate ($0 one) is not active, then the new one ($9 one) doesn't show up! If Both are active, then the $0 flat rate always shows up on the confirmation page (even though I select the $9 one)!
I think this is the problem Bobbot20 is having also.
Please help. Thanks.
PHP may one day be destined to save the world! Then again, maybe not.
#9
Posted 15 February 2011, 06:32
I realise this is an oooold post, but this is exactly the problem I'm having. I've spent half the afternoon on this, originally copied flat.php and changed all variable names and hit this problem, then downloaded http://www.oscommerce.com/community/contributions,1470/ and have hit exactly the same thing with this.
If flat.php is installed (regardless of whether it's enabled), any modules which were copied from flat.php will NOT be displayed in checkout (unless their filename appears before flat.php in which case flat.php won't show up). Why is this so and how do I get around it?
Please help!!
If flat.php is installed (regardless of whether it's enabled), any modules which were copied from flat.php will NOT be displayed in checkout (unless their filename appears before flat.php in which case flat.php won't show up). Why is this so and how do I get around it?
Please help!!
#10
Posted 15 February 2011, 07:38
I can't believe it was that simple... this happens if you have two shipping modules installed which have the same sort order! Unlike payment methods, it seems OSC is pretty fussy about this. Because default sort order is 0 all modules started off with 0 so you end up with duplicates.
It may not fix every single instance of this but I'm reliably getting it to repeat on my installation.
Hope this saves some aspirin on someone else's part.
It may not fix every single instance of this but I'm reliably getting it to repeat on my installation.
Hope this saves some aspirin on someone else's part.














