I'm trying to cut down on the number of checkout pages and want to combine the /cart and /checkout pages. Through store > onfiguration > checkout settings > checkout form i'm able to change the default 'Shopping cart contents' pane to use commerce_cart_form instead of commerce_cart_summary, though the cart updating functionality doesn't work when in this context.

It would be great if this functionality could be extended to further what is promising to be a very modular flexible commerce system.

Comments

Demiska’s picture

I'm very very interested in that too! Subscribe.

Simon Georges’s picture

I'm trying to achieve such functionality too.
The problem I have currently, is submitting anything is trying to validate the global checkout form, and there are a lot of mandatory empty fields, so validation fails, and ajax fails too.

generalconsensus’s picture

Demiska/Simon Georges this is incredibly frustrating, i am hoping to work on this too if someone wants to team up we can try to tackle it together.

Thanks!

Simon Georges’s picture

I just discovered '#limit_validation_errors' => array() in the Form API to prevent validation of some sections of the forms, I don't know if it helps.

Lukas von Blarer’s picture

Did anyone accomplish this?

Simon Georges’s picture

I did, using fancy ajax stuff. It actually worked in the end (after submitting a few Commerce patches ;-)).

What are you trying to do exactly?

Lukas von Blarer’s picture

Having an editable cart on the review page. I managed to do so by adding the view with panels so it is outside the checkout form. The main bug now is that the order status is being reset to "cart" as soon as the user changes something and after clicking the continue button being redirected back in the checkout progress.

tterranigma’s picture

Issue summary: View changes

If you want to achieve this now you can use Commerce Cart Form Checkout Pane and Commerce Checkout Ajax.