Community Forums 

Main Content

Re:How to show an option but make it un-orderable?

    Sep 29 2010 12:29:54

    #1

    pcguy

    Join date : 2008-09-18      Posts : 130

    To make an item in an option list unorderable it's dead simple just do this, you can even leave the price intact as well for later reference when it is stocked

    <option value="Blue-out of stock:1.99" disabled>Blue - Out of stock</option>

    Have a look on my site here to see it in action here

    http://www.grahamscomputers.summerland.net.au/laptops.htm

    select a laptop from the dropdown and you will notice 2 you can't select at all