0

I am fetching the URL params as below.

Mage::app()->getRequest()->getParam('test');

Debugging with echo before the above statement, it works fine. But placing echo after this statement return nothing, only a blank page.

FYI, one of the Mage::app() is working fine here.

Can anyone help me to sort out this issue?

4
  • in which file you are calling this line ? – Hassan Ali Shahzad Feb 18 '19 at 15:19
  • In frontend product detail page. – Ejilarasan J Feb 18 '19 at 15:23
  • Ejilarasan J ! Any update on it ? – Hassan Ali Shahzad Feb 19 '19 at 7:32
  • @HassanAliShahzad Your answer working fine... Thank you – Ejilarasan J Jan 12 at 13:24
1

use following & let me know:

$requestParams = $this->getRequest()->getParams();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.