Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how could i do this in account page?


tomliuwhite

Recommended Posts

Posted

We will only have local orders so I only need the ?state? for their billing address. (Ex. TX for Texas) No ?country? necessary in account page. How could i do this? Many thanks in advance!

Posted
We will only have local orders so I only need the ?state? for their billing address. (Ex. TX for Texas) No ?country? necessary in account page. How could i do this? Many thanks in advance!

I want to add another question:Fax Number needs to be required information for us in account page.

How could i do?

Posted

you could use the active countries contribution. Just install it and enable US only. So all pages create account, edit delivery and payment details will show US without a selection list.

 

http://www.oscommerce.com/community/contributions,3607

 

For the fax to be required you could replicate the code in the create_account.php of the telephone. See how it validates phone numbers and do exactly the same for the fax field.

Posted
you could use the active countries contribution. Just install it and enable US only. So all pages create account, edit delivery and payment details will show US without a selection list.

 

http://www.oscommerce.com/community/contributions,3607

 

For the fax to be required you could replicate the code in the create_account.php of the telephone. See how it validates phone numbers and do exactly the same for the fax field.

Thanks for your help. I find another one called "State list dropdown and US default country" http://www.oscommerce.com/community/contri.../search,country

Now i can choose the state from the dropdown list. But i want to know is there a way that i can remove all the other counties except US from the dropdown list?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...