这里是我的代码。在magento中查找产品的父母代码
$storeId = Mage::app()->getStore()->getId();
$session = Mage::getSingleton('checkout/session');
foreach($session->getQuote()->getAllItems() as $item)
{//how to find parent id here}
在上面提到的评论我想访问该特定产品的父ID。 请帮助..
是不是$ item-> getParentId()工作? – JNDPNT 2013-05-14 12:25:52