Questions tagged [update-cart]
The update-cart tag has no usage guidance.
9
questions
0
votes
0
answers
9
views
Cart update qty performs two requests to controller magento2 why
Using Magento 2.4.1
While updating quantities from cart page, 2 request were made
updateItemQty and 2. updatePost
But why? what is the use of sending request to updateItemQty first before updatePost....
0
votes
0
answers
22
views
How to override updatecart.phtml in custom module?
I have a custom form in addtcart.phtml and collecting some custom options. I need to show the collected values on the edit cart page too.
I tried to override the file like below in the custom module.
...
0
votes
0
answers
48
views
Edit Cart Item with Additional Options
I have built an extension to handle a set of additional options for products. Each option is a drop down that is dynamically populated. The extension works fine for product added to cart from the ...
0
votes
1
answer
164
views
Magento 2.3.4 UpdateItemsQty controller as well as plugin has wrong store
Purpose:
Restrict cart item quantity update when total products are more than 10. So I have created around plugin for UpdateItemQty controller which check total quantities and return error when items ...
0
votes
1
answer
395
views
How to add dropdown for product qty in update cart page in magento 2?
I added dropdown for product qty box in addtocart.phtml like below:
<div class="field qty">
<label class="label" for="qty"><span><?php /* @escapeNotVerified */ echo __('...
2
votes
2
answers
1k
views
Cart page update with AJAX using increment/decrements button
I am trying to update cart without refreshing when someone clicks on-increment or decrement button by creating custom module.
I override the cart/item/default.xml and add button, script to send ...
0
votes
0
answers
68
views
Magento2 : Configurable products are not updating in cart
I have configurable product in my store and I am using magento2.2.6.
When I edit the product from cart page and Mini Cart, it not update the product, it added the new product in the cart, Some time ...
0
votes
1
answer
365
views
Magento 2: How to update custom attribute value in cart page
Magento 2 How to update custom attribute value in cart page - Kindly find the below screen shot.
0
votes
1
answer
338
views
Magento2 - How to lock customer cart?
I have added product to customer cart programmatically with custom
prices as quatation.
Now customer should not add,remove or update cart items as it is
fixed quatation.
How can i achieve this?