Change Magento configurable product to take associated products tax class

Change Magento configurable product to take associated products tax classhttp://blog.goods-pro.com/2250/change-magento-configurable-product-to-take-associated-products-tax-class/

Magento adding new options to a drop down attribute
http://stackoverflow.com/questions/2455048/magento-adding-new-options-to-a-drop-down-attribute

Magento: How to get all associated children product of a configurable product?

http://blog.chapagain.com.np/magento-how-to-get-all-associated-children-product-of-a-configurable-product/

/** * Load product by product id */$product= Mage::getModel('catalog/product')                    ->load(YOUR_PRODUCT_ID); /** * Get child products id (only ids)$childIds = Mage::getModel('catalog/product_type_configurable')                    ->getChildrenIds($product->getId()); /** * Get children products (all associated children products data) */$childProducts= Mage::getModel('catalog/product_type_configurable')                        ->getUsedProducts(null,$product);

Hope this helps. Thanks.

点赞

发表回复

电子邮件地址不会被公开。必填项已用 * 标注