osCmax v2.5 User Manual
Results 1 to 4 of 4

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

      
  1. #1
    New Member
    Join Date
    Jul 2007
    Posts
    12
    Rep Power
    0


    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!

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    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

  3. #3
    New Member
    Join Date
    Jul 2007
    Posts
    12
    Rep Power
    0


    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

    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 !!

  4. #4
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    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

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •