Right now the checkout sidebar is hardcoded in CheckoutFlowBase and contains the order summary view.
Commerce Promotion needs to be able to add a coupoon redemption pane there.
Plan:
- Rename has_order_summary to has_sidebar
- Rename the buildOrderSummary() method to buildSidebar()
- Remove the order summary setting from checkout flow base
- Define a _sidebar table region.
- Create an OrderSummary checkout pane and assign it to the _sidebar region
- In CheckoutFlowWithPanesBase::buildSidebar() render the panes assigned to _sidebar
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2863051-1-checkout-sidebar-panes.patch | 15.54 KB | bojanz |
Comments
Comment #2
bojanz commentedInitial exploration. Untested completely.
Will need to re-export (+ a post_update hook) the default checkout flow config.
Comment #4
bojanz commentedDone. And added a change request.