Skip to main content

Questions tagged [mini-cart]

denotes questions related to Magento mini cart

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

Login As Customer doesn't reflect cart items at actual customer login

We have a clean Magento build with version 2.4.5-p1. We are facing issues with "Login As Customer" core Magento extension. We successfully logged in to customer's account using "Login ...
Shawn Simmon's user avatar
-1 votes
0 answers
23 views

minicart is not display the dropdialogue in magento 2.4.7 version

before upgrading, mini cart was showing the added products and displaying "there is no items in your shopping cart" when there was no product in add to cart.. but after upgraded, it shows ...
Bhim Lamichhane's user avatar
0 votes
1 answer
115 views

Magento 2.4.7 Minicart not showing any items

After Upgrade to Magento 2.4.7 , my Minicart stop showing products, I check my overridden theme file : app\design\frontend\vendor\theme\Magento_Checkout\web\template\minicart\content.html and it was ...
Mark Philips's user avatar
1 vote
0 answers
32 views

Magento 2 - mini-cart - tax / price issue - after returning from checkout

I have a question about the minicart. In my Magento 2.4.3 I have different tax classes per store view. When I change the store view, the prices also change with the respective tax rate (also in the ...
Tom's user avatar
  • 11
1 vote
1 answer
150 views

Magento 2 : Error of cookieMessagesObservable is not defined

I have updated the Magento to 2.4.7 recently and updated it to the staging server. I am getting the error that cookieMessagesObservable is not defined in the console and due to this Minicart is not ...
Aman Mamdani's user avatar
0 votes
1 answer
42 views

Magento 2 : Update Shipping Method when add/remove products from minicart

I use magento 2.4.6. I have a custom code that allows the free shipping method only for peculiar products so, if one of these products are in the cart, the free shipping is visible, otherwise it's not....
Lou Nik's user avatar
  • 455
0 votes
0 answers
34 views

Magento 2 : Display All Cart Price Discount in Minicart

How to display all cart price rules discounts in minicart for M2.4.6 for those which can be calculated... For example if the buyer buys more than 100 USD or similar. I am aware, that discount based on ...
Petka's user avatar
  • 1
0 votes
0 answers
13 views

Update Custom Attribute like Price with the subtotal in the minicart

I have created an attribute for the Product like some extra fees. I got the attribute on the mini cart, saved it in the quote also updated their price according to the product quantity. I want to ...
Rana Zain's user avatar
  • 676
0 votes
0 answers
59 views

Call this._super() from anonymous function in js mixin

I have made a mixin for the minicart. I want to execute an async call before the parent function should be called. However it doesn't seem possible to call this._super() from an anonymous function. I ...
jrswgtr's user avatar
  • 63
0 votes
0 answers
35 views

how to add qty input in mini cart Magento 2 using Hyva theme [duplicate]

Add QTY Increasing and decreasing input in mini cart hyva theme (same as default Magento 2)
Admin SAB's user avatar
0 votes
1 answer
68 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
  • 192
0 votes
0 answers
41 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
2 votes
1 answer
457 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,366
2 votes
1 answer
58 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
106 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
663 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
194 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
1 answer
169 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
  • 455
0 votes
1 answer
136 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
26 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
226 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
267 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
862 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
85 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
120 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
80 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
  • 109
2 votes
1 answer
557 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
800 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
  • 502
1 vote
1 answer
362 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
65 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 ...
Jtidd's user avatar
  • 135
1 vote
0 answers
156 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
364 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
162 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
589 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
155 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,211
0 votes
1 answer
284 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
75 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
631 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
  • 393
0 votes
1 answer
2k 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
729 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
700 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
246 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,366
1 vote
1 answer
113 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
539 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
2k 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
  • 725
0 votes
1 answer
502 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
2 3 4 5
10