Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

191 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
866 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
199 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
221 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
29 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
495 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
273 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
20 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
79 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
109 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 ...
2
votes
0answers
166 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
27 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
163 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
265 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
47 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
247 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
356 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
109 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
27 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
115 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
582 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
248 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
761 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
81 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
341 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
185 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
25 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
181 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
620 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
1answer
45 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
44 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
30 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
71 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 ...
1
vote
2answers
378 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
57 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
30 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
29 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
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 ...
1
vote
0answers
159 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
186 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
74 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
0answers
36 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.
1
vote
1answer
403 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 ...
1
vote
1answer
27 views

I need to know that how can I add multiple vendor cost customization on shopping cart page

Basically, I have 5 vendors so I need to add shipping cost like this. If any customer selects one product from the first vendor then price added 15 dollars. And if user select product from any other ...
1
vote
0answers
82 views

Magento2: How to apply cart rules by condition?

I have accessories category products. If I add only accessories category product in the cart then apply to no free shipping for accessories category products. If I add accessories category product and ...
1
vote
0answers
26 views

Cart price not updated on cart page - Magento 2.1.7

Cart is not getting updated when the product price in the cart is changed from the backend can you please help!
1
vote
0answers
74 views

Magento 2 - Shopping cart items order

I am trying to reorder the sections on my shopping cart page. This is what I currently have: And this is what I am trying to achieve: I need to add the cart totals inside \my-theme\...
1
vote
1answer
293 views

Error in Shopping Cart Magento 2.2.4

Preconditions Magento 2.2.4 (upgraded from Magento 2.2.3 successfully) Steps to reproduce Go to configurable product in Frontend and add it to Shopping Cart (e.g. 1 x T-Shirt in Size L and colour ...
1
vote
0answers
173 views

How to add each product items separatly to a shopping cart

Can some take an advice how to add each item to a shopping quote separately, even if add few items per one time? If override method in a class \Magento\Quote\Model\Quote\Item, it works if add the one ...