cancel
Showing results for 
Search instead for 
Did you mean: 

additem collection

additem collection

Hello, I try additem collection from controller. example

 

public function additempopup()

{

$data = array('nom' =>$itm1, 'nom1' =>$itm2, 'nom2' =>$itm3);
$obj = new Varien_Object($data);
Mage::getModel('list/list')->getCollection()->addItem($obj);

}

 

later, I want to go to grid custom, but I can't see the item.

My intension is add item collection and later save, when i click save the button. from catalog_ product

1 REPLY 1

Re: additem collection

Sorry, I'm not really following what you're trying to do here. Would it be possible to share more background on the task you're trying to achieve and more of a code sample of what you've tried so far? Many thanks. 

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