I have created one custom module for slider. I want to add product to the slider manually. so i have decided to show product grid under select products tab. I got product grid. But i can't get product id value.
I got following value,when i use var_dump()
array(14) { ["form_key"]=> string(16) "mdfqCbKxuebW87wT" ["title"]=> string(4) "TEST"
["status"]=> string(0) "" ["c_id"]=> string(2) "12" ["store"]=> string(1) "5"
["page"]=> string(1) "1" ["limit"]=> string(3) "100" ["in_category"]=> string(0) ""
["entity_id"]=> string(1) "," ["name"]=> string(0) "" ["type"]=> string(0) "" ["sku"]=>
string(0) "" ["websites"]=> string(0) "" ["links"]=> string(0) "" }
product grid returns an empty value
its describe, product grid under select products tab.
https://docs.google.com/file/d/0B9pmknBzwZOuQ3k2M1BLQmhzMFE/edit
Here is my complete code
I can't understand where is problem arise! If you found any thing wrong here, please save me guys!
Thank you
Warning: array_keys() expects parameter 1 to be array, null given in /home/lucas/workspace/personal/proxiblue/app/code/local/Chilly/Imageslide/Block/Adminhtml/Imageslide/Edit/Tab/Product.php on line 148