Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. $attrType = array();
  2. $attributeValue = $productAttributeOptions[0]['values'];
  3. foreach ($attributeValue as $attrib) {
  4. $attrType[] = $attrib[label];
  5. }
  6. echo "<br/>";
  7.  
  8. $attrValue = array();
  9. // It displays the value of attribute "Qty"
  10. $attributeValue = $productAttributeOptions[1]['values'];
  11. foreach ($attributeValue as $attrib) {
  12. $attrValue[] = $attrib[label];
  13. }
  14.  
  15. $parentId = $product->getId();
  16. return Mage::getResourceSingleton('catalog/product_type_configurable')
  17. ->getChildrenIds($parentId, $required);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement