diff --git a/app/code/Magento/Checkout/view/frontend/web/template/summary/cart-items.html b/app/code/Magento/Checkout/view/frontend/web/template/summary/cart-items.html index ed7ad193a12fde35dd2226afdf11f1233887afd8..498a9f852d06be2cc5787091aca7b641b7a45e8a 100644 --- a/app/code/Magento/Checkout/view/frontend/web/template/summary/cart-items.html +++ b/app/code/Magento/Checkout/view/frontend/web/template/summary/cart-items.html @@ -4,8 +4,7 @@ * See COPYING.txt for license details. */ --> -<!-- ko ifnot: isItemsBlockExpanded() --> -<div class="block items-in-cart" data-bind="mageInit: {'collapsible':{'openedState': 'active'}}"> +<div class="block items-in-cart" data-bind="mageInit: {'collapsible':{'openedState': 'active', 'active': isItemsBlockExpanded()}}"> <div class="title" data-role="title"> <strong role="heading"><span data-bind="text: getItemsQty()"></span> <!-- ko if: getItemsQty() == 1 --> @@ -32,33 +31,3 @@ </div> </div> </div> -<!-- /ko --> -<!-- ko if: isItemsBlockExpanded() --> -<div class="block items-in-cart" data-bind="mageInit: {'collapsible':{'openedState': 'active', 'active': true}}"> - <div class="title" data-role="title"> - <strong role="heading"><span data-bind="text: getItemsQty()"></span> - <!-- ko if: getItemsQty() == 1 --> - <!-- ko i18n: 'Item in Cart' --><!-- /ko --> - <!-- /ko --> - <!-- ko if: getItemsQty() > 1 --> - <!-- ko i18n: 'Items in Cart' --><!-- /ko --> - <!-- /ko --> - </strong> - </div> - <div class="content minicart-items" data-role="content"> - <div class="minicart-items-wrapper overflowed"> - <ol class="minicart-items"> - <!-- ko foreach: getItems() --> - <li class="product-item"> - <div class="product"> - <!-- ko foreach: $parent.elems() --> - <!-- ko template: getTemplate() --><!-- /ko --> - <!-- /ko --> - </div> - </li> - <!-- /ko --> - </ol> - </div> - </div> -</div> -<!-- /ko -->