list the values of a product attribute set in magento -


how find values of product's attribute set?

for example, there's product attribute set called shirts - t, attributes of gender, shirt size, , color. starting $_product object, how find values of attributes, e.g. mens, green, large?

i able getting attribute set value in following way:

$product = mage::getmodel('catalog/product')->load($productid);         $prodattributeset = mage::getmodel('eav/entity_attribute_set')->load($product->getattributesetid())->getattributesetname(); 

i want available attribute set values , codes specific attribute set(i.e shirt - t)

$_product = mage::getmodel('catalog/product')->load($productid); 

now suppose want access value of manufacturer of product, consider following code.

$manufacturervalue = $_product->getattributetext('manufacturer'); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -