Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Buy x get y Free Cart Rules for all Items from Category

Tell me, please. How to set up "Buy X Get Y Free", I can’t get it. let's say I have a Category in which there are 4 Articles (4 different products of wine). I want to configure CART so that if there ...
0
votes
0answers
12 views

Magento 2 - Shopping Cart Display Settings without Tax for Specific Customer Group

We have a problem. We have various customer groups. Private customers and wholesale customers. For the catalog price display we are able to show the product prices with or without tax (working with ...
0
votes
0answers
11 views

Checkout/Shopping Cart page Let them know you have promo

Anywhere I can edit the text on the shopping cart page to let my customers know that there is an automatic sale going on without a promo code needed?
0
votes
0answers
23 views

Magento 2 how to get all shipping rates from CartTotalRepository

We already have table rate shipping wherein US shipping will be $13, Alaska and outside of the US will be $38. On top of it, we want to have rush shipping addition of $25. I was able to add custom ...
1
vote
0answers
26 views

How to add additional options in order admin side in Magento 2.3?

I am sending additional custom options in the cart when add to cart a product. I have used this link . Using this link I have added custom options in the cart as well on checkout page and minicart. ...
1
vote
0answers
18 views

Magento 2.3.1 - Advanced pricing error after customer login in frontend

we are working with Magento 2.3.1. Cache is enabled. We are experiencing a strange behavior with the respective customer groups and the advanced pricing: It seems the customer gropus somehow "slip ...
3
votes
0answers
27 views

How to add cart to custom page?

I have a custom page where users can fill out their e-mail to receive a quotation. I would like to add a column with a list of items currently in the shopping cart. How to achieve this? When I Google ...
1
vote
2answers
79 views

Magento2: How to restrict customer to require login for add to cart in whole website?

I need to integrate a functionality where when a user clicks add to cart it should check whether he is a logged in customer or not. If he is a logged in customer the product should be added in cart. ...
1
vote
1answer
31 views

Magento 2.3 : In API Cart Items are clear when payment failed

Cart items clear before payment success if the payment is failed then cart products are cleared in API. Actually I need if payment is failed the product no need to remove from carts this case ...
0
votes
2answers
36 views

Remove Cart Items Automatically Magento 2

I'm having a trouble with my Magento 2 store. I need to clear all items of users carts programmatically. If user don't purchase his cart, it'll be cleaned. Do you have any idea of how can i do that? ...
2
votes
1answer
58 views

Magneto 2 : How to change shopping bag icon [closed]

I want to change the shopping cart icon. I want to add a new image, how to do that. I am using Magento 2.3 https://prnt.sc/osf50f
0
votes
0answers
19 views

Cart edit page deletes all the previous saved data

I have added some of the products to the cart and then want to edit it. So, I have clicked the edit button, but after clicking edit button it deletes all the previously added products. How can I ...
0
votes
1answer
33 views

Magento 2 cart keeps loading

I have a weird bug. Every time I add a product to my cart it shows as if it were loading. However, it adds the product to the cart, if I switch to another page or reload the loading disappears and ...
0
votes
1answer
23 views

Enable decimal qty cause problem when updating cart qty magento 2

I need to the allow decimal qty so I set it to yes but qty can be integer also. So when I updated my qty to integer number it show me warning : please enter a valid value. Why do I have this behaviour ...
0
votes
0answers
31 views

Magento 2: Make State/Province field required in 'Estimate Shipping and Tax' section on Shopping Cart page

I want to make state/province field require in 'Estimate Shipping and Tax' section at shopping cart page and if state is not filled then 'Estimate Shipping and Tax' should not be generated. Anyone ...
0
votes
0answers
12 views

M2 - Show fixed shipping in shopping cart

How can I always show the fixed or free shipping in the shoppingcart? I need to display the shipping rate (<50) or the free shipping (>50). There is nothing that needs to be calculated or ...
1
vote
0answers
56 views

Magento 2 - How To Display Cross Sell Products Against Each Line In Basket

I am looking to try and add Cross-Sell products against the specific product they are related to. I understand that currently, the cross-sell products are shown on the cart page in relation to every ...
0
votes
2answers
32 views

Change label for shipping cart display

I am using magento2.3 I want to change the label of Subtotal to Subtotal(including vat) on shopping cart. Attaching image link for understanding. https://prnt.sc/of9a5c
0
votes
1answer
39 views

Which .Phtml Containing Home Cart Counter in magento2?

I Need to find out Home cart counter section in magento 2 ,
0
votes
0answers
18 views

Cart summary returns 0

Would you suggest the possible reason for the shopping-cart summary is displaying '0'? Please see the screenshot: https://prnt.sc/od4sy7 This happens after an ajax call which is running two ...
0
votes
0answers
12 views

how to add totals of every field under this table on cart page in magento 2?

how to add totals of every field under this table on cart page in magento 2?
1
vote
0answers
27 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. ...
3
votes
1answer
39 views

Got Error 500 when adding to cart Magento 1

I got 500 error when adding products to the shopping cart. I enabled the debug log and got the following error. I thought it may be caused by affiliate extension. So I disabled the module. But I ...
2
votes
0answers
14 views

Why cart ID is null even though i can see the id from \Magento\Checkout\Helper\Cart

I am trying to get the cart value, i can get the quote id when i do x-debug. if i try to get the id i get NULL Anyone know why i get this
1
vote
0answers
23 views

Magento2 WebshopApps Matrix rate extension issue with additional discount label in cart page

I have installed WebshopApps Matrix rate extension for my website in M2, i have also one custom module that shows gift card discount in cart page totals section,issue is when ajax call response comes ...
0
votes
0answers
36 views

Shipping fees not get updated when quantity get increased in magento 2

In the admin configuration, I set a minimum order amount of free shipping is 1000 INR and flat rate shipping as 50 INR per order. In my cart page when I order a product below 1000 INR, the shipping ...
0
votes
1answer
25 views

Empty shoping cart every night magento2.3 automatically

I want to clear shopping cart of all customer every night 00:00. Mean that in advanced reporting and abandoned product in cart and mini cart and cart page and checkout, every thing will disappear on ...
0
votes
2answers
31 views

Magento 2.3.1 clear carts and start over

I want to clear all shopping carts from database and start from scratch. But I don't want to create problems in database for my customer accounts or store orders. I just want to remove all carts which ...
2
votes
1answer
416 views

Magento 2 - Table Rate shipping method not showing in cart & checkout page

I am using the Magento 2.3.1 for my store. I just only enabled Table Rate shipping method with Price Vs Destination. After that I exported the sample format & updated country, zone values with ...
0
votes
0answers
27 views

Hidden items remaining in cart and checkout after being removed - Magento 1.9

We seem to be having a weird issue after we switched back to our Magento 1.9 store with the cart having multiple items in the cart even after the cart and cached has been cleared. To give a bit of ...
0
votes
0answers
79 views

Magento2.3.1 getting issue when update qty

How to solve below error when trying to update qty in cart? "Something went wrong while saving the page. Please refresh the page and try again."
1
vote
1answer
18 views

What is the correct way to show a Currency Symbol or Text across all prices shown in the store, cart and checkout?

Show a Currency Symbol or Text across all prices For example to show NZD after each $XXX.YY so it would display as $XXX.YY NZD This is to be shown on Product pages, cart, checkout. Is there a ...
0
votes
1answer
40 views

Magento2.2.5 - getting error

I got the below error in magento 2.2.5 Interface Magento\Framework\App\Action\HttpPostActionInterface' not found in /var/www/html/app/code/Sm/CartQuickPro/Controller/Product/Compare/Remove.php
2
votes
0answers
67 views

Missing column in Shopping Cart Table in magento 2

Here is my snapshot: The row of "Angel Light Running Short" does not having column stock. And then I tried to empty my app/code/Company/ModuleName/view/frontend/templates/cart/item/default.phtml ...
1
vote
1answer
89 views

How to delete cart Item by SKU or productId in magento 2

I have retrieving all cart items and deleting the quote item by match with the product Sku, Here is my code. protected $checkoutSession; protected $_itemModel; protected $cart; public function ...
0
votes
0answers
37 views

Issue with Overriding cart in Magento2.3.1

I want to add a custom button having a different value on the cart page I am facing issues with JS and won't understand what below line will do: data-mage-init='{"Magento_Checkout/js/action/update-...
0
votes
0answers
18 views

Tax Configuration setting is not working properly

Shopping Cart Display Settings is not working properly. after selecting Including and Excluding Tax both price is coming same as per below screen. In product listing page coming proper.
-1
votes
1answer
78 views

Country drop down change based on geoIp location on cart page

When any guest user comes at cart page I want to change the country drop-down based on guest geoIp location. Here I am adding the actual picture.
0
votes
0answers
61 views

Magento 2 : Cart page “update” button is not working

While trying to update my product quantity in cart page it giving an error "something went wrong". Does anyone have any idea why it's happening?
0
votes
1answer
160 views

Fatal Error: 'Uncaught Error: Call to a member function setCustomPrice() on boolean magento 2.3

Here i am trying to add product to the cart using customerId and productId without customer logged in, it's working fine but its not adding custom Price to that product,please guide me if you have ...
0
votes
0answers
31 views

Edit cart summary

I am trying to edit the cart summary on Magento 2 to be similar to below I can see what templates I need to edit, though the problem is in editing shipping.phtml and totals.phtml I am presented with ...
0
votes
0answers
16 views

Magento 2 View cart from abandoned cart email auto redirect to cart after login

I want to redirect customers to cart page after they login to site from the abandoned cart email. There is a way to set redirect after login is successful but i want redirect to happen only when cart ...
0
votes
0answers
45 views

Updating Basket quantity using ENTER clears the basket entirely

Trying to update the quantity in the cart with the ENTER key, the entire cart is deleted. Viewing the form code I realized that in addition to the "update cart" button there are also the "Continue ...
0
votes
0answers
12 views

Change magento2 cart page from table to div

want to change magento2 cart page from table to div to use bootstrap. any body can help me about this topic?
1
vote
3answers
463 views

Magento 2.3.1 - Update Cart Quantity Empties Cart when pressing ENTER

I have just updated to Magento 2.3.1 and noticed that whenever a customer goes to his cart and changes the quantity of an item and press ENTER, then the whole cart gets empty instead to updating the ...
1
vote
0answers
73 views

Error message in cart page showing twice Magento2

In the cart page, I am getting error message multiple times. This is the scenario Product A having qty 4. I have added 3 qty of items to cart for Product 'A'. An item with qty 3 is there in the ...
0
votes
1answer
44 views

How to hide country and state & state from cart page?

As I am new in Magento and I stuck with a problem for 4 days. I want to hide the country selection dropdown and state from cart page as My requirements to provide shipping only single country. How ...
0
votes
0answers
39 views

Magento 2 Tax is not applied while change the product price in cart page

I've a product "A", base price of the product is 0, I also create one tax rule(10% without shopping price) and applied to that product. But when i added the product "A" to the cart I am changing the ...
1
vote
1answer
81 views

How to show Additional Shipping Fee of per product on checkout page by an attribute

I have added an attribute for use on the product page: Now I would like it show on cart page like this: If the quantity of a product in the cart is increased, I would like the additional shipping ...
1
vote
1answer
159 views

Magento 2 - Get abandoned shopping carts through Rest API

I'm trying to retrieve the abandoned shopping cart through the Magento Rest API. Here is my request https://<my_domain>/rest/V1/carts/search?searchCriteria[filter_groups][0][filters][0][field]=...