cancel
Showing results for 
Search instead for 
Did you mean: 

problem with attribute from backend

problem with attribute from backend

I create a module, I put a menu on admin.
Ok, on the page I put this code:

$productscollects = Mage::getModel('catalog/product')->getCollection();
        foreach ($productscollects as $productscollect) {
          //$attribute = $productscollect->getResource()->getAttribute('alto');
         echo $productscollect->getSku();
          echo "-". $productscollect->getAncho();
          echo "-". $productscollect->getAlto
          echo "-". $productscollect->getRin();
        }

 

so, it's easy, but the problem is not show the Alto,Ancho and Rin. the sku is working fine.
also, i try with $productscollect->getData("rin"); it is same, not show.
What is wrong?

On the front end is working fine.
Thanks!!

1 REPLY 1

Re: problem with attribute from backend

Hi @elizondo82,

 

Are those attributes configured to be shown at the frontend?

Can you share the attributes configuration?