magento How to get all associated children product of a configurable product
2013-08-26 15:14
393 查看
get associated productIds(获取configurable product关联的simple product id):
get associated products(获取configurable product 关联的simple product):
$childIds = Mage::getModel('catalog/product_type_configurable')->getChildrenIds($_product->getId());
get associated products(获取configurable product 关联的simple product):
$childProducts = Mage::getModel('catalog/product_type_configurable')->getUsedProducts(null,$_product);
相关文章推荐
- How to Get All Product Images in products list page?
- How to know whether the attribute belongs to one types of productin Magento?
- How to Get All Product Images in products list page?
- How to Get All Product Images in products list page?
- How to Get the Frequency Table of a Categorical Variable as a Data Frame in R
- How to get IOleSite interface of the WebBrowser in an ActiveX control
- How to get the root permission of android
- How to get the value of one specified item
- uiview 某点返回 色值 How to get the color of a pixel in an UIView?
- [RxJS] How To get the results of two HTTP requests made in sequence
- How to get the connection strength of Wifi access points?
- How to get information of .a/.so
- How to get Full Rom Dump / Stock ROM of MT6572 MediaTek Smartphones using SPFT and MTK Droid Root an
- How to check all timestamps of a file
- how can i get [5, 7, 13, 2] to go to [5*0, 7*1, 13*2, 2*3] then get the sum of this array.
- How to get the visible region of a window or CDC(转自http://www.programmersheaven.com)
- How to use script to get all Oracle EBS Concurrent Program/Report name and corresponding execution f
- How to get full URL of particular document
- Ruby: How to find all indices of elements that match a given condition?
- How to get control of your time and your life