سؤال

Hi i need get all custom attributes of products on frontend to update

, for that i am using the

<?php $collection1 = Mage::getModel('catalog/product')->load("58"); 
echo "<pre>";
print_r($collection1); ?>

but this doesn’t return the custom attribute in arrays

I have some yes.no attributes and some text attributes for products.

Please suggest me how can i achieve this. thanks

هل كانت مفيدة؟

المحلول

Rohit Goel ,if you want to get all attribute value then used below code

$collection1->getData();
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top