Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Redirect urls in magento with parameters

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 6.23k
    Comment on it

    we can redirect urls in magento with parameters by using magento's default _redirect() function you have to create an array for parameters you want to use in url see the following example:

    $param = array(
                        '_query'=>;array( // add  ? mark to urls
                         'Store'   =>'store1'  , //parameter as store
                          'category_id'=>'121' //parameter as category id
                            )
                        );
        $this->_redirect('manager/account/orders',$param);
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: