At the bottom of "/admin/commerce/config/checkout/form/pane/cart_contents" there is an option "Checkout pang configuration" where you can select a view to be used to render the cart contents checkout pane.

I expected by selecting another view that the display of the cart content at "/cart" would change. It didn't.

Attached is a patch that makes the function "commerce_cart_view()" render the configured view+display and not the hardcoded "commerce_cart_form|default" view.

CommentFileSizeAuthor
commerce_cart_view.patch957 bytesweseze
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, commerce_cart_view.patch, failed testing.

rszrama’s picture

Category: Bug report » Support request
Status: Needs work » Closed (works as designed)

As the form indicates, this is for the cart contents checkout pane, not the /cart page. /cart is not part of the checkout form - it's the Cart form, and it's powered entirely by a page callback rendering a View in the Cart module.