Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $attrType = array();
- $attributeValue = $productAttributeOptions[0]['values'];
- foreach ($attributeValue as $attrib) {
- $attrType[] = $attrib[label];
- }
- echo "<br/>";
- $attrValue = array();
- // It displays the value of attribute "Qty"
- $attributeValue = $productAttributeOptions[1]['values'];
- foreach ($attributeValue as $attrib) {
- $attrValue[] = $attrib[label];
- }
- $parentId = $product->getId();
- return Mage::getResourceSingleton('catalog/product_type_configurable')
- ->getChildrenIds($parentId, $required);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement