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

1
vote
0answers
26 views

How to insert a UI component with a PHP data provider 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
22 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
18 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
2answers
29 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
68 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
33 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
33 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
30 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: ...
0
votes
0answers
30 views

How to update Magento cart items quantity using ajax?

I'm using this code for showing cart items quantity in my Magento 1 site. <span><?php echo Mage::helper('checkout/cart')->getCart()->getItemsCount(); ?></span> It's updating ...
1
vote
0answers
15 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 ...
0
votes
0answers
48 views

Product URL is not retaining the Category path in Cart, Checkout,Widget and Search result pages

I have been trying to display product full path URL (with category path) in sore wide all the places. Def URL : http://someurl.com/product-name Full path URL : http://someurl.com/category1/category2/...
1
vote
1answer
46 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
38 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
127 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
41 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
198 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
0
votes
0answers
26 views

Delete url mini cart redirect to homepage magento

I have added the deleteUrl link in magento mini cart but it is redirecting to homepage after delete. I want to keep it on same page. The code I am using is below - <?php $currentUrl = Mage::...
0
votes
0answers
29 views

getOptionList showing empty array in Magento 1.9

<?php if ($_options = $this->getOptionList()):?> <div class="truncated"> <div class="truncated_full_value"> <dl class="item-options"> ...
2
votes
1answer
135 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
12 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
28 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
42 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
1answer
36 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
25 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
58 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
0
votes
0answers
22 views

Get minicart content for custom minicart in custom homepage layout in Magento 2.2.5

I am working with custom minicart.And trying to get the minicart content in my minicart popup.The thing is I am getting minicart dropdown in all pages except custom homepage How to get the mini cart ...
1
vote
0answers
210 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
226 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
23 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
48 views

Magento 2 minicart issue

Please suggest for below issue.
1
vote
2answers
107 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
48 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
146 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
41 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
122 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
165 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
106 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 ...
0
votes
0answers
17 views

How to display shopping cart rule on mini cart also in 1.9

I applied some promotion rule on shopping cart but I want to display in mini cart also, is any way to display same rule on mini cart.
2
votes
0answers
39 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?...
1
vote
0answers
21 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
206 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.
0
votes
1answer
95 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
23 views

Minicart scrolls down when it's being closed

I'm facing a problem where I open the minicart when a product is added and when it closes, it scrolls down back to the Add To Cart button, is there a way to stop it happening? here is my minicart.js ...
0
votes
0answers
50 views

Ajax add to cart not getting a correct price in minicart

I have some problem when I auto add a product on product pages as below: click add to cart a product with ajax. I allow auto add another product after class validator in function process. Example ...
0
votes
0answers
64 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
0answers
42 views

Magento 2: How to override paypal button.phtml in custom module

Magento (2.2.4) displays this button in the minicart: This is actually hardcoded inside a function (yay!). So I thought I override the template module-paypal/view/frontend/templates/express/in-...
0
votes
0answers
63 views

Product is not displaying in minicart dropdown after adding it?

I am using Magento 2.2.3. I have developed a custom theme and I have set luma as a parent theme I have also created "Magento_Checkout" module in my custom theme and I have added layout file default....
0
votes
1answer
236 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
37 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
0answers
19 views

Magento 2 : Update the mini cart price in any page

We regularly update the price of product. So it is necessary to update price which are already added in cart before the price change. I'm able to change the price in cart page and checkout page using ...