We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [mini-cart]

denotes questions related to Magento mini cart

Filter by
Sorted by
Tagged with
2
votes
1answer
1k 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
127 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
2answers
1k 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(-) ...
2
votes
1answer
98 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
366 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
2answers
884 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
1answer
205 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
224 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 ...
2
votes
1answer
86 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
407 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
628 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
902 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
32 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
57 views

Magento 2 minicart issue

Please suggest for below issue.
1
vote
2answers
443 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
262 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
740 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
132 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 ...
3
votes
3answers
680 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.
2
votes
1answer
699 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 ...
1
vote
1answer
268 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 ...
2
votes
0answers
74 views

Show popup when update qty in mini cart using ajax magento

When I update qty in mini cart if qty is greater than the qty of products in stock, I want to show popup "The requested quantity for ...(my product name) is not available." using AJAX. How to do that?...
2
votes
0answers
79 views

cart().subtotal_excl_tax and cart().subtotal_incl_tax are the same

cart().subtotal_excl_tax and cart().subtotal_incl_tax are the same I got the some price. How can I get the subtotal with including tax? <div class="amount price-container"> <!-- ko if: ...
2
votes
3answers
691 views

Magento 2 | manipulate minicart product name

I want to manipulate the product name within the minicart. Check the picture below: I can't find out which template is generating this.
2
votes
2answers
317 views

Not able to translate OK and cancel buttons in confirmation popup minicart

After adding an item into cart if we goto mini cart and click on remove item a confirmation popup with Ok and Cancel option will appear. I am not able to translate the Ok and Cancel buttons. Please ...
0
votes
1answer
145 views

When press browser back button cart is empty

Its my first question so I am very excited to become part of this big community. I am experiencing an issue with the cart.The point is when I press the browser back button after adding some product ...
0
votes
0answers
198 views

Magento 2 : Minicart customization - add 2 attribute in minicart

I followed this link for minicart customization but i did not work for me href "I want to customize my minicart in Magento 2. I need to add 3 attributes " I followed above link but my minicart not ...
0
votes
1answer
512 views

Magento2 : Mini cart removeItem is not working

I have a magento2 live store, that was working properly. But today mini cart remove item functionality stopped working. When I checked in developer mode, I found that the Request Url /checkout/...
2
votes
0answers
70 views

How do I remove the + sign from mini-cart bundle options in Magento 2

How can I remove the leading '+' sign from mini-cart bundle options in Magento 2
0
votes
1answer
572 views

How can i open mini cart on add of a product

I am using the below link to create an observer. Magento 2 Open minicart when item is added My question is what code will come here if ($cartUpdated) { // open mini cart } How can i open the ...
2
votes
0answers
113 views

Magento 2: Minicart is not updated for certain storeviews when adding product for the first time

II have multiple websites and storeviews in my Magento 2.2.2 installation. I have experienced a weird issue, that for some storeviews, when adding a product to the shopping cart for the first time, ...
0
votes
0answers
100 views

Minicart blank only on product page magento 2 getting knockout js error!

I am using an extension WeltPixel_QuickCart for minicart sidebar. It is working fine on all pages except product detail page. Knockout js error showing in the console on product page: Uncaught ...
2
votes
0answers
237 views

Magento2.2.x Custom page side bar in display mini cart items

My custom page in displaying all product with add to cart product functionalities I want display mini cart items on page sidebar. after add to cart item update and display in that sections. like that....
0
votes
1answer
207 views

Update minicart.phtml when I update my product quantity

I have made a pair of modifications in "/app/design/frontend/Venustheme/mohawk/Magento_Checkout/templates/cart", a pair of lines that calculates number of carries through the price (If price is 300€, ...
0
votes
3answers
660 views

Changing cart image based on cart item

I am trying to change the cart image based on my cart item configuration. But it seems like Magento\Checkout\Block\Cart\Item\Renderer::getImage receives the original Product model class and not the ...
1
vote
2answers
1k views

Magento 2: How to replace minicart icon

How can I replace the minicart icon when using a custom theme?
0
votes
1answer
458 views

Lesti FPC is caching the minicart on header

I managed to get Lesti FPC working with memcached, but I quickly ran into a problem. When I add an item to my cart from any page and go back to the homepage, it shows that my cart is empty. I ...
1
vote
0answers
22 views

Checkout cart products disables randomly

I have created a website using Magento 2.2.3. I'm facing issues with adding product to the cart. The issue is, I can add the product to the cart and able to checkout. But, If i want to add some ...
2
votes
1answer
951 views

Magento 2 - Product names with special characters

Products having special characters like TM, I am importing products using &trade; for TM, it appears as expected on product detail and listing page. But when the product is added to cart, in mini-...
0
votes
2answers
61 views

Adding Products to Shopping Cart

I'm using v1.9. When a customer adds products to cart, it only shows the last 3 (looking to the customer like the other products haven't been added) please could you advise? see example
0
votes
0answers
156 views

Mini cart should open automatically and close after few seconds when product is added in Magento 1

I am working on magento1 project. I want a solution to below mentioned problem. When we add product to the basket, the mini cart should automatically open up and then close after few seconds(5 ...
2
votes
0answers
104 views

magento minicart add subtotal in icon area where count is shown

Seems like a pretty simple task but I've edited minicart.phtml with <span data-bind="html: getCartParam('subtotal')"></span> and can't seem to figure out why I can't get subtotal next to ...
1
vote
1answer
862 views

Add custom product attribute to mini-cart

I have to use a custom product attribute in the mini cart and the full cart view. After creating the file /etc/catalog_attributes.xml in my module folder i could read my custom attribute in the full ...
2
votes
1answer
35 views

Issue with my cart module on pdp and cart pages, just keeps spinning

I would like to add new attributes to the cart that already exist, I just want to populate them on the front end cart. Here is the structure of my module: app/code/Frontier/Minicart | ...
0
votes
1answer
101 views

Magento 2 / Ultimo mini cart error

I'm using Magento 2.2.2 with the Ultimo theme. Straight away I'm getting an error with the mini cart in the header. Products can be added to the cart but the mini cart appears to only half load and ...
1
vote
1answer
451 views

Magento 2.2.3 Minicart missing proceed to checkout text

I would like you help on this I have been reading and reading and cant find an answer. Magento 2.2.3 with a templatemonster theme This is my minicart.phtml, and the problem is the proceeed to ...
0
votes
1answer
286 views

Render minicart without dropdown dialog

I want to move the minicart to an offcanvas sidebar (foundation 6). I was able to move the minicart vial layout. But it keeps rendering as a dropdown dialog (magento ui) so I would like the cart's ...
2
votes
1answer
1k views

Magento 2: Minicart Failed to load the “Magento_SalesRule/js/view/payment/discount” component

I am working on MiniCart Extension in which I need a coupon code text box in my Minicart. For that I have overridden default.xml in my Custom Module but everytime It returns following error in the ...
0
votes
0answers
108 views

Totals - Minicart - JS problem

I have 4 errors in my shop now. After change a plugin and did everything clearing the cache, deploy the static files, we have the error with the totals js, I should say, we bought a template and we ...
3
votes
2answers
5k views

Adding quantity increment button in cart and mini cart

I need to add a quantity increment button in cart page and mini cart popup like this. I added the button but I can't assign the functionality. This is what I did app/code/Amsi/UserManagement/...