osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-03-2003, 11:33 AM
Member
 
Join Date: Jan 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Petter
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-15-2003, 09:47 AM
Member
 
Join Date: Aug 2003
Location: Lost
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
WebMistress
Default

What about making Norway the Default country selected, but they still have to go, Yeah, thats where I am?
__________________
~~!!It did WHAT??!!~~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-29-2003, 05:55 AM
Member
 
Join Date: Jan 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Petter
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-23-2004, 11:28 PM
CMWM's Avatar
Member
 
Join Date: Mar 2004
Posts: 35
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
CMWM
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 04-24-2004, 03:04 AM
Member
 
Join Date: Jan 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Petter
Default

nope...
__________________
Petter - Arktisk Pudder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-24-2004, 04:52 AM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-24-2004, 06:27 AM
Member
 
Join Date: Jan 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Petter
Default

Yes, and mine has 1, but that's not the issue...
__________________
Petter - Arktisk Pudder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 05-08-2004, 11:02 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

Sorry, that's the extent of my help. I guess I don't really understand what you want to achieve?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 05-09-2004, 05:43 AM
Member
 
Join Date: Jan 2003
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Petter
Default

Well, if I failed to explain that when I first started this tread, I guess my english really s***s...
__________________
Petter - Arktisk Pudder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 05-09-2004, 10:13 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,078
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

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


All times are GMT -8. The time now is 04:40 AM.


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