Jump to content

Order step 2 returns 302 Moved Temporarily


Recommended Posts

Hello,

 

I am new in prestashop. I would like to create new order, but in step 2 prestashop returns page with status code 302 Moved Temporarily. This page is called repeatedly again and again and at the end chrome returns error TOO_MANY_REDIRECTS. I don't know what is wrong...

 

Could you help me to solve this problem?

 

Thank you.

Myth Rush

Link to comment
Share on other sites

Hello,

 

I made a new fresh installation of latest prestashop 1.4.7 Full mode: includes core modules, 100+ additional modules and demo products (FREE). After installation I changed in administration "Purchase without registration" (guests can shopping without registration). When I want to make order withnout registration (as a Guest) this issue was happened (302 Moved Temporarily).

 

 

Thank you.

Myth

Link to comment
Share on other sites

  • 3 weeks later...

I changed line 271 in OrderController.php from:

if (self::$cookie->is_guest)

to:

if (self::$cookie->is_guest && $this->step != 2)

This appears to have solved the issue. I can now place orders as a guest on the 5-step checkout. If I see other issues I'll log them.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...