Hello Kellan,

Were does this peace of code have to go, were do i put it ?

regards,



Quote Originally Posted by kellan4459 View Post
I added the following to make the quantity show in select boxes if a quantity is specified for the individual attribute since some of my products will use the Item Quantity and not an individual item attribute quantity.


Code:
if($products_options->fields['quantity'])
{
	$products_text_to_use = $products_options->fields['products_options_values_name'] . " (" .  $products_options->fields['quantity'] . " Available)"; //yes Available is improperly hard coded 
} 
else 
{
	$products_text_to_use = $products_options->fields['products_options_values_name'];
}
        $products_options_array[] = array('id' => $products_options->fields['products_options_values_id'],
        'text' => $products_text_to_use);