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

CommentFileSizeAuthor
#2 2863051-1-checkout-sidebar-panes.patch15.54 KBbojanz

Comments

bojanz created an issue. See original summary.

bojanz’s picture

Status: Active » Needs review
StatusFileSize
new15.54 KB

Initial exploration. Untested completely.

Will need to re-export (+ a post_update hook) the default checkout flow config.

  • bojanz committed 7887beb on 8.x-2.x
    Issue #2863051 by bojanz: Allow the checkout sidebar to contain panes
    
bojanz’s picture

Status: Needs review » Fixed

Done. And added a change request.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.