Add a remove item button on checkout page
On the first step of checkout process I have cart view. but i have to give the customer the chance to remove items from his cart at this stage.
I edited the view Shopping cart summary (Commerce Order) by adding a (Line Item) Commerce Line Item: Delete button (Remove).
But if we show button in view it becomes part of checkout suborm.
It always executes "Continue" button.
I tried to make "remowe" button with #ajax. But ajax 'triggering_element' becomes always first button of checkout form.
I found the same question at Drupal answers
Comments
My current solution is to build products cart table manualy in code directly in my custom commerce pane (without views ). Than my ajax works fine. But this takes a lot of time and my form is not flexible