On the first checkout page (
checkout/xx/checkout), there is a view which displays line items for the order. The view appears to be named "Shopping cart summary (Commerce Order)"
When I add the standard Delete button to the view (for deleting line items), it causes a Save button to appear below the line items.
How do I remove that Save button?
I tried a form-specific
hook_form_alter(), but didn't find the Save button in the
$form array. It appears to be a form embedded in another form. Reading answer from @Yogesh made me realize that maybe I had the wrong
$form_id and can debug with a general
hook_form_alter() and look for a nested call for the embedded form.