Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 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
0answers
14 views

Show list of simple products by modifying item renderer magento 2

Modify the way configurable products are rendered in the shopping cart by modifying their item renderer. Show in the line item a list of all simple product names that are assigned to the configurable ...
0
votes
0answers
18 views

Magento 2 Cross Sell products layout are breaking in shopping cart page even in default Theme

We are facing a issue with the Cross Sell products layout in shopping cart page. The product items that are rendered are not loading in proper HTML structure and resulting the items layout to beak. ...
0
votes
0answers
13 views

Prevent cart empty before connecting to payment

Currently in Magrnto 2 before connecting to payment gateway, the in the quote table the is_active status is becoming zero and a new dummy record is created in the same table. So, if the customer not ...
0
votes
2answers
33 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 ...
1
vote
0answers
25 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
0answers
12 views

M2.2 - Prevent Checkout if Specific Items not in Cart Together

We are looking for some form of way to handle a scenario like so; Customer X has Item A, Item B and Item C-PART-1 in his cart. Due to having Item C-PART-1 in their cart and no inclusion of Item C-PART-...
0
votes
0answers
18 views

exclude country and city, leave only zip code, shopping cart

in cart, calculate only with zip code
0
votes
1answer
47 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
0answers
29 views

Magento2 - Remove item shopping cart with observer

I have an issue with remove item shopping cart in Magento 2.3.1 with observer. When I remove item with conditional quality of product == 1 can not Delete, else quality product > 1 or have 2 product ...
0
votes
1answer
35 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
0answers
12 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
1answer
48 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
0answers
28 views

Refresh checkout cart after adding cross selling items

We have a Magento 2.3.5 with a simple custom theme. In the normal checkout card (not mini cart!) there are some cross selling items beneath. If a customer presses the .to-cart button on such a cross ...
0
votes
0answers
16 views

Magento 2 : Set checkbox on cart page and update subtotal

I want to set one checkout in checkout cart page and on checkbox check uncheck cart total value should be plus minus. How can I do that? Any help would be appreciated.
0
votes
1answer
17 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
0answers
10 views

Stop customers changing the quantity of a product at basket stage

We have 200 SKUs but for 2 of those SKUs we would like the customer to only purchase these one at a time eg they can't change the quantity but we still want the customers to change the quantity for ...
0
votes
1answer
11 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
1answer
29 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
2answers
490 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
1answer
130 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
0answers
16 views

How to get an attribute of the configured product on cart page

I am trying to use a custom attribute to indicate to customers what products group together for different promotions using colour codes. I have the attribute and can get the parent product to work so ...
0
votes
0answers
75 views

Product Price displaying incorrect(100.000.000,00) in Minicart&Cart for price greater than 1billion

https://community.magento.com/t5/Magento-2-x-Programming/Price-wrong-greater-than-1-billion/m-p/459543 AS per the screenshot you can see that the product price is 264...... but in price columns it was ...
0
votes
0answers
34 views

Magento 2 : Display Regular Price and percent on cart page

I am new in Magneto 2, in this I want to add the regular price and percent of discount on each product in cart page.
0
votes
0answers
12 views

force customer to remove product from cart if not same type magento 2

if the same type of products is in the cart then force the customer to remove the products from the cart. Customers will not move on the checkout page till then cart having the same type of products. ...
0
votes
0answers
13 views

How to restrict same type product in cart Magento 2 and maximum order amount below INR 50000

I have two types of products: Electronics, Glass. I have a condition for the cart page i.e.: Condition 1. Electronics products can be ordered Single items at a time. it can not be ordered with Glass ...
0
votes
2answers
2k 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
3answers
171 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
1answer
18 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 ...
0
votes
2answers
19 views

How can I modify my cart form page to complete https

I am working on my client's website https://gerrykeane.ie/ and when I add a product to the cart I get promoted a warning message that the form page is not secure. I have updated the security ...
0
votes
1answer
174 views

Magento2.3 Cart page registration form add in new popup

I have enable guest checkout. So when a customer clicks on the checkout button in the cart page then a popup opens, like seen in the screenshot below: My goal is to add a click event listener to the &...
0
votes
1answer
103 views

Products stuck in quick cart

When I add multiple items to a cart, they get stuck in the quick cart. They even pass from computer to computer some how and I am unable to remove them. This is one of the pages affected https://...
0
votes
1answer
22 views

How to modify magento 2 submission form?

How can I add labels to the address fields. Example: Field 1: Field 2: Field 3:
0
votes
1answer
37 views

Magento 2.3 slow with over 200 Items

https://9a1843a442.nxcli.net/ If you add more than 100 products cart almost does not load quickly, superslow. after adding 800 cart items, Cart page stop loading and took 3 min to come up. its magento ...
0
votes
0answers
84 views

Unable to set customer saved address as shipping address in guest cart via REST api Magento 2.3

I'm trying to set the customer address as the shipping address of guest cart via '/V1/guest-carts/{cartId}/shipping-information' REST api in Magento 2.3 Here is my payload: { "...
1
vote
0answers
120 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
1answer
117 views

Magento 2.3.5-p1 blank checkout

I have installed Magento 2.3.5-p1, and to test the default order/checkout. I added an item to the cart, however, the shopping cart button shows nothing but a blank popup as shown in the image below. ...
1
vote
1answer
89 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....
0
votes
1answer
50 views

Products not shown in shopping cart when add to cart is clicked

I have made one custom module. Where i want to show some custom related products on product page. I select the product with checkbox to add to cart and When i click add to cart, products are added in ...
2
votes
1answer
216 views

Magento 2: Shopping Cart quantity doesnt update after custom Add to cart form is submitted

I have a custom Add to Cart button for bundled products. This is on my phtml for the /test-page : <?php /** @var Magento\Checkout\Helper\Cart $_checkoutCartHelper */ $_checkoutCartHelper = $this-&...
0
votes
1answer
40 views

Add to cart functionality is not working for any product

my add to cart not working, its showing nothing in cart for 2 stores and for 1 store adding a default product everytime, doesn't matter which product we added, its showing this exception.... We can't ...
0
votes
2answers
82 views

css is not working in magento 2 cart page

I have issue in cart page of my website . Currently home page and product pages are loading correctly but the cart page have issue Css and js fies in the cart page is not working Please help to ...
0
votes
1answer
719 views

Magento 2 - Get All product information at checkout

I am trying to get all the information for each product in the cart at checkout so I can do a few things but I cannot get it to work. I have create the below module: Block/Quote.php namespace ...
1
vote
0answers
79 views

SOME OF THE PRODUCTS BELOW DO NOT HAVE ALL THE REQUIRED OPTIONS

I have created a bundled product with two product options but both the options are required. When I try to order such a product it redirects me to checkout page showing an error to specify options. ...
0
votes
0answers
101 views

Magento2 - How to add up-sells block in to cart page?

How to add up-sells block in to cart page for every item? I have added in checkout_cart_index.xml. <block class="Magento\Catalog\Block\Product\ProductList\Upsell" name="product.info.upsell" ...
0
votes
2answers
37 views

custom image in shopping cart

I would like to customize the shopping cart by adding pictures right between the headline "Shopping Cart" and below the Item table but haven't figured out yet where the xml files are to overwrite this ...
0
votes
0answers
29 views

Cannot see My account link in header on one of the category page in magento 2

I have one category page which contains static block, I don't see My account and shopping cart in the header when I visit that page. See https://prnt.sc/r4y5n3 However, it is appearing on all other ...
1
vote
0answers
22 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.
0
votes
1answer
93 views

Magento2: Cart product delete after 10 minutes

How to increase the guest cart session? Let me know how is it possible.
1
vote
1answer
44 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
2 3 4 5
12