Linking Simple product to their page listed under Grouped product in Magento

Posted by Yogesh on Stack Overflow See other posts from Stack Overflow or by Yogesh
Published on 2010-03-27T20:36:28Z Indexed on 2010/03/27 20:43 UTC
Read the original article Hit count: 493

Filed under:
|
|
|

I want to add url for each simple product listed under Grouped product in Magento i have changed it with below code in app\design\frontend\blank\default\template\catalog\product\view\type\grouped.phtml but still not work for me it's link but with main group product (Example: Main Grouped product and three simple products Item1 Item2 Item3 but all simple product show same url of ain Grouped product)

<td><a href="<?php $_item->getUrlPath() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a> </td>

and this also

<td><a href="<?php $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a> </td>

i am doing any mistek pls. help how and where to change it

© Stack Overflow or respective owner

Related posts about magento

Related posts about group