Questions tagged [mini-cart]

denotes questions related to Magento mini cart

Filter by
Sorted by
Tagged with
1
vote
0answers
20 views

Minicart not responsive in a 4 inch display mobile screen

The minicart content is broken and showing wierd in my 4 inch display. Can any one.suggest a solution??
2
votes
0answers
16 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
17 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
23 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
16 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
13 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
25 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
28 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
8 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
11 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
21 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
20 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
24 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
13 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
71 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
14 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
20 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
39 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
24 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
51 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
49 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
44 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
97 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
166 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
113 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
40 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-...
0
votes
0answers
18 views

Possible that minicart, order summary html file fetch out value by using php?

I need help, I want to make change of this file & the other one for "Order Summary". since I am not family with knockout.js, I am thinking using php to fetch the value that I want. app/design/ABC/...
1
vote
1answer
41 views

Cart total doesnt update after remove an item programatically Magento 2

Events.xml <event name="controller_action_postdispatch_customer_account_loginPost"> <observer name="customer_login_observer" instance="vendor\module\Observer\Customercart" /> </...
0
votes
0answers
7 views

Display button in mini cart , if items are there in cart and redirect to another page with hidden params

I need to add a button in minicart which displays, if there are items in cart.When we click that button i need to redirect to a controller with hidden params in the request.Can anyone give me a ...
0
votes
2answers
64 views

Magento 2 cant override the minicart.html file using html

I am going to override the minicart.html file using knockout for my custom code as below at the default file location is : /var/www/html/magento226/pub/static/frontend/Magento/luma/en_US/...
0
votes
2answers
124 views

Show short description under product title on mini cart

my client want to show short description under mini cart title: You can see image screenshot: I used grep command found it coming from :/vendor/magento/module-checkout/CustomerData/DefaultItem.php ...
1
vote
0answers
37 views

Strike orginal price and show advanced pricing and show total saving in 2.3.3

I have a configurable product in which each simple product is given as advanced pricing. I need to show the both advanced pricing and the original price to be striked out as shown below. It has to ...
1
vote
0answers
24 views

Override Minicart to show in modal Magento v2.3.3

When i click on the 'action showcart' of the minicart it is displayed in a 'dropdownDialog' just above. This is normal operation Now I want to display the whole minicart in a modal which is displayed ...
0
votes
1answer
242 views

Plus, Minus, automatic cart update on maagento 2.3.3

I have normal magento 2.3.3 which has the default mini cart as shown below. And in the above pic by default the quantity as to be manually entered and updated the cart on click. But I want a mini ...
1
vote
1answer
319 views

How to add Cancel/Ok button within Minicart and remove popup

I want to remove the delete button that is in below screenshot And add to button Cancel/Ok within minicart, not in popup like magneto by default functionality. just want to add button on mincart not ...
0
votes
0answers
73 views

Magento 2 redirect to cart pages and checkout page

I am facing issue when I add item to cart its redirect to cart page. I have change the redirect to NO from admin but now its direct open checkout page. I need it like this when I click the add to cart ...
1
vote
1answer
42 views

Magento 2 minicart not updating after custom popup add to cart completed

I have created custom Popup on category page and added custom button with form data for add to cart. After popup button is clicked the custom controller is adding product to cart. But its not ...
1
vote
1answer
142 views

How to hide the Cart Subtotal amount in mini cart popup in magento 2

Please suggest the solution to hide the Cart Subtotal amount and product price in the mini cart popup. Only i need to show the number of quantity items in the popup.
0
votes
0answers
19 views

Add to cart quantity reset to 1 even i added 2 qty in Arabic store Magento 2

Minicart quantity reset to 1 even I added qty 2 Magento 2. I am having the Arabic store, in the Arabic store only this issue shows, is it the problem with Locales. Please help to solve it.
0
votes
1answer
89 views

Restrict double click on delete in minicart in magento 2

In minicart of magento 2, when click on delete icon, confirm popup is open. after confirm, it take sometime time to delete. till the time we are able to click multiple time. and popup will come ...
0
votes
0answers
27 views

Quantity is not updating in mini-cart via ajax, try to update with multiple qty only one qty updated to mini-cart Magento 2

Quantity is not updating in mini-cart via ajax, try to update with multiple qty only one qty updated to mini-cart. I have two stores one is in Arabic and another is in English. The English store is ...
1
vote
0answers
38 views

Magento 2: Show price of custom option in mini cart

I have a product has a custom option like this In my mini cart how to show label and price of custom option, currently only the label. Any helps? Thank in advance.
1
vote
2answers
332 views

Magento 2 pass php session variable to minicart & hide proceed to checkout

I would like to pass a PHP session variable flag to mini cart-mixin.js dynamically. I followed the below steps mentioned here using the Config Provider concept I am able to pass variable to only cart ...
0
votes
3answers
355 views

magento 2 don't want to show proceed to checkout button based on custom condition

How to hide Proceed to Checkout button in the mini cart section magneto 2 from custom module based on my condition. For example: if the custom session data is set then hide - ...
0
votes
2answers
257 views

Magento 2 How to show count 0 on mini cart when no product is in cart?

Basically i want to show count on cart when no product is in cart.
0
votes
0answers
11 views

Magento 1.7 mini shopping cart not updating in other pages when programatically editing cart

For some specific reason, I need to add and remove items to the cart programmatically. Functionality appears to work but when I click on other category pages the mini shopping cart still shows old ...
0
votes
0answers
19 views

Magento 2.3: who knows how to place the cart summary into the static block on any page?

I am trying to place the cart summary to the static page with products. I wanna locate it to the right from the grid of products (listed using Catalog Products widget). Anybody knows how to do this? ...

1
2 3 4 5
9