Get simple product id from Configurable Product in Wishlist Cart


Hey Guys,

Today i am going to give the code to get the choosed simple product id from configurable product in Wishlist.

$item object should be instance of this class Mage_Wishlist_Model_Item

$item->getOptionByCode('simple_product')->getValue()

Thank you.

Advertisements