문제

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