Questions tagged [cart-items]
The cart-items tag has no summary.
52 questions
0 votes
0 answers
62 views
Magento2 - How to move checkout page side bar Cart Items section below the shipping method on checkout page?
Kindly help me in this Magento2 - How to move checkout page side bar Cart Items section below the shipping method on checkout page? Thanks in advance.
1 vote
1 answer
907 views
Magento 2: Add discount based on individual qty and item to cart
I need to set cart discount based on individual qty and individual item for cart. For example if cart have 2 item then lowest price item to give higher percentage discount, like need to add 10% and 20%...
2 votes
1 answer
259 views
Magento 2 : Disabled product is removed from the cart
I want to set a message when a disabled product is removed from the cart. Does anyone have any idea about it?
1 vote
0 answers
328 views
Magento 2 Add/Remove Extra info in API(carts/mine/items/) payload
I'm trying to add product via API call https://testdomain.com/rest/V1/carts/mine/items/ my payload is { "cartItem": { "sku": "444375", "qty": 1, &...
0 votes
2 answers
208 views
Magento 1.9 can not remove product fom quote
I have some problem with removing product from quote. I observe "Add to cart" with "checkout_cart_product_add_after" event and there simply do this: $quote->removeItem($...
0 votes
1 answer
886 views
Reload page after removing item from Mini cart in magento 2.3.3
Is there any way to reload the page completely, when we remove an item from mini cart. https://prnt.sc/11i1x2g After clicking on ok , i want to reload the page.
0 votes
1 answer
1k views
Not able to get parent_item_id for cart items retrieved from Order - Magento 2.3.5
I'm trying to get parent_item_id but it is returning null for all simple child products. $order = $observer->getEvent()->getOrder(); $items = $order->getAllVisibleItems(); foreach ...
0 votes
1 answer
636 views
Auto delete item from minicart in magento 2?
I have 2 items in cart suppose A & B. When customer delete item A from minicart then auto delete item B. How the ajax will call 2 times, I have done this in controller's execute function (delete ...
1 vote
1 answer
4k views
Magento 2 error "No such entity with cartid =xxxx"
I'm frequently getting this" No such entity with cartId =xxxxx " When I try to edit order by set order status to another status or assign order to customer. I've taken a look at the database ...
1 vote
0 answers
95 views
Magento2: How to separate quote?
Like, I have 5 items in my Cart. It means there is 1 row in quote table. Which contains parent ID. And, 5 rows in quote_item which describe all 5 items. I want separate 3 items from these 5 in ...
0 votes
1 answer
1k views
Magento 2: Rest API update multiple cart Items
I need to update multiple cart items quantity in Rest API. Default Magento only have update single cart item. Single cart update Item endpoint: /V1/carts/mine/items/:itemId I have tried with ...
1 vote
2 answers
767 views
Cart item images are not showing in Order summary
Currently, am adding the product programatically while moving from the Shipping -> Review & Payments and facing a problem. The added item image is not showing in the Order Summary other than this ...
2 votes
1 answer
2k views
Magento2 : How to remove delete item button from cart page?
I want to remove delete item button from cart page. I am using below xml code to remove this but not working:- Path: app/design/frontend/vendor/theme/Magento_Checkout/layout/...
1 vote
1 answer
251 views
Magento 2 call setTemplate return null data
I am calling below code in my addtocart.phtml to get cart item data <?php echo $this->getLayout()->createBlock("Magento\Checkout\Block\Cart\Item\Renderer")->setTemplate("Magento_Checkout:...
1 vote
1 answer
87 views
Magento 2 add Item SR NO. in cart!
I have added new column of SR NO in cart table. But <tbody> tag generating dynamically. I want to add sr no for each row. but When I am trying it is not working and showing only 1 in each row. ...