Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Remove Country DropDown in account_details.php

This is a discussion on Remove Country DropDown in account_details.php within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I can imagine that this bugs a lot of people selling inside one country only... I've scanned through loads of ...

      
  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    37
    Rep Power
    0


    Default Remove Country DropDown in account_details.php

    I can imagine that this bugs a lot of people selling inside one country only... I've scanned through loads of threads in several osForums, but the only suggestion I found so far on how to solve the 'problem' (http://forums.oscommerce.com/index.p...=64545&hl=) seems more complicated than need be (my personal opinion...).

    So, here's my question: As my store is restricted to norwegian customers only AND Norway already IS selected in Admin, in what part of account_details.php (or maybe create_account.php ?) could I tep (?) the database for the EXISTING value AND use it (hidden) to let my norwegian customers create an account? My best guess is that the change could be done inside one of these files, I might be totally offTrack...

    I think this way of doing the orderProsess could eliminate the need for contributions such as PurchaseWithoutAccount or GuestAccount, at least for singleCountryStores - the only thing 'extra' a customer is asked for is a password...
    Petter - Arktisk Pudder

  2. #2
    Member
    Join Date
    Aug 2003
    Location
    Lost
    Posts
    65
    Rep Power
    0


    Default

    What about making Norway the Default country selected, but they still have to go, Yeah, thats where I am?
    ~~!!It did WHAT??!!~~

  3. #3
    Member
    Join Date
    Jan 2003
    Posts
    37
    Rep Power
    0


    Default

    I actually dropped all other countries in the database, but that's not helping....

    Can't belive this should be so hard to figure out...
    Petter - Arktisk Pudder

  4. #4
    Member CMWM's Avatar
    Join Date
    Mar 2004
    Posts
    40
    Rep Power
    0


    Default

    Did you figure this out? I am working on it. I have US as the default but I would like to not give any other choices at this time.

  5. #5
    Member
    Join Date
    Jan 2003
    Posts
    37
    Rep Power
    0


    Default

    nope...
    Petter - Arktisk Pudder

  6. #6
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    Default

    My country list has only 3 choices, I'm pretty sure I just deleted all the rest out of the database to get rid of them.

  7. #7
    Member
    Join Date
    Jan 2003
    Posts
    37
    Rep Power
    0


    Default

    Yes, and mine has 1, but that's not the issue...
    Petter - Arktisk Pudder

  8. #8
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    Default

    Sorry, that's the extent of my help. I guess I don't really understand what you want to achieve?

  9. #9
    Member
    Join Date
    Jan 2003
    Posts
    37
    Rep Power
    0


    Default

    Well, if I failed to explain that when I first started this tread, I guess my english really s***s...
    Petter - Arktisk Pudder

  10. #10
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default

    Petter,

    If you want to remove the country choice, I think you would need to rebuild the form and instead of using a dropdown, change it to a hidden form value, and have it be your country.

    I do not think it should be that complicated to do, but I have never tried it.

    My best guess would be to do something like this:
    http://forums.oscommerce.com/index.php?showtopic=88911

    Select the default country then just hide the output, so the customer never sees it. Easy enough.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Page 1 of 2 12 LastLast

Similar Threads

  1. Getting rid of the dropdown boxes for 'State'...
    By Willum in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 02-27-2006, 10:22 PM
  2. Catagorie dropdown has disappeared?
    By delphi1 in forum osCommerce 2.2 Discussion
    Replies: 2
    Last Post: 01-18-2006, 04:28 AM
  3. Changing Dropdown to Select Box
    By doggifts in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-07-2004, 02:33 PM
  4. From account_details.php Tutorial, what does <?php } ?>
    By ComposerDainis in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 06-29-2003, 02:15 PM
  5. How toCreate Dropdown menu
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 10-24-2002, 09:28 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
  •