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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| What about making Norway the Default country selected, but they still have to go, Yeah, thats where I am?
__________________ ~~!!It did WHAT??!!~~ |
|
#3
| |||
| |||
| 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
| ||||
| ||||
| 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
| |||
| |||
| nope...
__________________ Petter - Arktisk Pudder |
|
#6
| |||
| |||
| 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
| |||
| |||
| Yes, and mine has 1, but that's not the issue...
__________________ Petter - Arktisk Pudder |
|
#8
| |||
| |||
| Sorry, that's the extent of my help. I guess I don't really understand what you want to achieve? |
|
#9
| |||
| |||
| Well, if I failed to explain that when I first started this tread, I guess my english really s***s...
__________________ Petter - Arktisk Pudder |
|
#10
| ||||
| ||||
| 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
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting rid of the dropdown boxes for 'State'... | Willum | osCMax v2 Customization/Mods | 0 | 02-27-2006 10:22 PM |
| Catagorie dropdown has disappeared? | delphi1 | osCommerce 2.2 Discussion | 2 | 01-18-2006 04:28 AM |
| Changing Dropdown to Select Box | doggifts | osCommerce 2.2 Modification Help | 0 | 01-07-2004 02:33 PM |
| From account_details.php Tutorial, what does <?php } ?> | ComposerDainis | osCommerce 2.2 Modification Help | 2 | 06-29-2003 02:15 PM |
| How toCreate Dropdown menu | Anonymous | osCommerce 2.2 Modification Help | 0 | 10-24-2002 09:28 PM |