1

If i change the sort order for cagegory - the page is reloaded and displayed in the address bar: ?dir=asc&order=name and order sorting attribute - How i can get the attributes order=name?

Thanks

1 Answer 1

2
Mage::app()->getRequest()->getParam('order'); //should return 'name'
Mage::app()->getRequest()->getParam('dir'); //should return 'asc'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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