Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Manipulating Drop-Down Menus


gaglione1

Recommended Posts

I think what gagoline wants its to have USA at the top of list. I too would like to know how to do this but for the UK

Link to comment
Share on other sites

I think what gagoline wants its to have USA at the top of list. I too would like to know how to do this but for the UK

 

 

well, autoselect is via the second parameter of the function tep_get_country_list:

 

 

 

an extra one would be in that function:

 

 

before :

 

$countries = tep_get_countries();

 

 

you add:

 

$countries_array = array(array('id' => '223', 'text' => 'United States'));

 

works the same as the PULL_DOWN_DEFAULT principle.

Treasurer MFC

Link to comment
Share on other sites

Thanks Boxtel,

 

Can you also tell me which file that woul dbe in?

 

Cheers

Link to comment
Share on other sites

Thanks Boxtel, Works a treat :)

 

 

Along a similar line of enquiry, I am having trouble formatting a drop down box in the "Catalog/products attributes". I cannot get the sizes I enter to run in sequence in the drop down menu. Ie: size 36, 37, 38 etc. Any clues?

 

Thanks

Link to comment
Share on other sites

Along a similar line of enquiry, I am having trouble formatting a drop down box in the "Catalog/products attributes". I cannot get the sizes I enter to run in sequence in the drop down menu. Ie: size 36, 37, 38 etc. Any clues?

 

Thanks

Thank you all for the advice. Boxtel - we will be invading Taiwan next ;)

Link to comment
Share on other sites

That works GREAT BUT I want to have two items repeated at the top of the Country List 38/Canada and 223 United States .. how do I do that? Anyone?

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

Thank you all for the advice. Boxtel - we will be invading Taiwan next ;)
Link to comment
Share on other sites

Archived

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

×
×
  • Create New...