cancel
Showing results for 
Search instead for 
Did you mean: 

problem with attribute from backend

Highlighted

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

Re: problem with attribute from backend

Hi @elizondo82,

 

Are those attributes configured to be shown at the frontend?

Can you share the attributes configuration?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"