Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No drop-down menu, if only one choice


MinkgLove.com

Recommended Posts

Hey all,

 

I have some product attributes, which have only one choice in certain products.

 

As it doesn't make sense to show a single choice in a drop-down menu, I would like to tweak the product_info.php file in such a way, that the drop-down menu is only shown, if there are at least two choices per given attribute.

 

If there is only one choice, the output should be just the text, without the pull=down menu. Any ideas how to change the code?

 

Thanks! >_<

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...