Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra field to product from drop down menu


Salvo

Recommended Posts

Posted

Hi all

 

I have added an extra field to the product details:

Added FIELD to PRODUCT table

added input field in category.php to add the extra information to the table and works nicely..

 

However, because in this field I MUST enter one out of 5 names, and MUST be correct, I have decided to have a drop down menu to pick the name I have to enter.

 

Can someone adivice on how best go about this:

 

<select name="StationsList" size="1">

<option value="0">Select a station</option>

<option value="1">Station 1</option>

<option value="2">Station 2</option>

<option value="3">Station 2</option>

<option value="4">Station 2</option>

<option value="5">Station 2</option>

</select>

Posted

let me know if you get the answer to this as I am interested in the same conundrum.

 

Thanx.

Your online success is Paramount.

Posted

Maybe I should make the question in different way.

 

I have only 5/10 type of model and insted of entering the MODEL NUMBER into the field, I want to have the drop down menu with the 5/10 numbers.. NOT IN THE DATABASE, JUST A DROP DOWN

 

HOW DO I DO IT? MAST BE A SIMPLE WAY, I TRIED AND FAILD

 

thanks

 

Salvo

Archived

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

×
×
  • Create New...