Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

Filter by
Sorted by
Tagged with
1
vote
0answers
24 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
26 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
21 views

Which .Phtml Containing Home Cart Counter in magento2?

I Need to find out Home cart counter section in magento 2 ,
0
votes
0answers
17 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
11 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
21 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
35 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
8 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
13 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
19 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
19 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
30 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
44 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
26 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
45 views

Magento2.3.1 getting issue when update qty

how to solve this 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
29 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
38 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
32 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
34 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
17 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
52 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
23 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
76 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
30 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
15 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
39 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
11 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?
0
votes
1answer
250 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
42 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
39 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
27 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
46 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
82 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]=...
1
vote
0answers
111 views

Add multiple products in cart programatically magento 2

I am trying to add multiple products in cart programmatically. This below code is working properly but I need to set quantity dynamically. If quantity is not set that product to be skipped without ...
0
votes
0answers
21 views

Shipping Amout calculating automatically in magneto2 cart page

I have installed the webshop matrix rate. The shipping calculations are correct in the checkout based on the country selections. But in cart page also default the first shipping method value is ...
1
vote
1answer
34 views

Remove shipping method auto apply from cart in magento2 [closed]

I have installed Webshop matrix rate extension and its working fine. Whenever i add product to the cart, Automatically it takes the first shipping method and applies the shipping price for the cart ...
0
votes
0answers
80 views

why checkout and cart page not showing in magento 2

my site not showing checkout and cart page why this happening ?? Checkout page Cart page can anyone find the solution
1
vote
0answers
98 views

How to see the guest-cart in the webpage

I successfully added a product with the api rest using and the access point '/rest/default/V1/guest-carts/:cart-id:/items'. Now, I need to show this guest-cart in the cart page of the client Any idea?...
1
vote
1answer
55 views

Magento 1.9 multi stores with independent carts

Is it possible to have independent cart for each store under single magento installation. Now i have created a site with 2 stores, but each store is sharing the single cart. How it is possible to ...
2
votes
1answer
26 views

Magento2 ajaxsuite- ajax login

I want to show Ajax suit modules, Ajax login popup on cart page when press checkout button. right now, I used $('.modals-wrapper .popup-authentication').addClass("_show") and it shows magento2 ...
1
vote
0answers
27 views

Sticky cart summary on magento 2.1

I want to stick my cart.summary (sidebar) in cart page. mean that, when i scroll down to see other items in cart page, side bar stick in the left and always can see him over scroll up or down.
2
votes
1answer
36 views

Can't add products to shopping cart / cart keeps loading Magento 2

I recently copied a website over to another host by using the import tool. After this I don't seem able to add items into my shopping cart. The button keeps saying loading and the Ajax loader shows ...
0
votes
0answers
16 views

Copy the cart to new page, but no action triggered when click on “update shopping cart”

I've copied my cart summary into a new page. I see my cart like if it was in checkout_cart_index, that's ok. But when I change a quantity and click on "update shopping cart", the page reloads and ...
0
votes
0answers
134 views

Uncaught TypeError: Cannot read property 'undefined' at Object.formAddressDataToQuoteAddress (address-converter.js:52) magento 2

I'm working on a website and suddenly I found that error in cart page Uncaught TypeError: Cannot read property 'undefined' of undefined at Object.formAddressDataToQuoteAddress (address-converter.js:...
0
votes
0answers
13 views

Using only the cart and integrate?

I am in need to implement an interim shopping solution until we have fully implemented Magento. Instead of developing a cart from scratch allowing to populate multiple carts with items and forward to ...
0
votes
0answers
98 views

How to change row subtotal with custom price in cart?

I need to change row subtotal with custom price. Product X : $90 Applied Catalog Discount : $80 User trying to add : 4 Qty User can only purchase 3 items with discounted price. For the remaining ...
0
votes
1answer
58 views

How to add a product with two line items

I want to add a product with two line items. Say for example if i add Product A with qty of 4. I need to split cart into two line items. 3 qty as one line item and 1 is in another. How Can I achieve ...
0
votes
1answer
51 views

Rest API to get thumbnail image in shopping cart

In rest api, I am using "rest/V1/carts/1/items" method to get the magento cart items. It works well and the result is { "item_id": 1, "sku": "sk1", "qty": 4, "name": "test", "price"...
2
votes
0answers
91 views

How to apply tier price with custom option product in Magento 2

I have a product with more than 5 custom option in Magento and I want to apply tier price rules on a combination of custom option product in the cart. Ex. I have tier price rules like Buy 3 for $95....