Questions tagged [mini-cart]

denotes questions related to Magento mini cart

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

Magneto 2 - Show related products to mini-cart

Good afternoon everyone, I am looking to show related products under the products in the Magento2 mini-cart. I have added related products to the product page no problem and added cross sells to the ...
Baber's user avatar
  • 190
0 votes
0 answers
36 views

Magento 2 Update Shipping Rates when remove Products from Mini cart in Checkout Page via JS

I have created a shipping rule with certain products so that such products have free shipping, but for example when I delete the product in the checkout cart from the mini cart, the shipping cost is ...
Diego Castro's user avatar
1 vote
1 answer
201 views

How to add QTY Increasing and decreasing input in minicart hyva theme

add QTY Increasing and decreasing input in minicart hyva theme (same as default magento)
Savan Patel's user avatar
  • 2,338
2 votes
1 answer
50 views

Remove counter from mini cart if there is no product in the cart

I have a smart wave Porto theme, I want to remove the counter (in red) from the mini cart like this if there is no product in the cart If there is a product in the cart, then this will show like this ...
Mitul Vadalia's user avatar
0 votes
1 answer
87 views

Magento 2.4.6 How to remove or hide My Cart?

I am using Magento 2.4.6, and using the multi-site function, One of the sites, I like to display as a catalog, does not need a shopping cart (My Cart). I know that hiding prices can hide the add to ...
Angelo's user avatar
  • 89
0 votes
2 answers
339 views

Minicart: failed to load template

I'm using a custom template and having an issue with the minicart rendering. The minicart pop-up renders, but does not gather any data with 2 errors in the console. So the popup does open when you ...
BroodjeBE's user avatar
0 votes
2 answers
103 views

Add to cart button, Not working on 2.4.2

After update magento (from 2.3.4 > 2.4.2) and migrated on a new hosting, Add to cart button stop working. After i select a product and then "Add to cart" button, website is reloading on ...
Hector Solutions's user avatar
0 votes
0 answers
75 views

Cart clear after 2 hours in magento 2.4.5

As a guest I add products in the cart at 10am and when I check the cart back at 12am the cart is empty. i have set a time approx 1 year but still it's not working . We have no cron job for this . I ...
Ranvir Singh's user avatar
0 votes
1 answer
118 views

magento 2.4 add cms block to minicart

I'm using widgets to insert static blocks on different places in my magento website. It works everywhere except the minicart. When I create a widget with the layout minicart promotion block, what I ...
Lou Nik's user avatar
  • 433
0 votes
0 answers
36 views

Inserting button in mini cart which is loaded by a javascript code

I need to add button in mini cart just below the "Proceed to checkout" button. And the button is loaded using this javascript code: let sourceUrl = "{some_url/index.js}"; let ...
Pratik Giramkar's user avatar
0 votes
0 answers
35 views

Magento 2: how to get the grand total of the minicart and cart on custom header template in when we add new products in the cart

how to get the grand total of the minicart and cart on custom header template when we add or update the new products in the cart in magento 2 witout refreshing the page. We can get via ajax of ...
Shomita's user avatar
  • 1,113
0 votes
1 answer
107 views

add progress bar in minicart magento 2

I'm new to Magento, I have this module which adds progress bar in cart summary https://github.com/christophermallory/magento2-freeshipping-progress-bar, I want to add it to minicart
Khaled Yahya's user avatar
0 votes
1 answer
24 views

remove add to cart button

How to remove "add to cart" button if the product have attribute "haveAttribute" turn on in the mini cart from code below: <?php $wishlistHelper = $this->helper('Magento\...
Bayzel's user avatar
  • 187
0 votes
0 answers
213 views

Quantity Increments setting is not working in Minicart in Magento 2

We are using Magento 2.4.3. For one of the products, we have enabled quantity increments and set 3 in the "Qty increments" setting. These settings are working fine on the product detail ...
Chintan Kaneriya's user avatar
0 votes
1 answer
170 views

How can I reload the payment section in Magento 2 checkout through JavaScript or knockout?

If reloading is not possible, perhaps triggering a reload somehow? I wish to update the payment section based on minicart changes. Right now I have an ugly solution by reloading the entire checkout ...
Michael Mussulis's user avatar
1 vote
0 answers
717 views

How can I display normal price and special price in minicart?

In the mini cart default, a special price will show if a product has a special price (calculated price). I need to show both prices regular price and special price in mini cart. Please suggest me a ...
sagar nakrani's user avatar
1 vote
1 answer
70 views

Display dispatch date in minicart Magento2

how to show the dispatch date on the mini cart after adding the item the items? can anyone help me out with this? Thank you in advance.
kiran vaghela's user avatar
0 votes
0 answers
108 views

minicart mixin doesn't read customerData

i'm trying to create custom popup modal when click on "Go to checkout" button from Minicart. i have write this code to open custom modal if the guest checkout is disabled, and redirect the ...
JosefBy's user avatar
1 vote
1 answer
70 views

Minicart icon showing twice during checkout

Minicart is showing under sign in link during checkout. See screenshot. Disabled current theme and applied luma and blank. All themes show the same? I believe this is where it is coming from. Tried ...
Shaun's user avatar
  • 99
2 votes
1 answer
460 views

How to disable the update qty button in mini cart by default

I want to disable the update qty button in mini cart by default, and when if the customer changed the qty then it should be enabled. Magento 2.4.2.
imt's user avatar
  • 161
3 votes
1 answer
627 views

How to set Shipping Method on product add to cart and show total including shipping cost in mini cart?

I want to set shipping method when product is added to cart and want to change shipping method based on products added to cart.I have tried multiple way but unable to set and change shipping method ...
Mehran's user avatar
  • 492
1 vote
1 answer
306 views

mini_cart_product_thumbnail not sizing to values set in etc/view.xml

I have my image sizes set in my app/design/frontend/My_Design/My_Theme/etc/view.xml but for some reason, the values for mini_cart_product_thumbnail are not being used in the minicart. <view xmlns:...
fearfelt's user avatar
0 votes
0 answers
63 views

add product to cart using ajax?

I have a bunch of product ids and an add to cart button. How when I click add to cart button, other list products are added to cart. I use javascript(ajax)t to handle the above requests. Hope the good ...
HuanTH's user avatar
  • 135
1 vote
0 answers
143 views

Show backorder notice message in mini cart like checkout page

I want to show backorder notice message in mini cart how can I do that just like that :
Hafiz Arslan's user avatar
0 votes
0 answers
275 views

Magento2.3.2 Uncaught ReferenceError: Unable to process binding, Message: regionHasElement is not defined

I'm new to magento and don't know much about magento, Recently I have installed a custom theme in magento ver 2.3.2-p2 and the theme was working perfectly but then It start throwing the given error on ...
Ibrar Akhtar's user avatar
0 votes
0 answers
22 views

mini registeration popup

i have mini register window , When i want to write Firstname and Lastname and Email and press submit the data didn't pass to create account page as you see in pic any ideas please Thank you
Hamad Al-Shabrawi's user avatar
0 votes
2 answers
145 views

Magento 2: How to get existing mini cart product's category ID in checkout_cart_product_add_before observer?

I am trying with following code. public function execute(Observer $observer){ $quoteId = $this->_checkoutSession->getQuote()->getItems(); $quote = $this->_checkoutSession->...
Anwar's user avatar
  • 75
2 votes
0 answers
513 views

Mini-cart not showing products added

I'm developing a Magento 2.3.6-p1 store, using a based luma custom theme, and mini-cart is not showing added products, it ONLY shows the products when i add a product, but when i reload the page, the ...
user avatar
0 votes
2 answers
1k views

How to add Custom attribute on minicart?

I need to display custom product attribute in mini cart for each product in the cart. How to get attribute value. please see below screenshot. https://prnt.sc/-99NK5eeFgAZ Thanks, Kiran
kiran's user avatar
  • 597
0 votes
1 answer
148 views

Link from cart item to product page

When you add a product to your cart, it's showing on your minicart. When you click on that item it's bringing back to the product page. I'm looking to find how this link is made...looks like there is ...
Claims's user avatar
  • 1,146
0 votes
1 answer
260 views

Add "buy now " button in mini cart magento 2

Is there any way we can add a "buy now" button in the mini cart?
user avatar
2 votes
0 answers
1k views

Magento2.4: Minicart has no content

I'm working on a custom theme and having issues updating the minicart content. The minicart loads, but always says there are no items in the cart. If I continue towards the checkout page, there are ...
BroodjeBE's user avatar
1 vote
1 answer
66 views

Capture minicart configureable product variant info

I just finish install magento2.3.5-p2 with sample data, I want to understand how to collect variant data of product being added to cart at minicart The reason for this is to be able for me to push ...
Mohd Farhan Bin Ramli's user avatar
0 votes
1 answer
571 views

How to remove out of stock items from the minicart in magento 2?

scenario- when the user doing his shopping he added some products to the basket, that are shown in the minicart by default. But when the click on mini cart (or) when the user refresh the page i need ...
Mani's user avatar
  • 373
0 votes
1 answer
1k views

Understanding data bind at minicart in magento 2

I am using magento 2 in mini cart, I am trying to get the event during which product is being added and removed, a specific item not by cart shown is the item that exists in mini cart, I want that ...
Mohd Farhan Bin Ramli's user avatar
0 votes
0 answers
708 views

Get Mini Cart Update Cart Button Event

I want to obtain the event during which this Mini cart update cart button is clicked I want to observe when and how many the amount of it being clicked I try to put below code inside app/design/...
Mohd Farhan Bin Ramli's user avatar
0 votes
2 answers
668 views

product add to cart after loading the product ajax call

How to trigger add to cart function After loading product by Ajax call. this above product loaded by ajax call I have to found solution if I click add to cart button, then add to cart function ...
Muhammad Zahoor's user avatar
0 votes
1 answer
224 views

Magento ver. 2.4.3-p1 : Avoid scrolling down while block-minicart has an hover effect

Avoid scrolling down while block-minicart has an hover effect Make sure that the icon cart has an hover effect to the minicart in order to show the list items: <div class="block block-minicart ...
Savan Patel's user avatar
  • 2,338
1 vote
1 answer
100 views

showing quantity of items in cart in a custom magento 2 file does not work

When I put the code to show the number of items in the cart in my custom headerfile.phtml it doesn't work, but when I access a checkout page it works perfectly, what to do? Here's the code: <?php $...
lucas's user avatar
  • 309
1 vote
2 answers
1k views

Magento 2 custom popup not work when click of 'Proceed to Checkout'

I have created the custom Popup and open the popup when click on process to checkout in minicart. login popup not work when click on 'Proceed to Checkout' after the login customer account.It's work ...
sky's user avatar
  • 1,397
2 votes
2 answers
496 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.
rocky9310's user avatar
  • 115
0 votes
3 answers
1k views

Magento2.3 cart does not updated when adding product to cart

I'm facing an issue on my Magento 2.3 website when I'm adding the product to the cart. I'm getting the success message ('Product Name' has been added successfully), but the mini cart on the top right ...
Jayreis's user avatar
  • 705
0 votes
1 answer
449 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') -&...
Vinod Kumar's user avatar
1 vote
1 answer
225 views

How to know which file to make changes in Magento 2

I am new in Magento 2 and I m having very difficulty in finding which templates or blocks to make changes. I know how to override files. I had previously made changes in the theme but still, I can't ...
nazmul mondal's user avatar
0 votes
1 answer
694 views

How to show simple product name of a configurable product on Checkout Payment page?

I want to show a Simple product with a Configurable product name on ( Mini-cart, Cart page, and checkout page ). I have successfully achieved to show the name on Mini-cart and Cart page but on the ...
Prits's user avatar
  • 626
1 vote
0 answers
363 views

Select some item from cart to checkout

I'm currently using Magento 2.3 and I'm trying to customize cart page. So basically I want to add checkbox to cart so I can select some item in my cart to proceed checkout. I have no lead to do this ...
Irfan Eka Putra's user avatar
0 votes
0 answers
50 views

How to add color name before product name in mini-cart and right sidebar of checkout page in Magento 2

I want to show the color with the product name in Minicart and Checkout Page in Magento 2. So i have got the color value by <!-- ko if: options.length --> <!-- ko foreach: { ...
Prits's user avatar
  • 626
2 votes
1 answer
1k views

After upgrade Magento 2.3 to 2.4 can not add product to cart

After click button ADD TO CART , it's error Cannot read properties of undefined (reading 'remove') and mini cart is empty too
napawan jindamanee's user avatar
0 votes
1 answer
94 views

The price of a particular Category be excluded from the minimum order amount

How can the price of a particular Category be excluded from the minimum order amount in Magento 2.3 I'm wondering how to approach this problem?
hana elaradi's user avatar
0 votes
1 answer
323 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=&...
totneschap's user avatar

1
2 3 4 5
10