Search This Blog

Wednesday, May 25, 2011

magento get simple products id from configurable products

magento get simple products id from configurable products
wherer $_product is the configurable product
$ids = $_product->getTypeInstance()->getUsedProductIds();
OR
$loader = Mage::getResourceModel( 'catalog/product_type_configurable' )->load($_product);

1 comment:

  1. Hello,

    Here is the good example for get simple product id at the configure product detail page at the time of selction of dropdown in magento.

    http://www.webslike.com/Thread-How-to-get-simple-product-id-on-configuarable-product-detail-page-in-Magento

    ReplyDelete