0

I'd like to be able to use the Review Order pane twice in the Commerce Checkout... first before the customer enters payment and then again when they Confirm the order.

Or do I need to create a new Pane?

Is this possible? How?

1 Answer 1

1

I haven't completely tried this out, but you can duplicate the pane by implementing hook_commerce_checkout_pane_info_alter. Something like:

function mymodule_commerce_checkout_pane_info_alter(&$checkout_panes) {
  $checkout_panes['my_checkout_review'] = $checkout_panes['checkout_review'];
  $checkout_panes['my_checkout_review']['title'] = '[Duped] Review'; // to differentiate
}

I don't know what the consequences are of having two review panes, but I think this would be a good starting point.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.