Questions tagged [shopping-cart]
Denotes questions related to the shopping cart in Magento.
577 questions
0
votes
1
answer
27
views
Help with strange Magento behaviour on VPS. Cart not updating until after page refresh, cache refreshes after navigating away from page
We're having a strange problem that we can't seem to get to the bottom of. No errors are being shown.
Within the CMS, if we click flush cache, the page quickly refreshes and nothing seems to happen. ...
0
votes
2
answers
34
views
Magento2 For a logged-in customer, when I click 'View and Edit Cart,' the customer is automatically logged out after reaching the cart page
Website: www.artlounge.in
I'm encountering an issue where, after a customer logs in and adds a product to the cart, clicking on 'View and Edit Cart' causes an automatic logout. This issue occurs when ...
0
votes
0
answers
10
views
Order Summary shows wrong label for discount after refreshing
I have modified the en_US.csv file on my site to change the word "Discount" to "Savings" in the Order Summary that displays on the cart page.
app/design/frontend/Vendor/theme/i18n/...
0
votes
0
answers
29
views
Login As Customer doesn't reflect cart items at actual customer login
We have a clean Magento build with version 2.4.5-p1. We are facing issues with "Login As Customer" core Magento extension. We successfully logged in to customer's account using "Login ...
0
votes
0
answers
29
views
On Cart Page Estimate shipping and taxes section add custom validation to zipcode
How can I add custom js validation to my cart estimate page for the zipcode?
The default Magento 2 behavior is that, on any change in pincode field, the prediction action starts and a spinner is shown,...
0
votes
0
answers
20
views
Cart crossell products on PDP
I'm using magento 2.4.6 and I want display the crosssell products that is set using cart-product rule on PDP. Is this possible?
0
votes
3
answers
240
views
Magento2: How we can add cacheable block on cart page using block_html cache type?
I want to add a cacheable block on the cart page. The cacheable block should be cached using the block_html cache type.
0
votes
1
answer
29
views
Why does my free-shipping.phtml template only show in my minicart when i'm in checkout/cart page?
I have a custom free-shipping.phtml template which shows the amount remaining until free shipping. I can see it only in my minicart when i'm in checkout/cart page.
I referenced the container with the ...
0
votes
0
answers
51
views
Coupon code is not validating the customer segment condition on cart page?
I have customer segment and sku condition in the cart rule with specific coupon code. This is working fine for sku condition but this is not working for exact customer segment id.
Same coupon code is ...
0
votes
0
answers
67
views
remove discount from the cart page
Is there any way to remove discount price [NOT THE COUPON FORM] from the cart page and adjust the Totals accordingly but should be visible on checkout page ?
0
votes
2
answers
262
views
Tax calculation showing wrong in magento2
Total is 607.77 and TAX is 6%, it's 36.4662
But magento showing 37.67
Can anyone help me how i can get 36.4662 insted 37.67?
Admin side tax settings:
Thanks in advanced.
1
vote
0
answers
91
views
OpenMage LTS 19.4.15 (Magento 1.9) Super slow POS and Cart functions, but fast backend and frontend performance
We use AWS to host our site, and shortly after I increased memory from the standard 30gb to 40gb on a t3.medium, I noticed that the POS we use (magestore) was acting super slow. Where it would ...
0
votes
1
answer
165
views
get the value from quote_item_option table (info_buyRequest) in GetCartDetails graphql Magento 2
How can we get info_buyrequest value using customer cart graphql magento2?
Any suggestions
1
vote
0
answers
358
views
Magento 2 Hyva: How to add a loader in cart on increasing and decreasing qty using Hyva?
I want to add a Hyva loader on the cart page using the Hyva theme. I
checked this doc from hyva Hyva doc loader but I am not sure
How I can implement this on increasing and decreasing qty.
Let me ...
0
votes
1
answer
125
views
Magento 2.4.6 How to remove or hide My Cart?
I am using Magento 2.4.6, and using the multi-site function, One of the sites, I like to display as a catalog, does not need a shopping cart (My Cart). I know that hiding prices can hide the add to ...
3
votes
1
answer
1k
views
Current customer doesnot have an active cart
I'm using Magento 2.4.3-p2 version, now I'm facing a strange error at the checkout page. When I click on place order button, it says Something went wrong and Current customer doesnot have an active ...
0
votes
2
answers
76
views
How to override grid.php block or cart.php block to remove some items from shopping cart
I want to filter the products (excluding products with some attributes) when the shopping cart is loaded. What is the best way to achieve this. I have looked into overriding getItems function of ...
1
vote
1
answer
378
views
Where in Magento admin can I set/change expiry time for the cart?
Where in Magento admin can I set expiry time for products in the cart? Currently, the product is not going to stay in the cart for more than 24 hours once a cart is abondoned.
2
votes
0
answers
111
views
Magento 2 - Go to checkout button is not clickable
Site was working fine and then suddenly "Go to checkout" buttons in minicart and shopping cart are not clickable. Can't seems to find the reason behind it. Does anyone has any idea why this ...
2
votes
2
answers
148
views
Empty shopping cart button not working
I'm not sure what I have done to mess up the empty cart button in the shopping-cart page. Nothing happens, not even a page-refresh.
Its a multishop and it dosnt work on any shop. Not even using ...
0
votes
0
answers
77
views
Magento 2.3 empties cart after a failed payment
Firstly, this is the environment we're working in:
Magento 2.3.0 (PHP 7.2.34, MySQL 8.0.30)
Cogito - Clean, Minimal Magento 2 Theme
Mageplaza Magento Instagram Feed Plugin
Barclaycard integration
...
2
votes
0
answers
94
views
Unable to remove item from customer shopping cart from admin panel
I am using magento 2.3.5p2 Community Edition ( open source one )
I encountered this issue in which when trying to remove an item from a customer cart via admin panel, an error as below appear
Fatal ...
0
votes
1
answer
34
views
Magento 2 add buy now button on product page & mini cart
I am using Magento 2.4.
I am trying to add a "buy now" button on the product & cart page, but unfortunately, when I click on the button it adds the product into the cart.
Instead of this,...
2
votes
1
answer
211
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?
0
votes
2
answers
106
views
How to add borders on Shopping cart page column header names
I'm trying to add borders on the Shopping cart page column header name. Anyone advises me
0
votes
1
answer
190
views
Magento 2: Create order without cart
I have a requirement to implement Google Pay in PDP. Like Buy with GPay in PDP. So once user click Buy Now with GPay button then we are adding that product to cart and once payment is done then we are ...
0
votes
1
answer
581
views
Set Default Value for Country and State in cart page
as per my requirement, the state and country in the cart page should be a default of US and Washington. I found a configuration for the default of country but I wasn't able to find any for the state. ...
0
votes
2
answers
346
views
Magento 2 Get In Cart Product Brand, Variant and Quantity
in Magento 2 I am trying to get below details of the product from the customer cart
Name
ID
Price
Brand
Category
Variant
Quantity
This process I added in observer during customer proceed to checkout
...
0
votes
1
answer
331
views
How to get value from quote_address table in Magento2
How to get value from quote_address table for checkout and cart page in Magento2.
Need values for guest and login user both in Magento2 cart and checkout page
0
votes
1
answer
437
views
Show custom table value in cart summary in magento2
I have a requirement to show a custom label with the value from the custom table inside the cart and checkout summary.
Example :
I have added the below code.
Vendor/Module/etc/frontend/di.xml
<...
0
votes
0
answers
154
views
How to add bundle product to cart using Magento\Quote\Model\Quote\ItemFactory
I want to add bundle products to the cart using \Magento\Quote\Model\Quote\ItemFactory. I have tried the below code and it is working fine.
/** @var \Magento\Quote\Model\Quote\Item $quoteItem */
$...
1
vote
1
answer
2k
views
Show price with and without Vat
Is there anyway to display price with and without vAT in cart summary bloxk in cart page please
0
votes
0
answers
147
views
How to get selected product attribute label and option label in magento 2.4.2-p1
Here id configrable product:-
Simple product assign to configrable product:-
How to get a product that simple product attribute label and value using parent product id or child product id ???
0
votes
0
answers
255
views
Cart page Total amount change observable
Three statements to explain my question:
Without page load:
I want to update one value on the same page via ajax request if cart
total change.
I want to observe Cart Total changes by increasing/...
0
votes
1
answer
14
views
Getting issue while updating cart price
Hi i am trying to update cart price based on a system config option using observer but its not working below is my code..........
CheckoutCartProductAddAfterObserver.php
class ...
0
votes
0
answers
129
views
Undefined index error on going to shopping cart page in magento 2.3.3
After adding Product to cart and clicking on shopping cart link. I am getting this error
Undefined index: 8039,8219 in /srv/public_html/vendor/magento/module-catalog/Model/ProductRepository.php on ...
0
votes
2
answers
406
views
How to remove shipping from Cart (Magento 2.4)
I am trying to remove the Shipping & Coupon container from the /checkout/cart page. I tried to copy the XML file into layout/override/base and edit it, but then I get blank page on /cart.
A ...
2
votes
0
answers
147
views
Magento 2.3 same product with different custom options is not showing separate in the cart?
I am adding the same product in the cart with different custom options but the product is merging with the first one and item quantity increased in the cart only.
I want to show separate same products ...
0
votes
1
answer
695
views
Magento 2.3.6 - The attribute 'name' is required but missing in checkout/cart page
I'm working on a store in Magento 2.3.6 with Porto theme, all work correctly but I have an error page when go to "show edit cart" (checkout/cart/) "The attribute 'name' is required but ...
0
votes
1
answer
143
views
Magento 2 : How can I add my custom side bar below Summary side bar in Cart page?
In cart page I want to add custom side bar below Summary side bar. Please give me some suggestions. Thanks!
0
votes
0
answers
30
views
Magento 2 : Need to put coupon form and proceed to check-out button outside cart-summary
Currently I have below layout in my cart page. I need to put coupon form and proceed to checkout button outside cart-summary. Please check the second image for what I need. If anyone having knowledge ...
0
votes
1
answer
1k
views
How to change SUMMARY title of cart page in Magento 2?
I need to change text SUMMARY to BASKET SUMMARY. Please help!
0
votes
1
answer
150
views
cart page & checkout is not working (500 http error)
I am using magento 1.9.4.My cart & checkout is working fine for guest users & logged out customers but when user is logged in then whenever he view cart or try to checkout , gets an error of ...
0
votes
1
answer
43
views
how to apply only 1 coupon code when there are multiples coupon codes
I am running magento 1.9 and i have multiple coupon codes on site. how to make that only 1 coupon code apply on cart? any body know how to apply on 1 coupon on cart?
0
votes
1
answer
195
views
Shipping Estimator from ShipperHQ fails on page load if I remove item from cart or leave and come back to cart
My shopping cart has a shipping estimator from ShipperHQ. If the value changes in the zip code field it calculates the shipping cost. If you remove an item from the cart, update the quantity, leave ...
1
vote
2
answers
2k
views
M2.2: Using REST API, Can Clear Cart but Mini-Cart Not Clearing
We are currently integrating another checkout portal to go on top of our existing Magento 2 platform. They are using the REST API to do most of their calls to Magento 2, including that of clearing the ...
1
vote
1
answer
258
views
Magento - PayPal express checkout button missing in Shopping cart
Anyone else getting PayPal express checkout button in shopping cart missing?
From older posts It looks like It might be from the server being down?
Anyway, when I got to : fpdbs.paypal.com I can't ...
0
votes
4
answers
11k
views
Magento 2 - How to display messages on ajax success change
What I am trying to do:
When I update the cart qty so that the qty is higher than the quantity available, I want my code to be able to show an alert ‘The requested qty is not available’ pop up or ...
0
votes
2
answers
1k
views
Magento 2 - How to make ajax show messages
I want to display messages on the cart page. I have made a custom module so that the shopping cart will automatically reload when the qty changes using AJAX.
Here is my js code:
define([
'jquery',
'...
0
votes
1
answer
253
views
Magento2 : Add simple product with custom options To cart Rest API
hello I need to Add simple product with custom options To cart throw Rest API I succeeded t add the simple product , price is correct and every thing is ok but unfortunately I didn't succeed to add ...