Questions tagged [minicart]
28 questions
3
votes
1 answer
Liferay Commerce Mini Cart Remove All Items event listener is not working
I am working with Liferay DXP 7.3 and Commerce 3.0. (GA1)
I would like to listen event Remove All Items on Mini Cart, but the event is not triggered.
This is my code:
Liferay.on('productRemovedFromCart', getCartTotal);
Does any one know how can I…

Dinh Thai
- 51
- 3
2
votes
1 answer
WooCommerce Mini Cart is coming Blank on add to cart from product page
In my WooCommerce shop, the mini cart in is coming blank when I am adding product from single product pages, but when adding product from home page through add to cart it shows up.
It started happening after I installed a plugin for direct checkout…

Priyanshu Sharma
- 23
- 2
2
votes
1 answer
Woocommerce mini-cart ajax apply coupon
I have been going in circles with this I have added an apply coupon field to mini-cart.php and am trying to get it to run without refreshing the whole page. Any suggestions would be amazing help.
functions:
function apply_coupon_code(){
…

Dillon L.
- 45
- 5
2
votes
1 answer
Magento 2 - Configurable Options Selected Not Showing In Minicart
We have recently noticed that the selected options on a configurable product aren't showing in the minicart. It will show the Labels for the options on the product, but not the selected options.

HudsonWY
- 55
- 2
- 12
2
votes
1 answer
Liferay Commerce: Is there any event is thrown when Product Quantity Change on Mini Cart?
I am working with Liferay DXP 7.3 and Commerce 3.0. (GA1)
After add product to Cart, I change product quantity and I would like to listen this event.
Is there any event is thrown in this case?
How can I listen to it?

Dinh Thai
- 51
- 3
2
votes
2 answers
Also change WooCommerce Minicart item price based on product custom field
Based on Allow customer to set the product price (giftcard) and add to cart if sum is minimum 100 in WooCommerce, which answers my initial question - I am left with one small problem regarding the WooCommerce minicart.
The product price is not…
user14112966
2
votes
0 answers
How can i get coupon disount in mini cart woocommerce?
I tried to call in the mini cart woocommerce_cart_totals() to get a coupon discount. But in mini cart it's not working. It's working only when I go to the cart page and refresh the page.
After this, discount in mini cart is working fine. But now I…

Vardan
- 21
- 3
1
vote
0 answers
add custom text in elementor mini cart widget
I am using elementor and woocommerce on my website. in the header is the elementor mini cart widget (Menu Cart Widget).
in the widget configuration is: Cart type: 'side cart'.
Using the code snippets plugin I want to add custom text located below…

armandoarturo7
- 13
- 3
1
vote
1 answer
Add 3 decimal places to everywhere except minicart, cart and checkout Woocommerce
I have come across issue where I want to show 3 decimal places everywhere on the site except cart, checkout and minicart. For that I have added this code to my functions.php file.
add_filter( 'wc_get_price_decimals' , 'custom_price_decimals', 20, 1…

in2d
- 544
- 9
- 19
1
vote
0 answers
Wordpress Mini Cart auto qty update not working
I am facing an error ajax load in the Woocommerce Mini cart qty + - Not refresh price when I clicking + -
My WordPress version 5.4.1 and Woocommerce Version 4.1.1
My mini-cart.php code is below :
Please help what I did wrong it's custom…

Ansarul Haque
- 51
- 1
- 10
1
vote
1 answer
Add increase / decrease buttons to Magento 2 Minicart
I want to enable the user to increase/decrease the quantity inside the minicart on button click.
1. I added two new buttons to the Magento_Checkout/web/template/minicart/item/default.html
0
votes
1 answer
Inserting button in Magento 2 mini cart which is loaded by a javascript code
I need to add button in mini cart just below the "Proceed to checkout" button. And the button is loaded using this javascript code:
let sourceUrl = "{some_url/index.js}";
let scriptEle =…
0
votes
0 answers
magento 1.9.1.0 showing error message on minicart
when I add any product by clicking the "Add to Cart" button the website redirects to the 503 error page, the error is:
"Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems.…

Asif Jalil
- 89
- 4
0
votes
0 answers
Disable quantity buttons woocommerce mini-cart for specific products
I want to disable the quantity buttons for specific products in both the cart page and the mini-cart.
The following Disable specific cart item quantity fields based on WooCommerce product category. works for the cart page, but the quantity buttons…

Naomi S
- 43
- 6
0
votes
2 answers
Cart modal overlay sticks to the top When it has mutiple items
I created cart modal, when i add multiple items to it, the style looks weird because the firs item cant see in the modal. probably i have some style issue. i am gonna share the code of my modal and styles. The screenshot i took probably has 4…
user18986944