Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

193 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
1answer
999 views

Magento 2 - Update quantity and totals of cart page without page reload?

In Magento2 - We need to update main cart on change of quantity by Ajax without click on "Update Cart Button" and without reloading the page, Below my code in this code only update cart subtotal but ...
4
votes
0answers
305 views

Magento2 - Removing exist item during update items from cart :

Magento2 - I am doing some customisation work on cart page. I want to add product multiple times with same configuration during update items. Add to cart is working good but existing items get removed ...
4
votes
3answers
229 views

Disallow adding products if sku or shipping type exists in cart

As the title says. I need to be able to disable adding to cart if a product sku or shipping type already exists in the cart. Any way this can be done? Created checkout_stop.xml in app/etc/modules ...
3
votes
0answers
30 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 ...
3
votes
0answers
512 views

How to show Discount amount on shopping cart page below Total order in Magento 2?

I want to show Discount amount after applying coupon code below total order on shopping cart page.
3
votes
1answer
314 views

How to change the Persistent Cart time for Guest Users?

Magento 2 cleans up the guest cart data under 24 mins if left idle, is there any setting which can help to persist cart data for a guest user for around 90 days?
3
votes
1answer
1k views

Magento2: Cart price rule not applying

Bit of a strange one here I think. Using Magento 2 all I want to do is give a 10% discount on three products when a certain three products are in the cart. I have gone to "cart price rules -> ...
2
votes
0answers
47 views

Sliding Cart extension for Magento 2 enhances mini cart to the next level with responsive design and conversion oriented features

There is already a full-fledged free extension available on Magento's marketplace and Github Magento: https://marketplace.magento.com/ambab-module-slidingcart.html Github: https://github.com/ambab-...
2
votes
0answers
28 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
2
votes
0answers
110 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 ...
2
votes
0answers
65 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
0answers
215 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....
2
votes
0answers
28 views

Shopping Cart not loading while there are 1000 items in cart ( Magento 1 Enterprise )

My Shopping Cart is not loading while i put 1000 different items in cart . I know it seems odd but we have customers that do that , its a wholesale website . I did change the value of the default ...
2
votes
0answers
175 views

Magento2: How to get cart rules applied product details on product view page and cart page?

I want to display free shipping product promotion message on product view & cart page. But I cannot be getting promotion details. Magento2: How to get cart rules applied product details on ...
2
votes
2answers
385 views

Shopping Cart Price Rule Magento 1.9.2

Want to know how we can Set Shopping Cart Price Rule in Magento 1.9.2 for specific Category? i have 1 product which is under multiple categories but i only want to put Condition on One Particular ...
2
votes
0answers
59 views

How add Text area field to Cart Page and pass data to checkout pages

I want to add textarea to collect comment in cart page and then want to pass it data to checkout page and save it with order. How can I do it and how to add and pass. thanks,
2
votes
0answers
252 views

Add product to cart programatically is not setting price when we add product at first time

When adding product first time to the cart is not setting the product price, But when we add another product to the same cart (second time) the price of both product is set. my code is below: public ...
2
votes
1answer
441 views

how to use shopping cart rules to restrict postcode

We have small business and we deliver goods to only specific postcodes.How can i restrict purchase to only those postcodes.I have read that i can do it from shopping cart rules.So,I created one rule ...
2
votes
1answer
111 views

Setting Up a Buy X Product, Get Y Product Free

I would like to set up a "Buy X Product, Get Y Product Free" rule on Magento. Can anyone show me how to do this?
2
votes
0answers
28 views

Integrate a Micro Shop in a CMS out of Magento

We have a Magento 1.9.3 with different store views. Now i want to integrate a Micro Shop with only a few products on a partner website. It should show the product grid, the product detail grid and the ...
2
votes
0answers
120 views

how to group products dynamicaly and add same product separately into the cart page?

I have some products which are selected on front end by the customer and want to make the group of that selected product and add to cart as a single view. How to add same product separately into the ...
2
votes
1answer
599 views

Maximum quantity per order magento not per product

I want to set maximum quantity per order not per product. I tried to set the System->Configuration->Catalog->Inventory->Maximum Qty Allowed in Shopping Cart to 3, as per requirement only 3 item per ...
2
votes
4answers
2k views

Disable Ajax Add to Cart on product page

In our web-shop, we use an AJAX add to cart, so the page doesn't have to reload. But when the order is bigger than the stock, the ajax keeps loading and doesn't show a message the order isn't ...
2
votes
1answer
251 views

Magento 1.9 SHOP BY CATEGORY translation not affected

Magento 1.9 SHOP BY CATEGORY translation not affected how can i translate to french i'm using Porto theme please help me.
2
votes
1answer
795 views

magento Shopping Cart is Empty on safari & explorer browsers when i add products on these browsers

My store Shopping Cart is Empty is always empty when I use safari browser and internet explorer to view my store and add to cart from this browser. Please, can anyone help me regarding this? What can ...
2
votes
0answers
84 views

Shopping cart doesn not go to payment gateway, instead returns to a page “Shopping cart is Empty”

The shopping cart on proceeding for any mode of payment, leads directly to http://www.kkeautocare.com/checkout/cart/ which shows : Shopping Cart is Empty You have no items in your shopping cart. ...
2
votes
1answer
348 views

How can i remove configurable product from cart in magento using SOAP API v1

I am using this code but it gives error "Call to a member function getId() on a non-object" $c = array( '272' => 25, '502' => 46 ); $...
2
votes
0answers
190 views

Percentage added to my Magento product does not update on the fly. (Though it reflects on the Check Out Page)

I am building an online store. I wanted a functionality like following: There are more than one custom prices for a product. Each custom option has a fixed price. These fixed prices from respective ...
2
votes
0answers
26 views

Free Shipping Limited To A Certain Carrier

Is there a way to make free shipping for only a certain item and for only "USPS Media Mail". I.E. I want people to be able to add "product a" to shopping cart and when they see the shipping rates, it ...
2
votes
0answers
182 views

Delete/Update Configurable Product from php

I am trying to delete a configurable product in my cart wiht shoppingCartProductRemove with Api SOAP v2, but the api return Please specify the product's option (s) There is a way to add/remove/...
2
votes
1answer
653 views

Search Term keep on reappearing after deleted

I deleted all search terms in catalog/search terms/select all/delete to clear but then in few minutes later it reappears in the dashboard.I want to show new search terms in the dashboard from scratch. ...
1
vote
0answers
12 views

“Update Shopping Cart” button redirects to homepage when admin setting “Product Redirect to Shopping Cart” is set to No

Magento 2.3.5 Under Nginx Update Shopping Cart button redirects to homepage when pressed. The quantity is updated but the customer is forced to go to the homepage instead of staying in the shopping ...
1
vote
0answers
17 views

Magento 2 move tax section in to grand totals in cart page

I want to move the tax in between the order total incl tax and order total excl tax in the cartpage. The Tax section is in the vendor/magento-tax/view/frontend/web/template/checkout/cart/totals/tax....
1
vote
0answers
21 views

Magento2 - Remove Extra space from Shopping cart image

Here I am facing a UI issue but don't know how to solve it. In My shopping cart page my product image is getting extra space i dont know from where it is coming.
1
vote
1answer
22 views

Magento1.9 - Cart page subtotal is wrong

I am facing on the issue in My Magento1.9 cart page where the product subtotal is different than expected. Expected result: Unit Price * QTY = Subtotal Actual result: Unite Price * QTY = Some ...
1
vote
1answer
232 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
0answers
23 views

Magento 2: Cart is allowing update more than available qty

I am having very odd issue. I am using Magento 2.3.2. I have migrated data from magento 1.9.3. While I am adding product to cart, It works perfect, however whenever I try to update qty from cart it ...
1
vote
0answers
200 views

Magento 2 - delete product in shopping cart view - blank page

when we delete a product in the shopping cart (checkout/cart/index/) view via the button "Remove item", I always get a blank page at the checkout/cart/delete/ page. Does anyone know how to fix this? ...
1
vote
0answers
35 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
146 views

Magento 2.3.1 - Advanced pricing error after customer login in frontend

We are working with Magento 2.3.1. The cache is enabled. We are experiencing strange behavior with the respective customer groups and the advanced pricing: It seems the customer groups somehow "...
1
vote
2answers
1k 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
0answers
64 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 ...
1
vote
0answers
38 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. ...
1
vote
0answers
60 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 ...
1
vote
1answer
22 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 ...
1
vote
0answers
68 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-...
1
vote
0answers
211 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 ...
1
vote
0answers
240 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
100 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 ...
1
vote
1answer
619 views

Shopping Cart Thumbnails not showing

Have a little problem with my M2 V 2.3. In the shopping cart the thumbnails image is not displayed. I can see that it gets a 404 for the image and when I look ind the pub/media I can not find the ...