Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 465467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:22:46+00:00 2026-05-12T23:22:46+00:00

Is it possible to redirect the browser to nth step in the onepage checkout?

  • 0

Is it possible to redirect the browser to nth step in the onepage checkout? If so, how would one go about doing it?

I’m working on a payment module and have a sort of “cancel” action that i would like to return the user to the step in checkout where you choose the payment method.

I currently return the user to the first step of the checkout like so:

$this->_redirect('checkout/onepage', array('_secure'=>true));

Another issue with this is that i does not work all the time, in certain browsers i’d really not like to name this sort of works “sometimes”. Is that something that is known and/or commonly accepted? I have very little actual information regarding this, but i’ve had complaints from customers about this behaviour. They generally won’t give me any specifics so it’s kind of a dead end.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:22:47+00:00Added an answer on May 12, 2026 at 11:22 pm

    checkout/onepage.phtml:

    In PHP

    $step = Mage::app()->getRequest()->getParam('step');
    $stepCodes = array('billing', 'shipping', 'shipping_method', 'payment', 'review');
    
    if (($step) && (in_array($step,$stepCodes)) && ($this->getActiveStep() == 'billing')) {
        $checkout = Mage::getSingleton('checkout/type_onepage');
        $checkout->saveBilling(Mage::getSingleton('checkout/session')->getQuote()->getBillingAddress()->toArray(),false);
        $checkout->saveShipping(Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->toArray(),false);
        $checkout->saveShippingMethod(Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getShippingMethod());
        $activestep = Mage::app()->getRequest()->getParam('step');
    }
    else 
    if($this->getActiveStep()) {
        $activestep = $this->getActiveStep();
    }
    

    In javascript

    accordion.openSection('opc-<?php /* edit */ echo $activestep; ?>');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to make it possible to redirect users from a site to
Is it possible, if so how(!), to auto redirect a user that doesnt have
Is it possible to detect iPhone browser agent in .htaccess and redirect the user
is it possible to redirect an URL www.siteA.com to www.site2.com/Default.aspx?SiteSource=siteA without changing the browser's
I have two urls domain.com / domain.de that redirect to domain.other-host.de Is it possible
I have a website that, when accessed by a mobile browser, to redirect to
I'm working on a solution to redirect http requests from my browser to another
Is it possible to redirect output of external utility to the bottom area of
I am wondering if it's possible to redirect a user to another page from
Is it possible to return a 307 Temporary Redirect from a controller in ASP.NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.