How to customize mini cart in Magento 2

<item name="template" xsi:type="string">Magento_Checkout/minicart/content</item>

magento/magento2/app/code/Magento/Checkout/view/frontend/web/template/minicart/content.html#L68-L72

<ol id="mini-cart" class="minicart-items" data-bind="foreach: { data: getCartParam('items'), as: 'item' }">    <!-- ko foreach: $parent.getRegion($parent.getItemRenderer(item.product_type)) -->        <!-- ko template: {name: getTemplate(), data: item, afterRender: function() {$parents[1].initSidebar()}} --><!-- /ko -->    <!-- /ko --></ol>

admin

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top