Breakfast in Capetown

Magento – Proper use of the ‘GET’ Variable

Once you start doing some Magento coding, you may be faced with loads of errors if you try to use the $_GET['variable'] within functions or some views. So instead try using

$this->getRequest()->getParam('variable');

No comments yet.

Leave a Reply