Questions tagged [mini-cart]
denotes questions related to Magento mini cart
476
questions
1
vote
0
answers
52
views
Translate minicart , captcha module and other module Magento2
I have a website with 3 differents language : arabic, french , english. i created the i18n under my
app/code/Maget/MyModule/i18n
but there is the minicart, captcha module, strength of password ...
2
votes
1
answer
63
views
Magento 2 minicart issue
Please suggest for below issue.
1
vote
3
answers
1k
views
Magento 2: change the design of minicart and cart popup
I am having png image. It should be act us mini-cart and i need to change the design of cart popup.
I don't know the paths for that.
2
votes
1
answer
535
views
How can I disable the mini-cart if the basket contains too many products?
I am working on a wholesale website in Magento 2 and have noticed the front-end performance drops off massively when the mini-cart has to render too many items (over say, 20 different SKUs).
I'm ...
1
vote
1
answer
3k
views
Magento 2 Rewrite minicart default.html with phtml
I have created a file app/design/frontend/my_vendor/my_theme/Magento_Checkout/web/template/minicart/item/default.html to write the Magento 2 standard mini cart default.html. And this is working fine.
...
3
votes
1
answer
352
views
Magento2: black screen after display mini cart
After opening the mini cart, everything works correctly in every place on the site.
But we have issue after display mini cart in checkout. (after close mini cart stays still black screen):
here is ...
3
votes
4
answers
2k
views
Disable minicart dropdown on mobile devices
When on mobile devices, I want to display the cart icon on the navbar but on clicking, it should go directly to the cart page.
3
votes
1
answer
2k
views
Remove Qty Box from mini cart and the page of checkout page
I have a site to buy a unique product (qty =1) so i need to eliminate Qty from mini cart, i just overrided /web/template/minicart/item/default.html : i removed div Qty but she still there any idea how ...
1
vote
1
answer
751
views
Magento 2: how to hide product from minicart
In our store we're offering a free gift that is attached to the product customers can buy, but since they clutter the mini cart I came to the idea of simply hiding those products in it (and still ...
2
votes
0
answers
140
views
Show popup when update qty in mini cart using ajax magento
When I update qty in mini cart if qty is greater than the qty of products in stock, I want to show popup "The requested quantity for ...(my product name) is not available." using AJAX.
How to do that?...
2
votes
0
answers
314
views
cart().subtotal_excl_tax and cart().subtotal_incl_tax are the same
cart().subtotal_excl_tax and cart().subtotal_incl_tax are the same
I got the some price. How can I get the subtotal with including tax?
<div class="amount price-container">
<!-- ko if: ...
2
votes
3
answers
2k
views
Magento 2 | manipulate minicart product name
I want to manipulate the product name within the minicart.
Check the picture below:
I can't find out which template is generating this.
2
votes
2
answers
2k
views
Not able to translate OK and cancel buttons in confirmation popup minicart
After adding an item into cart if we goto mini cart and click on remove item a confirmation popup with Ok and Cancel option will appear. I am not able to translate the Ok and Cancel buttons.
Please ...
0
votes
1
answer
437
views
When press browser back button cart is empty
Its my first question so I am very excited to become part of this big community.
I am experiencing an issue with the cart.The point is when I press the browser back button after adding some product ...
0
votes
0
answers
318
views
Magento 2 : Minicart customization - add 2 attribute in minicart
I followed this link for minicart customization but i did not work for me href "I want to customize my minicart in Magento 2. I need to add 3 attributes "
I followed above link but my minicart not ...
0
votes
3
answers
2k
views
Magento2 : Mini cart removeItem is not working
I have a magento2 live store, that was working properly. But today mini cart remove item functionality stopped working.
When I checked in developer mode, I found that the Request Url /checkout/...
2
votes
0
answers
112
views
How do I remove the + sign from mini-cart bundle options in Magento 2
How can I remove the leading '+' sign from mini-cart bundle options in Magento 2
1
vote
3
answers
2k
views
How can i open mini cart on add of a product
I am using the below link to create an observer.
Magento 2 Open minicart when item is added
My question is what code will come here
if ($cartUpdated) {
// open mini cart
}
How can i open the ...
2
votes
0
answers
191
views
Magento 2: Minicart is not updated for certain storeviews when adding product for the first time
II have multiple websites and storeviews in my Magento 2.2.2 installation.
I have experienced a weird issue, that for some storeviews, when adding a product to the shopping cart for the first time, ...
0
votes
0
answers
283
views
Minicart blank only on product page magento 2 getting knockout js error!
I am using an extension WeltPixel_QuickCart for minicart sidebar. It is working fine on all pages except product detail page.
Knockout js error showing in the console on product page:
Uncaught ...
2
votes
0
answers
443
views
Magento2.2.x Custom page side bar in display mini cart items
My custom page in displaying all product with add to cart product functionalities I want display mini cart items on page sidebar. after add to cart item update and display in that sections.
like that....
0
votes
1
answer
375
views
Update minicart.phtml when I update my product quantity
I have made a pair of modifications in "/app/design/frontend/Venustheme/mohawk/Magento_Checkout/templates/cart", a pair of lines that calculates number of carries through the price (If price is 300€, ...
0
votes
4
answers
2k
views
Changing cart image based on cart item
I am trying to change the cart image based on my cart item configuration. But it seems like Magento\Checkout\Block\Cart\Item\Renderer::getImage receives the original Product model class and not the ...
1
vote
3
answers
4k
views
Magento 2: How to replace minicart icon
How can I replace the minicart icon when using a custom theme?
0
votes
1
answer
712
views
Lesti FPC is caching the minicart on header
I managed to get Lesti FPC working with memcached, but I quickly ran into a problem.
When I add an item to my cart from any page and go back to the homepage, it shows that my cart is empty.
I ...
1
vote
0
answers
39
views
Checkout cart products disables randomly
I have created a website using Magento 2.2.3.
I'm facing issues with adding product to the cart.
The issue is,
I can add the product to the cart and able to checkout. But, If i want to add some ...
3
votes
1
answer
3k
views
Magento 2 - Product names with special characters
Products having special characters like TM, I am importing products using ™ for TM, it appears as expected on product detail and listing page. But when the product is added to cart, in mini-...
0
votes
2
answers
69
views
Adding Products to Shopping Cart
I'm using v1.9. When a customer adds products to cart, it only shows the last 3 (looking to the customer like the other products haven't been added) please could you advise?
see example
0
votes
0
answers
286
views
Mini cart should open automatically and close after few seconds when product is added in Magento 1
I am working on magento1 project. I want a solution to below mentioned problem.
When we add product to the basket, the mini cart should automatically open up and then close after few seconds(5 ...
2
votes
0
answers
195
views
magento minicart add subtotal in icon area where count is shown
Seems like a pretty simple task but I've edited minicart.phtml with <span data-bind="html: getCartParam('subtotal')"></span>
and can't seem to figure out why I can't get subtotal next to ...
4
votes
2
answers
3k
views
Add custom product attribute to mini-cart
I have to use a custom product attribute in the mini cart and the full cart view.
After creating the file /etc/catalog_attributes.xml in my module folder i could read my custom attribute in the full ...
2
votes
1
answer
45
views
Issue with my cart module on pdp and cart pages, just keeps spinning
I would like to add new attributes to the cart that already exist, I just want to populate them on the front end cart.
Here is the structure of my module:
app/code/Frontier/Minicart
| ...
0
votes
1
answer
188
views
Magento 2 / Ultimo mini cart error
I'm using Magento 2.2.2 with the Ultimo theme. Straight away I'm getting an error with the mini cart in the header.
Products can be added to the cart but the mini cart appears to only half load and ...
1
vote
1
answer
907
views
Magento 2.2.3 Minicart missing proceed to checkout text
I would like you help on this I have been reading and reading and cant find an answer.
Magento 2.2.3 with a templatemonster theme
This is my minicart.phtml, and the problem is the proceeed to ...
0
votes
1
answer
695
views
Render minicart without dropdown dialog
I want to move the minicart to an offcanvas sidebar (foundation 6). I was able to move the minicart vial layout.
But it keeps rendering as a dropdown dialog (magento ui) so I would like the cart's ...
3
votes
1
answer
4k
views
Magento 2: Minicart Failed to load the "Magento_SalesRule/js/view/payment/discount" component
I am working on MiniCart Extension in which I need a coupon code text box in my Minicart. For that I have overridden default.xml in my Custom Module but everytime It returns following error in the ...
0
votes
0
answers
147
views
Totals - Minicart - JS problem
I have 4 errors in my shop now.
After change a plugin and did everything clearing the cache, deploy the static files, we have the error with the totals js, I should say, we bought a template and we ...
3
votes
5
answers
14k
views
Adding quantity increment button in cart and mini cart
I need to add a quantity increment button in cart page and mini cart popup like this.
I added the button but I can't assign the functionality.
This is what I did
app/code/Amsi/UserManagement/...
1
vote
0
answers
553
views
Apply cart rule discount in mini cart
I have implemented cart rules that gives discount when the user buys more than 20 items of a product.
The discount is shown in the cart, but not in the mini cart, which is very confusing for my ...
0
votes
1
answer
1k
views
Magento 2.2.2 issue mini cart not working
Centos 7 (se linux disabled)
nginx php 7.0.27
Luma theme
Magento 2.2.2
A very strange issue. Minicart not working I found a lot of posts but no one corrects my issue.
try setup:di / deploy static ...
2
votes
1
answer
1k
views
Magento 2.1.9 frontend font icon extend
I need to change only one font icon -the cart icon. I tried a few guides:
https://www.classyllama.com/blog/icon-fonts-magento-2-foundation
http://rossmchugh.com/extending-magento2s-icon-font-system/
...
0
votes
1
answer
962
views
Overwriting the cart page layout in Magento 2.1.7
I am working on a Magento 2.1.7 shop. To achieve this, I have created a child-theme of Magento Blank.
I want to change the layout of the page visible at the URL
www.mysite.com/checkout/cart/
I ...
0
votes
2
answers
1k
views
Add a "My cart" link to the top links
I am working on a Magento 2.1.7 shop. To achieve this, I have created a child-theme of Magento Blank.
I want to add a My cart link to the top links:
Clicking this link should make the Ajax cart ...
3
votes
1
answer
1k
views
Custom "add to cart" button not updating minicart
I've added a custom "add to cart" button by overwriting the configurable.phtml file in my theme.
The button adds the product to the cart, however it doesn't seem to show up in the minicart -
...
2
votes
3
answers
12k
views
How to clear cart and minicart programatically in Magento 2?
How to clear cart and minicart programatically in Magento 2??
I am using this code
$quoteId = $this->_checkoutSession->getQuote()->getId();
$quoteModel = $this->objectManager->create('...
0
votes
2
answers
1k
views
How to move minicart into topbar.phtml?
Right now I have the following default.xml file...
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/...
0
votes
3
answers
4k
views
How can I display the grand total in the minicart? - Magento2
I currently have my subtotal tax settings set to 'Display subtotal excluding tax'. This has changed the subtotal in the minicart to display the subtotal excluding tax.
How can I display the grand ...
0
votes
4
answers
3k
views
Magento 2 - How to show not visible individually products in mini cart?
I have create a ajax call and added a product to cart programmatically. After that i have redirected to direct checkout page. Now mini cart shows similar to attached image. Point to be noted is cart ...
2
votes
2
answers
7k
views
Magento2 catch ajax complete, add to cart
I'm building an custom mini-cart. I want it to update itself when an article is added to the cart. I'm trying to do this by jQuery with catching the ajax complete, but can't get it to work. Can anyone ...
3
votes
2
answers
1k
views
Magento 2 : Minicart disable quanity box
How can we initially disable quantity box (read-only) of mini cart and enable it while clicking edit link for each separate product ?