I have a drop down list, which is generated by <?php echo $this->getValuesHtml(); ?>
. Now I would like to store those values in an array. How can I do that ??
-
Please put more details– Amit Bera ♦Commented Apr 5, 2016 at 15:31
-
I am new in Magento. I am working in select.phtml file. I got that code there. That line is printing a drop down list. Now I would like to store those values in an array.– abu abuCommented Apr 5, 2016 at 15:34
-
There is not enough information to help you with. Please add more details. My good guess is you need to add your own function ( similar to getValuesHtml ) that return you the array in stead of markup.– Kurdt94Commented Apr 5, 2016 at 15:53
Add a comment
|