Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Demiska CreditAttribution: Demiska commentedI'm very very interested in that too! Subscribe.
Comment #2
Simon Georges CreditAttribution: Simon Georges commentedI'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.
Comment #3
generalconsensus CreditAttribution: generalconsensus commentedDemiska/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!
Comment #4
Simon Georges CreditAttribution: Simon Georges commentedI 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.Comment #5
Lukas von BlarerDid anyone accomplish this?
Comment #6
Simon Georges CreditAttribution: Simon Georges commentedI did, using fancy ajax stuff. It actually worked in the end (after submitting a few Commerce patches ;-)).
What are you trying to do exactly?
Comment #7
Lukas von BlarerHaving 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.
Comment #8
tterranigma CreditAttribution: tterranigma commentedIf you want to achieve this now you can use Commerce Cart Form Checkout Pane and Commerce Checkout Ajax.