osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Show "2 shipping options" in shopping cart, is that possible ?

This is a discussion on Show "2 shipping options" in shopping cart, is that possible ? within the osCMax v2 Customization/Mods forums, part of the osCMax v2.0 Forums category; Hi everyone, I would like to show 2 shipping options to customer : Regular shipping rate - $8 2day delivery ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 07-11-2007, 05:30 PM
New Member
 
Join Date: Jul 2007
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
kepin is on a distinguished road
Default Show "2 shipping options" in shopping cart, is that possible ?

Hi everyone,

I would like to show 2 shipping options to customer :
  1. Regular shipping rate - $8
  2. 2day delivery / Overnight shipping - $20
How can I accomplish that ? Can it be done from the admin area ? or it needs some code tweak here & there ?

any help would be appreciated !! =)

thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-11-2007, 11:32 PM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 438
Thanks: 3
Thanked 73 Times in 68 Posts
Rep Power: 6
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default Re: Show "2 shipping options" in shopping cart, is that possible ?

yes.
use flat rate shipping... twice...

duplicate the flat rate shipping module, call it flatship2
Set the first flat rate so it shows up with the text of "Standard Shipping"
Set the second flat rate so it shows up with "Expedited Shipping"

Turn both modules on
Set the sort order so that they show up in the order you want.

Viola! two flat rate shipping choices.
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to met00 For This Useful Post:
kepin (07-12-2007)
  #3  
Old 07-12-2007, 08:22 AM
New Member
 
Join Date: Jul 2007
Posts: 12
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
kepin is on a distinguished road
Default Re: Show "2 shipping options" in shopping cart, is that possible ?

wow...thanks !! but i got some error...please bare with me since this is my 1st osCmax experience.

this is what I got

Quote:
Warning: main(/home/content/s/1/m/n4me/html/store/includes/languages/english/modules/shipping/flat2.php): failed to open stream: No such file or directory in /home/content/s/1/m/n4me/html/store/admin/modules.php on line 134

Warning: main(): Failed opening '/home/content/s/1/m/n4me/html/store/includes/languages/english/modules/shipping/flat2.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/s/1/m/n4me/html/store/admin/modules.php on line 134

Fatal error: Cannot redeclare class flat in /home/content/s/1/m/n4me/html/store/includes/modules/shipping/flat2.php on line 13
just duplicate it, right ? or where should I 'define' that there is '2nd flat shipping' ? thanks !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-12-2007, 10:59 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 438
Thanks: 3
Thanked 73 Times in 68 Posts
Rep Power: 6
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
Default Re: Show "2 shipping options" in shopping cart, is that possible ?

okay, every file has "language files" you have to create the second set of language files in /includes/languages/english/modules/shipping/ so just copy the first flat in that directory to the new flat2 in that directory.

Then you need to modify those files so that the defines are different (that way they will show up differently on the customer side, etc).

then you have a fatal error with a redefinition of the class. That means that you have to rename the class in the flat2 to class flat2 (or you can use the current class and just remove the duplicate, but I generally prefer to do the former and not the latter).
__________________
so endith the lesson
<think>sometimes I just sit's and thinks</think>
"Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
How to show "Cart Contents" in custom box? BlindingLight osCMax v2 Customization/Mods 1 05-15-2007 08:41 AM
Template Help "Shopping Cart 0 items" ALElder osCMax v2 Customization/Mods 4 10-22-2006 04:33 PM
"Price" and "Add to Cart" button inside midwestwebsites osCMax v2 Customization/Mods 3 11-14-2005 05:13 AM
"Quick find" options calle osCommerce 2.2 Modification Help 4 12-06-2004 07:33 AM
pictures won't show "https" is culprit bushman osCMax v1.7 Discussion 0 03-24-2004 05:06 PM


All times are GMT -8. The time now is 09:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax