大米CMS官网论坛,大米站长联盟,大米站长之家,大米开发者社区
标题:
Magento1.x获取产品类型实例中方法
[打印本页]
作者:
追影
时间:
2019-5-31 10:53
标题:
Magento1.x获取产品类型实例中方法
$bundledProduct = new Mage_Catalog_Model_Product();
$bundledProduct->load($product->getId());
$selectionCollection = $bundledProduct->getTypeInstance(true)->getSelectionsCollection(
$bundledProduct->getTypeInstance(true)->getOptionsIds($bundledProduct), $bundledProduct
);
复制代码
欢迎光临 大米CMS官网论坛,大米站长联盟,大米站长之家,大米开发者社区 (https://www.damicms.com/bbs/)
Powered by Discuz! X3.1