Questions tagged [mini-cart]

denotes questions related to Magento mini cart

Filter by
Sorted by
Tagged with
0
votes
2answers
31 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
1answer
24 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
17 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
26 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
24 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
16 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
24 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
41 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
1answer
62 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
24 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
19 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
66 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 ...
2
votes
1answer
209 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
45 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
34 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
47 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
18 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
44 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
23 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
33 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
145 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
169 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
52 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
10 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
18 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? ...
0
votes
0answers
51 views

Magento 2 Mini cart items are shown twice

I have Magento 2 and I enabled ajax add to cart and the mini cart. I added 5 products to my cart, it shows a count of 5 but when I click on the cart icon to show the listing it shows the product list ...
1
vote
0answers
17 views

Magento, translate phrases of the wishlist and cart alert

I'm trying to translate the phrases that appear in the alert when trying to delete the item from the wishlist or in the shopping cart. I refer to these two sentences: - Are you sure you would like to ...
0
votes
0answers
36 views

Magento 2: Show discount and summary on mini cart (canvas)

I need to show the total summary and discount information on canvas cart. I am using a mini cart as canvas cart. https://prnt.sc/pcud8e May I call the api /V1/guest-carts/:cartId/totals-information ...
0
votes
1answer
79 views

Magento 2.3: How to make a custom block with all added items in the cart?

I am using Porto theme. In addition to the available mini cart sidebar, I'd like to create a custom block on the right side with a sticky cart, so customers would be able to see what they add and what ...
1
vote
0answers
139 views

Magento 2.3.2 minicart issue

Recently we upgraded Data from Magento 1.9.4 version in to Magento 2.3.2 [we did data migration]. After Data migration, we are facing issue with minicart section. if we click on minicart button it ...
0
votes
1answer
43 views

knockout.js getCartParam method

Currently, in my minicart.phtml override file I have knockout.js code like this to display the number of items in my cart: <!-- ko if: getCartParam('summary_count') --> <!...
1
vote
1answer
128 views

Magento 2: Mini cart not updating while delete a product from observer

I see my mini cart not updating its items when I delete an item from the cart programmatically. but the cart updating perfectly as per my requirement only after I added a new item into cart or any ...
1
vote
1answer
86 views

Magento 2 - How to conditionally show/hide the minicart block based on the customer permissions

The problem: I'm running into an issue with the page/block caching and the minicart. In the template cart/minicart.phtml we have a permission check to see if the current customer is allowed to add ...
0
votes
0answers
30 views

Magento 2 : Custom minicart

I have a custom free shipping bar in minicart, and how can I move it to before "View And Edit Cart", hope anyone help me.
0
votes
1answer
44 views

Magento2.3: Product quantity is not reflecting to the minicart

I have installed a module which is for adding increment and decrement buttons for quantity. After installing the module I can see the buttons in product detail page but when i update the quantity, it'...
1
vote
0answers
21 views

Magento2: How to add cart summery(tax,discount,shipping etc) in minicart popup

I want to display Shopping cart summery in mini-cart popup Like below screenshot can anyone help me out to display cart summery in minicart.
0
votes
1answer
41 views

Magento 2 : How to override price functionality on cart

Want to override cart price display functionality. Want to apply some additional formula before displaying Price on the cart and mini cart. Can anyone tell me how can I achieve this? Any help would ...
0
votes
0answers
25 views

Magento 2.3 : Update product quantity in cart

I have a custom module ajax cart. How can I update the quantity of product I added in first photo, and it is synchronized with the quantity in the cart. Thank in advance.
0
votes
1answer
51 views

Magento 2.3.1 minicart.phtml translations

I'm trying to translate the string items from app/design/frontend/<Vendor>/<theme>/Magento_Checkout/templates/cart/minicart.phtml without success. I have a dictionary already created in ...
0
votes
0answers
18 views

Magento 2: How to have minicart in reflect the updated product image for the item in (main) cart?

We use product designer that enables user to change the product image. While the new image (based on what the user changes) is rightly displayed based on the theme cart pages, the mini cart does not ...
0
votes
0answers
29 views

Magento 2 open minicart only when product added to cart

I have followed below post to open and close minicart as per this post. Magento 2 Open minicart when item is added. It is opening and closing perfectly. My issue is if I update minicart ...
1
vote
1answer
46 views

Magento 2.2.6: minicart still show value(count of products) after clear cart

After clear(removing all products) shopping cart shows nothing, but still show count of products value on minicart. tried to create sections.xml and flush cart after click 'distribution/cart/clear' ...
1
vote
0answers
36 views

Magento 2.3: Overwrite minicart content.html

I wanted to do some minor changes to the minicart in Magento 2.3. So I copied /vendor/magento/module-checkout/view/frontend/web/template/minicart/content.html to /app/design/frontend/MyCompany/...
0
votes
0answers
80 views

Magento 2 Is it possible add two minicart in mobile view?

I want to add two mini carts in the mobile view, below are the screenshots what I'm expected to do. The first screenshot will be shown when we click on the mobile menu. This is the second mini-...
0
votes
0answers
32 views

Magento 2: I need help in the mini cart phtml file

Hello, I want to remove this "module.Magento_Checkout.," from the mini cart hover .. I guess its by to know the path of mini cart phtml file .. then i edit in it and remove the line .. i want to know ...
0
votes
0answers
26 views

Magento 2: Add Attributes to Minicart

I want to add custom attributes to the minicart. I have tried all the tutorials on the web, but it still does not work. The cart keeps showing "You have no items in your shopping cart." ...
0
votes
1answer
113 views

Magento2: How do i generate Remove from cart Url for a product?

I want to cart item remove in minicart using custom URL. Below code in magento1 I want to magento2 code /** * Get item delete url * * @return string */ public function getDeleteUrl() { ...
3
votes
2answers
221 views

Magento 2.3 : Load new custom items into Shopping Cart when an button is clicked

I am making my own module and now I added a button into it. If this button is clicked I want to get products with an AJAX request from a REST API (I already get my products, this is no problem). ...
0
votes
0answers
53 views

Minicart doesn't show any products on homepage

Somehow, the cart is empty in homepage even when I add the products. Cart display all the content on all the other pages. I have the theme to default luma theme (we have extended the luma theme) ...

1 2 3 4 5 9