Questions tagged [cart]

Question related to the shopping cart: adding/removing products, shoping cart price rules, the appearance of the shopping cart page.

Filter by
Sorted by
Tagged with
1
vote
0answers
6 views

Magento 2: Show loader in cart page summary after remove shipping estimation

I successfully remove the shipping estimation in Magento 2 cart page summary using this solution: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
0
votes
2answers
16 views

Magento 2 : <referenceBlock name=“checkout.cart.coupon” remove=“true”/> being ignored

If I comment out <block class="Magento\Checkout\Block\Cart\Coupon" name="checkout.cart.coupon" as="coupon" template="cart/coupon.phtml"/> in E:\Projects\...
1
vote
1answer
25 views

Magento 2: how to get product details using Magento_Checkout/js/model/quote

In Magento 2 how we can get the product details using Magento_Checkout/js/model/quote
1
vote
1answer
12 views

No taxes calculating in fresh magento 2 shop with migrated data

I installed a fresh magento 2.3.5 enterprise, and migrated the data and products from a magento 1 shop with the official migration tool. However, there are no taxes calculating:
1
vote
0answers
23 views

Solved: Checkout cart components loading weird

we have a serious problem with the cart-view in our shop: https://www.murergrej.dk/checkout/cart/ Problem 1: Not all buttons are clickable anymore. Problem 2: The message "Free shipping" is ...
1
vote
0answers
15 views

Error individual price when maximum Qty Allowed in Shopping Cart are exceced

I set max qty allowed in the shopping cart to 3 products but when I add more than 3 products to cart, the individual prices reduce. Example product priced at 15 when you add more that 3 the price ...
0
votes
0answers
17 views

Why am I having wrong prices in a cart page

I have assigned 23% tax to all products and catalog prices includes tax. The prices are displayed correctly on the product pages. But in the cart I see that both unit prices (excl. tax and incl. tax) ...
1
vote
0answers
14 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
22 views

Magento 2 I want to display login form in shopping cart page

how I can add Login form in the shopping cart page? Thank you in advance.
0
votes
0answers
11 views

How to update the cart from observer

I have some conditions on my store based on the customer billing address. When someone saves their address, I would like to update the items in their cart (and minicart) to ensure correct prices are ...
1
vote
0answers
19 views

Magento2: How to separate quote?

Like, I have 5 items in my Cart. It means there is 1 row in quote table. Which contains parent ID. And, 5 rows in quote_item which describe all 5 items. I want separate 3 items from these 5 in ...
0
votes
0answers
16 views

issue with add product to cart magento 2

I am trying to add a new configurable product with it's supper attributes when we hit the update cart button. check code here /** * Update customer's shopping cart * * @return void */ protected ...
0
votes
0answers
14 views

get cart product attribute value

I have created a customer product attribute called "payer". It is a drop down attribute & its value is yes or no. Now on the checkout page, I want to get the "payer" attribute ...
0
votes
0answers
15 views

Override tax.html

I would like to edit tax.html, the file with the path: vendor\magento\module-tax\view\frontend\web\template\checkout\cart\totals\tax.html Of course, I can't edit the core file, so what is the best ...
0
votes
0answers
22 views

how to change the name in minicart magento 2.3

I want to update the name mini cart but i can't do it I had changed the return data from /var/www/html/GVC/sandbox/vendor/magento/module-checkout/CustomerData <?php /** * Copyright © Magento, Inc. ...
0
votes
0answers
16 views

I need to change the product name in cart and checkout page - magento 2.3

Note : I need changes when using the configurable product. I need to change the product name in the in the checkout and cart pages according to SKU because in the cart and check-out it shows the ...
0
votes
0answers
14 views

Magento 2 REST api for guest cart not display product in store's checkout page

I'm using guest cart api to add a product to cart. It works fine, but I'm not getting the cart items in the store's checkout page to proceed with the checkout process. Not sure how to hook with the ...
0
votes
0answers
23 views

Magento 2 How to get selected Shipping address Pincode in onepage.phtml

Here am trying to get the selected shipping address's pincode. But by object manager am getting first shipping addess but not the selected one. this is my phtml file /var/www/html/app/design/frontend/...
0
votes
0answers
16 views

Creating a test order

I am testing out a few things on my site (Still isn't live) and I need to place an order on grouped and bundle deals, to see 1. How it deducts the stock QTY from ERP 2. If it will send me an order ...
0
votes
0answers
15 views

How to disable automatic selection of default shipping address in oneStepCheckout page

Here am trying to make shipping address select manually. In One step checkout it selecting the default address ad default. I modified in the below file /var/www/html/app/code/Mageplaza/Osc/view/...
0
votes
0answers
5 views

events with magento2 shopping cart

I am new to magento2 and need to create an event with the shopping cart. when you add an item the shopping cart will change color and when the cart is empty, return to the initial color.
0
votes
0answers
12 views

On cart add/remove call the magento2 observer

I want to apply promorules while adding/removing products from cart in magento2. for that i added like events.xml as follows. <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...
0
votes
1answer
25 views

Magento 2.3.3 Mini Cart Disable Checkout Button When A Product = $0.00

I want to disable the checkout button from the mini cart when an (or any) item is added that has $0.00 as a price. I have copied the minicart.phtml file from: /var/www/html/vendor/magento/module-...
0
votes
0answers
11 views

Magento 2 how to remove Shipping Amount from Cart Total?

I would like to removed added Shipping amount from Cart Total. Currently the default display shipping amount added to Cart Total Subtotal $80.00 GST $8.18 TOTAL (INCL.GST) $90.00 The Default ...
0
votes
0answers
21 views

Magento2: Place order only selected Items from cart

Proceed to place order with single / selected item. As an end user I have multiple items in my cart, but I would like to proceed with a single item or selected items to checkout and place / create ...
0
votes
0answers
12 views

Add free product in cart on orders above 999/- in magento 2

I want to add 1 product as free on orders above 999/- and 2 same product on orders above 1499/- in Magento 2. Please help.
0
votes
0answers
8 views

Multiple carts using Admin API?

I'm a NodeJS dev and I've never worked with Magento (nor know PHP) and it may be a dumb question. I've used the Admin REST API to process orders by following this tutorial: https://devdocs.magento....
0
votes
0answers
25 views

Magento 2 - Auto uptate cart total

In Magento 2, in the cart when I change the quantity or add product, the total price is refresh (to calculate shipping, taxes, ...). My goal is to disable the Confirm order button while the price is ...
0
votes
0answers
28 views

Magento2 add estimate shipping button on cart page

Magento2 by default automatically calculates the shipping rates and shows on the frontend if the user enters the data in the cart sidebar. I need to add a button so once the user enters the details ...
0
votes
0answers
15 views

magento 2 cart price rule issue

I have created a promo code for a specific category with 10% off. It's working well if a single item of this specific category is added or the multiple items of this category are added. But it has ...
0
votes
0answers
23 views

How to get custom option price in cart in Magento 2

I have some customizable options in my products. I would like the checkout/cart page to show the individual prices of each option and not just the total price. Unfortunately I am missing any approach. ...
0
votes
0answers
15 views

Magento 2 Discount doesn't show correct

When the discount is bigger than 0, It show like this: When I have a discount with discount amount is 0(I have a gift), It doesn't show the discount, it will only show discount code in shipping. How ...
0
votes
1answer
16 views

replace cross sell with related on cart page

I know the correct answer is "why should you, cross sell products are supposed to be shown there". But i got a stubborn customer who wants to show the related products on the cart page. What is the ...
0
votes
1answer
20 views

Magento2: How to hide the quantity box for a specific product on the checkout cart page?

I want to hide the quantity box for a specific products on the checkout cart page. I have referred this link Magento 2: How to hide quantity box for certain products which has only quantity? But it ...
0
votes
0answers
34 views

need to display popup message during merge cart

I have to create a popup message as "Want to merge the cart" while guest user login to the their customer account ,if user respond with yes the cart will be merged otherwise it won't.
0
votes
1answer
20 views

Magento 2 remove mini-cart content in cart page

How can I remove Magento 2.3.1 minicart content in checkout_cart_index (cart page), but keeping cart header link and counter?
0
votes
0answers
12 views

Magento 1.9 - Free Shipping is not applying to the price cart rule - It still appling standard shipping

The current site that I'm working for a client, He wants to set up free shipping on selected product items the problem is that when the free shipping product is added in the cart first is that it ...
0
votes
1answer
22 views

Magento2 API Get email of guest customers in carts endpoint

How can I get the email of a cart created by an guest customer? In the response for guest carts I get a null in the property customer.email and also a null in the property billing_address.email but ...
0
votes
1answer
15 views

magento 2.3 - Get cart info after user login

my goal is to modify info on cart after user has logged in, either from account page or cart popup. So, I created a new module for this, using the event "customer_login" but it does not seem to work. ...
0
votes
1answer
51 views

Overriding Magento 2.3 Checkout Cart Control Using Plugin using around but not working

What I am trying to achieve is when a product is added to the cart, the customer will have the option to add a special gift box. As every product has a different gift box and price so to do this what ...
0
votes
1answer
21 views

Magento 2: Want to change the location of Product Page “Your added …shopping cart” message, under the addto cart button

I have tried to relocate in layouts XML file, but it's not working. the file is in the/vendor/magento/module-checkout/view/frontend/templates/messages/addCartSuccessMessage.phtml I just want to put ...
0
votes
1answer
23 views

How to display a specific attribute in the cart in magento 2

In my case my demand is to display the weight for the product also like the name, the quantity ..., in the mini cart but I can't find a proper way to display the weight, can anyone tell me how please :...
0
votes
0answers
23 views

I am getting 0 prodcut price whwn I add in my Cart fro admin panel

Whenever i am trying to add product in cart from admin panel its getting 0. I don't know why because it was working fine earlier.
0
votes
0answers
14 views

Cart showing on different language even I have only one language

I have store with one language added. And I found some issue with my cart. From time to time(easy to reproduce with just refreshing cart) it's showing English translations instead of my store language....
1
vote
1answer
30 views

Magento 1.9 - How to apply handling fees if selected products available along with other products in the cart?

If the cart contains any one of the selected products along with other products that should be applied handling fees and cart contains only the selected products no need to apply handling fees. Here ...
0
votes
1answer
23 views

Custom form in cart summary is added multiple times based on no of products added to cart

I am facing a strange issue where my custom form in phtml file is added multiple times as per no of products in cart. Layout <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
1answer
13 views

Need to get Customizable option title & values from array in quote

From quote I got array of customizable option. How can I retrieve it's title & value $quote = $this->_cart->getQuote(); $cartAllItems = $quote->getAllItems(); foreach ($...
0
votes
1answer
13 views

Magento 2 - Can not add grouped product child to cart

In Magento 2, I have a grouped product with 3 childs. Child 1 and Child 2 are out of stock. Child 3 is in stock. When I try to add Child 3 into cart, there is an error about the two other product ...
0
votes
1answer
27 views

Magento 1.9 I need add qty in category page and mask should not load

My template used ajax cart this code in my category page(list.phtml) <a href="<?php if(!Mage::getStoreConfig("ajaxcart/addtocart/enablecategory", $code) && !Mage::getStoreConfig("...
0
votes
0answers
9 views

Save custom data to ('checktout/session') when product added to cart and remove when removed

Save custom data to ('checktout/session') when product added to cart and remove when removed So i need to add custom data for each product when customer adds it to card and remove it when customer ...

1
2 3 4 5
41