Questions tagged [magento2minicart]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

Magento 2.4.3 - Minicart Not Adding Products Unless you are logged in

I am on a new magento store running 2.4.3 and when the user is NOT logged in no products are added to minicart, however they are added when I go to the cart page. If I login with a customer account ...
2
votes
2answers
70 views

Magento2.4 - How to add New Link in Mini Cart Popup?

I want add some New Link in Mini Cart Popup,like below image, How can I add this links? Thank you.
0
votes
1answer
36 views

mini cart is not showing count and product added in cart?

I've a custom phtml file where I;ve added the below code and still cart shows empty. <?php echo $this->getLayout() ->createBlock('Magento\Checkout\Block\Cart\Sidebar') -&...
0
votes
1answer
20 views

Show empty price-label (£0.00) in minicart when empty

I want to show the price next to the minicart icon even if it is zero/empty. I have added this code to Magento_Checkout/templates/cart/minicart.phtml <span class="price-label" data-bind=&...
0
votes
0answers
26 views

Minicart and add to cart success message is not showing after product added to cart in Magento 2.3.3

Hello, I am facing an issue during add to cart. When a product added to cart then minicart is not loading also flash message is not showing. This is my product details page url "http://127.0.0.1/...
0
votes
0answers
19 views

Magento 2 - parse knockout values to x-magento-init script

I'm trying to replace native minicart quantity field with my own ui component. I created an override of vendor/magento/module-checkout/view/frontend/web/template/minicart/item/default.html. My code : &...
0
votes
1answer
110 views

How to customize update Mini-cart individual product price total when qty increased - KnockoutJS

I want to increase product price when to increase qty in Minicart, but here order total increased but price not updated.
0
votes
1answer
411 views

Magento2: How to remove login popup on minicart proceed to checkout button?

I am using magento2.4.1. I want to remove login popup from proceed to checkout button on minicart and want to add login URL, So if guest user click on proceed to checkout from minicart it redirect ...
0
votes
0answers
13 views

Magento 2: How to get updated minicart products ids after delete or add items

I am getting product ids of the mini cart from the getCartParam function in Minicart.js But I am not able to get product ids when we delete or add the items in the mini cart. Basically need product ...
0
votes
0answers
19 views

Magento 2: Where can I edit the Minicart product image template (KnockoutJS template)?

I'm trying to edit the minicart product image template. I found the parent file: /app/design/frontend/Smartwave/porto/Magento_Checkout/web/template/minicart/item/default.html However it uses a ...
0
votes
1answer
34 views

Magento 2 - After override Minicart remove link not working

I am override the minicart, Source : vendor\magento\module-checkout\view\frontend\web\template\minicart\item\default.html My code : app\code\Zero\MinicartQty\view\frontend\web\template\minicart\item\...
0
votes
0answers
35 views

Minicart qty update Ajax first click not working

I am using this module https://github.com/kirtinariya1/MinicartAjaxQtyIncrementDecrement for update mini cart qty by ajax. If i click + button first time its not update qty but in console response ...
0
votes
0answers
39 views

How to edit "checkout" and "view cart" in minicart

The minicart of a template I bought doesn't automatically adapt to the iPhone XR's safari browser. The buttons "checkout" and "go to cart" are hidden by the navigation bar of the ...
0
votes
1answer
62 views

How to get product type in magento minicart?

I want to get product type in magento 2 minicart so as to apply some conditions over the look and feel of item in minicart. The file is located here : /var/www/html/project/app/design/frontend/Solwin/...
0
votes
1answer
87 views

How to show magento default backorder notice message in minicart & sales emails(same like cart page)

Have tried looking into several blogs & stackoverflow answers but unfortunately didnt find any solutions. I am using mage 2.4.0 Can someone please look into it?
0
votes
3answers
113 views

Less file styles not applying in Magento 2

I have custom theme in ..../design/frontend/MyVendor/my-theme folder. My main less file is in design/frontend/MyVendor/my-theme/web/css/my-main.less. Content of the main less file: @import './source/...
0
votes
0answers
91 views

How to update the "Total Items Quantity" count in the checkout sidebar when updating the mini cart from checkout page in Magento 2?

I am using Magento version 2.3.5. Here, you can see that my minicart contains qty 3 but my checkout cart summary shows the wrong quantity as 2. This is what happens when I update the qty via minicart ...
0
votes
1answer
407 views

How To Pass data from Helper Data to Knockout JS file Magento 2

How i can pass helper data to Knockout JS to show it on my html file. Actually i am working on minicart and i want to show the product Qty as Dropdown and get value from Helperdata. Any help would be ...
0
votes
1answer
266 views

Mini cart js is not working properly the count is not showing some times

Minicart is not showing cart count properly at the time of not logging in. I had tried to show statically into the id condition but the when loading the 0 is shown after load it is not showing, I ...
0
votes
0answers
41 views

magento2 minicart auto update the subtotal on qty change

The current default behavior of the mini cart is when the QTY box is changed an "update" button is displayed which when clicked, updates the subtotal. Is there a way to do this automatically when you ...