Vote up!
Vote down!

Continue shopping during checkout process

The Problem
I need to add a button to "continue shopping" in the checkout process. The problem is, once the user clicks checkout in the shopping cart and the browser loads the checkout page the shopping cart is now empty, so if the user goes back to the product list page they cannot add to their current shopping cart. Also, because at this point they are no longer on the checkout process the order is inaccessible as well. They would have to recreate their previous shopping cart selection.

What I would like...
I would like for the shopping cart to remain until the checkout process is completed, and to be able to add a button next to the cancel and continue buttons in the checkout page.

Is this possible?

Asked by: Cory Baumer
on July 1, 2014

1 Answer

Vote up!
Vote down!


That is the default behavior. By default, Drupal Commerce will take an Order that is anything but Checkout:Pending/Complete and move it back to Cart if the user tries to click "add to cart" during the checkout process. I'm not 100% sure how this is effected if we're talking about a single page checkout with the review/purchase order panes being on the first page.

It would be possible to strong arm the current order into Cart using Rules and a set of events/conditions that match your request.


Josh Miller
Answer by: Josh Miller
Posted: Sep 24, 2014