New answers tagged

1

You need to override this file /vendor/magento/module-checkout/CustomerData/DefaultItem.php and add call sort description value here like below /** * {@inheritdoc} */ protected function doGetItemData() { $imageHelper = $this->imageHelper->init($this->getProductForThumbnail(), 'mini_cart_product_thumbnail'); $...


0

Faced the same issue, used single line in ajax success to update mini cart. require('Magento_Customer/js/customer-data').reload(); Full Ajax code: <script type="text/javascript"> require([ 'jquery', 'jquery/ui'], function($){ $('#ck-quick-qosubmit').click(function(){ $.ajax({ url:"/quickadd/quick", ...


3

Override default.html from vendor\magento\module-checkout\view\frontend\web\template\minicart\item\default.html to app\design\yourvendor\yourtheme\Magento_Checkout\web\template\minicart\item\default.html add + and - button as span tag in line number 74 and 84. <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for ...


Top 50 recent answers are included