Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [mini-cart]

denotes questions related to Magento mini cart

0
votes
0answers
9 views

Mini cart with zero price for all the configurable products except first item

While adding set of configurable products to cart, it gets added and showing correct data in checkout/cart page, whereas in mini cart it is showing zero price for all the configurable products except ...
3
votes
1answer
51 views

Magento 2.3 Minicart check if subtotal is above value

I want to check inside my /app/design/frontend/theme/theme/Magento_Checkout/web/template/minicart/subtotal/totals.html file if the subtotal is larger than 29.95. I want to display some additional ...
2
votes
1answer
29 views

Magento 2: How to disable Quantity Box for specific product from checkout cart and minicart

How can we disable Quantity Box for specific product from checkout cart and minicart? I have already search for the solution but it will disable quantity for all products reference URL Your help ...
1
vote
2answers
26 views

How to show base image on minicart in magento2.1.7?

I want to show base image in minicart and checkout, Right now it is showing thumbnail images in magento2.1.7 I don't have any thumbnail images for my product so I need to point it as base image. Any ...
1
vote
1answer
15 views

Magento2: mini-cart not empty after programmatically placing an order on success page

I have a custom payment gateway module. When you click on the Place Order button on checkout, it redirects you to an external payment page & after that you return to a custom controller on that ...
0
votes
1answer
22 views

Move Minicart responsive

we are using Magento 2.2.6 an rebuilding the desing. We plan to move the minicart when the width is small (on smartphones). But we cant do this with css. When we initialize the minicart twice in phtml ...
1
vote
3answers
70 views

Magento 2 override minicart.phtml in custom module

I'm trying to override minicart.phtml file from Magento2\vendor\magento\module-checkout\view\frontend\templates\cart\minicart.phtml to my custom module Magento2\vendor\XXXX\YYYY\view\frontend\...
2
votes
2answers
43 views

How to update Minicart count after remove product Programatically on cart page

I have created automatically remove product with a specific ID Functionality. So when the customer removes any product my specific ID product will be automatically removed. I have done below code ...
0
votes
0answers
7 views

JS Error breaks Minicart in developer mode only Invalid template file

I'm working on a project and I'm getting the below browser console error only in developer mode when I add an item to the cart Invalid template file: 'cart/item/price/sidebar.phtml' in module: '...
1
vote
3answers
79 views

Cart details not getting in mini cart

For some purpose (something like popup) I'm trying to fetch cart details in minicart.phtml from Magento2\vendor\magento\module-checkout\view\frontend\templates\cart\minicart.phtml. I directly ...
0
votes
0answers
9 views

How to call a template after minicart is loaded in magento 2

How to call a template after minicart is loaded in magento 2 I wish to call the template for all the pages after the quote is created. So please provide me a solution to cal a template after the quote ...
0
votes
0answers
22 views

Mini cart content not rendering properly in Magento 2?

I am using Magento 2.3 I have custom header and I have added minicart in the header but the issue is that content is not rendering in minicart properly. Please refer below screenshot: As you can ...
0
votes
0answers
30 views

Magento 2 weird error

When I click this setting icon I get this following error. 1 exception(s): Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested product doesn't exist Exception #0 (Magento\...
0
votes
0answers
19 views

magento 2.18 minicart does now show

I use Magento 2.1.8 and some time mini cart does not show on page (each page) this is mini cart image and console log
6
votes
1answer
184 views

Magento 2 : How to reload minicart from Plugin?

I've written plugin for Magento\Checkout\Controller\Cart::Delete Plugin works great and removed my desirable product from cart. As much as I know Minicart is render with local storage. So that we ...
0
votes
0answers
38 views

Magento 2 : Remove Specific Product From All Active Carts

i am trying to remove specific product from all active carts. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $resource = $objectManager->get('Magento\Framework\App\...
1
vote
0answers
17 views

Magento 2 display color Attribute value in Minicart

I have added a config product which have two attributes size and color.Size attribute is displaying in see detail section but color is not displaying in mini cart detail section. Please let me know ...
1
vote
1answer
51 views

How to insert a UI component into the mini cart?

I'm trying to add a message in the minicart, but: The message depends on some external API calls I have to make at page load I can't figure out how to pass data to my UI component when it's inserted ...
0
votes
1answer
33 views

Floating fixed position cart

I need to add floating cart with product count in my site(screenshot_1). Which is now in header minicart. I need to fix minicart in right side of my site. How I can do that? screenshot_1
1
vote
1answer
39 views

Cart items are not updating when same product is added multiple time

When an item of same type is added to cart more than one, the drop down cart preview still shows "1 item in cart". I am working in magento 2. Please help me how to fix this issue. Thanks
0
votes
0answers
26 views

Mini Cart Not Working in Mobile view in magento 2

For Mobile view, I have added the items in the cart, the mini cart icon shows the product count correctly, But it will fail to trigger the minicart-wrapper class which means while clicking the cart ...
0
votes
2answers
72 views

Magento2: How to redirect minicart on checkout cart page?

How can I redirect on checkout cart page once I click on Minicart instead of toggle.
2
votes
1answer
96 views

When login with social login mini cart count is not updating in Magento 2

When login with social login like Facebook, Gmail, the mini cart items count is showing 0 and when I click on cart page then it will reload the count. In Default Magento Login is working fine. ...
0
votes
2answers
47 views

Magento 2: Customer logout after minicart showing product.

I have facing issue in Magento ver. 2.2.4 while customer logout then still showing product to the cart. Actual Result: Step 1) Login to the customer. Step 2) Add product to the minicart. Step 3) ...
0
votes
1answer
73 views

Magento 2.2.2 getting error unable to process binding if: function(){return getCartParam('summary_count') }

I am getting an error like unable to process binding if: function(){return getCartParam('summary_count') } in magento 2.2.2 I tried below commands php bin/magento setup:upgrade && php -...
0
votes
1answer
48 views

Magento 2 - display custom product attribute instead of the price in minicart

I try to display a custom product attribute instead of the price in minicart. I saw that the html file that I have to override is price.html from module_checkout. price.html : <!-- ko ifnot: ...
1
vote
0answers
27 views

Mini Cart Update issue

I am facing mini cart update issue - to replicate the issue you need to browse the site and add a product to the cart - then continue shopping. If you press checkout (instead of continue shopping) the ...
2
votes
1answer
181 views

How to extend sidebar.js to perform action on Qty change in Minicart Magento 2

I added a text field Box in minicart that need to perform some calculation on keyup to update Qty. I Added box field by modifying module-checkout/view/frontend/web/template/minicart/item/default....
1
vote
2answers
50 views

Magento 2: Cant get custom attribute when configured in catalog_attributes.xml file for mincart

I need to get a custom attribute value to Min cart, But I am missing some thing on the catalog_attributes.xml to get the attribute value. di.xml <?xml version="1.0" encoding="UTF-8"?> <...
2
votes
1answer
418 views

Add Ajax Quantity Increment and Decrement Button on mini cart in Magento 2

I want to implement Ajax Quantity Increment and Decrement Button functionality on cart items on Minicart. I didn't find any article or any module to achieve this. as qty increment(+) and decrement(-) ...
1
vote
1answer
49 views

Magento 2: MiniCart issues

I found a bug in the mini-cart: You add products to your cart - then in the mini-cart you click "Proceed to Checkout" - then immediately click on "View and Edit Cart". The result is - a empty cart....
1
vote
3answers
238 views

How to get decimal value of weight in mini cart?

How to get decimal value of weight in mini cart. I need to display only 2 decimals 11.00 instead of 11.0000
1
vote
1answer
279 views

Magento 2 how to do minicart ajax update

Is there any way to update the mini cart with ajax without update button. I am using Magento 2.1.7 how to do mini cart ajax update when qty increment(+) and decrement(-) inside the mini cart, as qty ...
0
votes
0answers
18 views

Magento1 In minicart twice product issue

I have used in magento1.9.3 if any product addtocart after mini cart twice product added but if go to cart page there only one product display so i am not figure out where is issue so if anyone facing ...
0
votes
0answers
56 views

Change product image issue in Minicart Magento2

I am trying to change product image in minicart, Used below code to achieve it. here is the code of my di.xml file. <type name="Magento\Checkout\CustomerData\AbstractItem"> <plugin name="...
2
votes
1answer
98 views

Remove Qty Box from minicart

I overrided the default.phtml under module -checkout and eliminated the qty box and i did flush cache and deleted folder under static except.htaccess But still having the qty box after refreshing ...
0
votes
0answers
74 views

Magento 2 Minicart dropdown delete icon not working

Magento 2 minicart dropdown delete icon not working. Once I click delete icon in minicart cart dropdown, the total site crashed. in console site page that showing following errors : jquery.js:6297 ...
2
votes
1answer
38 views

How to add a custom block to the quick cart in Magento 2

I need to add a custom block to the quick cart / mini cart so that a message can be displayed. What XML would I need to amend?
3
votes
1answer
91 views

Magento 2 how to get product name and qty in mini cart

Magento 2 how to get product name and its qty in mini cart when we add to mini cart
1
vote
0answers
280 views

Magento 2.2.5 Mini cart not showing items or subtotal

Magento 2.2.5 - upgraded from 2.1.5 last week but not sure it was working on 2.1.5 Site is under development. The mini cart in the header is not working properly. When you add something to the cart ...
4
votes
1answer
487 views

Magento 2 | Mini Cart has items but cart is empty | Session problem? | Double clicking on “Proceed To Checkout” redirects to an empty cart

I have a weird problem where my mini-cart is showing that there are products in the cart, however, cart is showing empty. Also, when refreshing the checkout a few times, it redirects to the cart with ...
1
vote
0answers
25 views

Translate minicart , captcha module and other module Magento2

I have a website with 3 differents language : arabic, french , english. i created the i18n under my app/code/Maget/MyModule/i18n but there is the minicart, captcha module, strength of password ...
2
votes
1answer
50 views

Magento 2 minicart issue

Please suggest for below issue.
1
vote
2answers
205 views

Magento 2: change the design of minicart and cart popup

I am having png image. It should be act us mini-cart and i need to change the design of cart popup. I don't know the paths for that.
2
votes
1answer
92 views

How can I disable the mini-cart if the basket contains too many products?

I am working on a wholesale website in Magento 2 and have noticed the front-end performance drops off massively when the mini-cart has to render too many items (over say, 20 different SKUs). I'm ...
1
vote
1answer
260 views

Magento 2 Rewrite minicart default.html with phtml

I have created a file app/design/frontend/my_vendor/my_theme/Magento_Checkout/web/template/minicart/item/default.html to write the Magento 2 standard mini cart default.html. And this is working fine. ...
3
votes
1answer
51 views

Magento2: black screen after display mini cart

After opening the mini cart, everything works correctly in every place on the site. But we have issue after display mini cart in checkout. (after close mini cart stays still black screen): here is ...
2
votes
2answers
234 views

Disable minicart dropdown on mobile devices

When on mobile devices, I want to display the cart icon on the navbar but on clicking, it should go directly to the cart page.
1
vote
1answer
301 views

Remove Qty Box from mini cart and the page of checkout page

I have a site to buy a unique product (qty =1) so i need to eliminate Qty from mini cart, i just overrided /web/template/minicart/item/default.html : i removed div Qty but she still there any idea how ...
0
votes
1answer
157 views

Magento 2: how to hide product from minicart

In our store we're offering a free gift that is attached to the product customers can buy, but since they clutter the mini cart I came to the idea of simply hiding those products in it (and still ...