Questions tagged [mini-cart]

denotes questions related to Magento mini cart

Filter by
Sorted by
Tagged with
1
vote
3answers
26 views

How can overwrite an event from JS file in custom theme or module without overwriting the whole file?

How can overwrite an event from sidebar.js in my custom theme or custom module without effecting anything else that is located in the file? What is the best approach? I need to make the following ...
0
votes
0answers
19 views

Magento 2 how to disable cart sharing between stores?

I wan't to disable the shared cart between stores under same website. I wan't accounts to be shared, but not carts, is it possible? I tried the following solutions: Disable cart sharing between ...
1
vote
2answers
65 views
+100

M2.2: Using REST API, Can Clear Cart but Mini-Cart Not Clearing

We are currently integrating another checkout portal to go on top of our existing Magento 2 platform. They are using the REST API to do most of their calls to Magento 2, including that of clearing the ...
0
votes
0answers
8 views

M2.2: Using REST API, Can Clear Cart but Mini-Cart Not Clearing

We are currently integrating another checkout portal to go on top of our existing Magento 2 platform. They are using the REST API to do most of their calls to Magento 2, including that of clearing the ...
0
votes
0answers
8 views

Delete a configarables simple product from cart in observer

I'm currently able to change the way the cart works by updating the qty value in the cart, i do this by first deleting the item before it is re-added using the checkout_cart_product_add_before ...
0
votes
2answers
18 views

Getting swatch value from checkout_cart_product_add_before observer

Is it possible to get the Swatch value id or name from the checkout_cart_product_add_before observer? I've passed the Product using $product = $observer->getProduct(); $productId = $observer->...
0
votes
0answers
12 views

Magento2 add cart value change the QTY instead of updating

Currently the default behaviour is if i have item X in the cart with qty 5, if i put 8 in the qty box and add to cart the new qty is 13 - the expected behaviour we need to for the cart to change to 8 ...
0
votes
0answers
62 views

Product Price displaying incorrect(100.000.000,00) in Minicart&Cart for price greater than 1billion

https://community.magento.com/t5/Magento-2-x-Programming/Price-wrong-greater-than-1-billion/m-p/459543 AS per the screenshot you can see that the product price is 264...... but in price columns it was ...
1
vote
1answer
27 views

cart not getting empty after success page redirection done in magento 2

How can I empty my cart value when order successfully done in Magento 2. This issue only done with logged-in user how can I handle this issue. Is there any solution for this?
0
votes
0answers
17 views

Move Paypal buttons from minicart to checkout step 2 under the Paypal payment button

When I turned on the Paypal on the site, they added Paypal buttons to me in the mini-cart. Tell me how to move these buttons under the button on the checkout step 2. There are a PayPal payment method ...
0
votes
2answers
36 views

I want to Display custom Price Under price in mini-cart

I want to display price like show in image.i want display 10% of price in mini cart under price please help me.
0
votes
1answer
29 views

Magento 2 How to hide “Sub Total” div in mini cart if not items in cart?

In Magento 2.3.5-p1 I want to hide the "Sub Total" div if no items in the cart. Also, if the cart has items then that div will show again. How can I achieve this? There is a "subtotal....
0
votes
0answers
7 views

Magento2.3: Products not Updated in Mini cart

Before page loads completely, click on add to cart button then the product is added to cart but the issue is, it is not updated in minicart.
0
votes
1answer
45 views

How to update qty minicart by ajax without clicking “Update” button

I'm trying to make shopping cart get updated automatically when a customer/user changes the qty of an item in the minicart without having to click the "update" button. I was thinking of this ...
0
votes
1answer
29 views

how to redirect to checkout click proceed to checkout from mini cart while customer is logout in magneto 2

My guest checkout is disable so while clicking to proceed to checkout from mini cart it shows a login popup.after login from this popup i want to redirect to checkout but it redirect to the same page ...
0
votes
0answers
21 views

Update Mini Cart After Free Product Add Magento 2

I made a module for free product like if Cart Subtotal is above $600 then a product programmatically add to cart, for this I made an event called checkout_cart_add_product_complete, so when I add ...
1
vote
0answers
11 views

Calling minicart in phtml not showing dropdown on click

I'm calling minicart in my phtml like below <?php echo $this->getLayout() ->createBlock('Magento\Checkout\Block\Cart\Sidebar') ->setTemplate('Magento_Checkout::cart/...
0
votes
1answer
20 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
6 views

How show the quote_item.additional_data in the mini cart

I set some information in the field additional data the table item_quote, I can't show this information in the mini cart, any help with this. vendor/magento/module-checkout/view/frontend/web/...
1
vote
0answers
17 views

Magento 2 Issue with Minicart product price when price is set Including tax

Issue: Minicart is showing price excluding Taxes even if it is set in the backend to show product price including taxes Backend Settings: Product price is set to show including taxes: it is working ...
1
vote
1answer
22 views

Mini cart drop down not appearing

I have some issues on Magento 2.3.5 mini cart dropdown is not appearing. Total number of products added in cart appearing but when I click on the mini cart it shows a black transparent overlay and ...
1
vote
1answer
11 views

Header Links showing beyond search box and minicart beyond navigation !! Magento 2.3.5-p1

When a customer is signed in the header links (My account, My Wish List, SIgn Out) are displayed beyond the search box . See the image attached . I've noticed that there is an element.style {z-index:...
2
votes
0answers
20 views

Magento 2: How to bind an element in phtml with minicart js model function?

I want to print the items count in somewhere else, so i create a new phtml like this: <?php /** @var $block \Magento\Checkout\Block\Cart\Sidebar */ ?> <div class="test-cart" data-...
1
vote
0answers
21 views

How to disable redirect from mini cart to editing cart page if the minimum order amount is not reached

I want customers to just get an alert without redirecting. Trying to figure out where redirect is happening. Any suggestions? Magento 2.3.4. Thanks a lot.
0
votes
0answers
61 views

how to change the name in minicart magento 2.3

I want to update the name mini cart but i can't do it I had changed the return data from /var/www/html/GVC/sandbox/vendor/magento/module-checkout/CustomerData <?php /** * Copyright © Magento, Inc. ...
0
votes
0answers
30 views

I need to change the product name in cart and checkout page - magento 2.3

Note : I need changes when using the configurable product. I need to change the product name in the in the checkout and cart pages according to SKU because in the cart and check-out it shows the ...
0
votes
0answers
35 views

How to remake js code on jquery ui widget

I have a simple code that animates the appearance of a mini-cart modal window. <script type="text/javascript"> require(['jquery'], function($){ $(document).ready(function(){ ...
0
votes
0answers
26 views

How to get cross sell items in mini cart magento 2.3

How can we get cross sells items in mini cart in magento 2.3. please suggest any extension or best way to do it.
0
votes
1answer
41 views

Magento 2.3.3 Mini Cart Disable Checkout Button When A Product = $0.00

I want to disable the checkout button from the mini cart when an (or any) item is added that has $0.00 as a price. I have copied the minicart.phtml file from: /var/www/html/vendor/magento/module-...
0
votes
0answers
48 views

Animation for a mini-cart not working

How to make an animation to show and hide the mini-сart? Expected result: by clicking on the minimap, the block flies from above to its position Found a way using jquery UI I found a way using ...
0
votes
0answers
9 views

Magento 2: How to get multiple custom product attributes in mini cart

I need to show multiple custom attributes on the mini cart. Does anyone have idea? Thanks
0
votes
0answers
11 views

how to set custom variable in session when customer log in and also use that value in minicart.js

I'm using magento 2.3 while customer log in ,custom variable set to customer session and use that custom session value in minicart.js file.
0
votes
1answer
13 views

Change qty input to the counter of the number of products on mini-cart

How to change qty input to the counter of the number of products. Expected Result:
0
votes
1answer
31 views

Customize mini-cart - delete image and edit button

How to remove the picture and edit button from the mini-cart without using CSS Expected Result
0
votes
1answer
24 views

Magento 2 remove mini-cart content in cart page

How can I remove Magento 2.3.1 minicart content in checkout_cart_index (cart page), but keeping cart header link and counter?
0
votes
0answers
27 views

Authentication popup issue only on home page

I bought a theme but the support period has expired and they no longer respond to my emails. The authentication popup did not work on the proceed to checkout button (mini-cart & cart). I found ...
1
vote
0answers
27 views

How to disaply tax and grandtotal in minicart

i have tax setup in website everywhere showing but in minicart not showing in tax so i want to tax and grand total show in mini cart how can achieve this? Thanks in advance
0
votes
1answer
15 views

conditional knockout with ajax response

I created an default template for items in the minicart. The difference to the default template should be shown only under a specific condition. <!-- ko if: $parent.myvalueactive(product_sku)==...
0
votes
0answers
139 views

Add Regular Price with Special Price on Minicart and on Order Summary (checkout page) - Magento 2.2.9

I try to have a regular price next to the special price on the mini cart & checkout page. I added it on the cart page thanks to this topic: Magento 2 : How to show special price and regular ...
0
votes
0answers
16 views

Magento 2: How to explore a javascript object in j.js file?

The whole object comes from this.cart variable, i want to get item id from this object how can we access it?
0
votes
0answers
24 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 ...
0
votes
0answers
47 views

Magento 2:Add another new Custom mini-cart?

I want to add new Minicart like shown in the following screenshot, using KnockOut Js, Give me some logic how can I cater to this problem
0
votes
0answers
25 views

Magento2 - Get X product and Y product at some discount?

Suppose a scenario I defined for a Cart Price Rule buy X product and get Y Product at some discount , suppose customer added X product to cart how can we notify him about Y product, I have used the ...
0
votes
0answers
106 views

How can I display related products in the minicart? - Magento2

In Magento Commerce Cloud (Magento 2), I am trying to display related products in the Minicart after a user adds an item to the cart. The specific issue is that my code works in the Docker local ...
0
votes
2answers
53 views

Minicart display 99+ after count exceed more than 99

How can I update minicart counter after qty exceeds 99. Like, If customer adds 10000 qty to cart in minicart it will display 10000 which looks weird, So if total qty in cart exceeds more than 99 then ...
0
votes
2answers
57 views

Magento2 - How can I convert default Magento cart icon into simple text like Cart?

I need to convert the cart icon having the following CSS .minicart-wrapper .action.showcart:before{ font-size: 35px; line-height: 33px; color: #8f8f8f; content: '\e611'; font-family: 'icons-blank-...
1
vote
2answers
193 views

Magento2 - How to display mini cart scroll?

I want to display minicart scrollbar when there is more then 4 product in cart i tried to set it from Store-> Configuration -> Checkout -> Shopping Cart Sidebar but it not work for me
0
votes
1answer
382 views

How to access cart total from js file in magento 2?

I want to access the cart total from js. I have minicart-mixin.js in my custom module. I want to get the cart total there. My file is minicart-mixin.js below. define([ 'uiComponent', '...
0
votes
2answers
265 views

How to hide proceed to checkout button in mini-cart in magento 2

I managed to hide the chekout button using a custom module. I followed this threads to achieve this. I can hide the checkout button in mini cart now.But i want to add some condition to show the ...
2
votes
0answers
58 views

Sliding Cart extension for Magento 2 enhances mini cart to the next level with responsive design and conversion oriented features

There is already a full-fledged free extension available on Magento's marketplace and Github Magento: https://marketplace.magento.com/ambab-module-slidingcart.html Github: https://github.com/ambab-...

1
2 3 4 5
9