Its good to show all the product options on list page also, This would be more comfortable to customer for product selection when all options are available product list page, instead togo on product detail page.
Just add bellow code to template/catalog/product/list.phtml, to show custom options on product list page
After product collection loop, foreach ($_productCollection as $_product):
load($_product->getId()); $prodAtts = $product->getOptions(); ?>
Before add to cart button, that would be near about
$optionVal)
{
$optStr .= "getId()."]'>";
foreach($optionVal->getValues() as $valuesKey => $valuesVal)
{
$optStr .= "getId()."'>".$valuesVal->getTitle()."";
}
$optStr .= "";
}
echo($optStr);
?>


Leave a comment