- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2015
06:31 PM
06-24-2015
06:31 PM
I use below code.
$product = Mage::getModel('catalog/product') ->setStoreId(Mage::app()->getStore()->getId()) ->load($productId) ->setConfiguredAttributes($this->getRequest()->getParam('super_attribute')) ->setGroupedProducts($this->getRequest()->getParam('super_group', array()));
It works.
But I could not find where 'setConfiguredAttributes' method defined in.
Where is it defined in???
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015
07:08 AM
06-25-2015
07:08 AM
if the default product model is not rewerited, then this is a magic method
http://php.net/manual/en/language.oop5.magic.php
any methods not difined in setXxxYyy format will be translated to setData('xxx_yyy')
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015
07:08 AM
06-25-2015
07:08 AM
if the default product model is not rewerited, then this is a magic method
http://php.net/manual/en/language.oop5.magic.php
any methods not difined in setXxxYyy format will be translated to setData('xxx_yyy')
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2015
04:41 PM
06-25-2015
04:41 PM
Re: Where is 'setConfiguredAttributes' method defined in ?
Thank you for your replay!