Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

Filter by
Sorted by
Tagged with
1
vote
3answers
2k views

Magento2: How to add product description to shopping cart and checkout page?

For shopping cart, I added the following code to app/design/frontend/VendorName/custom/Magento_checkout/templates/cart/item/default.phtml <?php /* @escapeNotVerified */ echo $this->helper('...
3
votes
1answer
2k views

Why are quotes not converted to is_active=0 after checkout? M1/M2

When looking at sales_flat_quote (M1) or quote (M2) table, there are many quotes stuck at is_active=1. Even though there is a sale in sales_flat_order / sales_order. This does not seem to have a ...
0
votes
1answer
207 views

Product page needs to be refresh after customer login in new tab of same browser in Magento

I am stuck in one problem with Magento. When I click Addtocart button on product page of Magento, Product successfully adds in Cart and than I open the Customer Login Page in New Tab of same browser ...
1
vote
1answer
167 views

Magento 2.1 - some random error in shopping cart [solved]

I am running Magento 2.1.1 in apache2.4. I always see some random errors in the shopping cart. The cart cannot calculate the grand total(nothing show) and cannot go to checkout page after clicking the ...
1
vote
0answers
22 views

Shopping cart doesn't show the EURO

When a customer adds a product and goes to the shopping cart, the cart total does not show euro but instead just some random stuff, does anyone know the solution to fix this? www.fightgloves.nl
1
vote
1answer
262 views

How to fetch data value from quote_item_option table in cart page?

How to fetch value of no_of_windows ? I want to display custom field information in cart page? How to do that? a:12:{s:4:"uenc";s:72:"...
3
votes
1answer
2k views

Cart items not updating properly in Magento 2

As per functionality product have different Tier Prices and customers have different Customer Groups. When customer adding product to cart we need to add product of the first Tier Price. Example: ...
0
votes
2answers
345 views

Can't get Buy X get Y Free for a category

I am trying to set up a Buy X Get Y Free promo. The idea is that if you buy 10 items in a specific category and get 1 (the 11th) item free. No matter what I do I am not able to get this done. In ...
0
votes
1answer
639 views

How do I add a 'continue shopping' button in Checkout/cart?

I've had a Magento site set up, but there is no 'Continue shopping' button showing on the Checkout/Cart page. I want customers to have the option of going back into the store once they have added ...
0
votes
1answer
705 views

Product price not update in cart Magento2

In my custom module, products are going to add directly to cart as below : foreach($productArray as $key => $id ) { $p["qty"] = $qtyArray[$key]; try { ...
1
vote
0answers
83 views

Website shows broken after apply SSL certificate

I have integrated SSL to my website now website looks broken with https, without https only some pages are working properly cart pages unable to open Below are the configuration If I enable ...
3
votes
2answers
4k views

Add to cart button not working on product pages [closed]

Recently I started to make some changes on my Magento website, and now the add to cart button isn't working on the product view page. I have tried things such as changing the code in view.phtml and ...
6
votes
2answers
10k views

Magento 2: Add after/before positioning in pre existing xml block/container

I want to position few blocks and containers in the checkout page. I am using a custom theme and create a checkout_cart_index.xml file.The file contents are <page xmlns:xsi="http://www.w3.org/...
4
votes
1answer
4k views

Magento2 - How to add placeholder to knockoutjs field?

I'm editing app\design\frontend\Vendor\theme\Magento_Checkout\web\template\cart\shipping-estimation.html which handles the shipping and tax estimation in shopping cart page. Here is the code: <...
2
votes
1answer
896 views

Retrieve all cart data for logged in customer in Magento 2

I need to process all stored cart data that exists in magento site for logged in customer, is there any function to retrieve this data ?
3
votes
1answer
5k views

Magento 2 : Cannot Read Property “quoteData” of undefined

I was seeing various errors on cart page of Magento 2.1.6. Cannot read property "quoteData" of undefined (quote.js) Cannot read property 'storeCode' of undefined (url-builder.js) Cannot convert ...
1
vote
0answers
49 views

Magento separate store by currency but show product in cart with original currency

I have two store one for USD and one for EURO currency, If a user add a product in usd and one add in EURO, then cart page will show price One in USD and one in EURO with two checkout button, one for ...
11
votes
1answer
2k views

Magento 1.9.3 : How to display custom options price (separately) on cart and checkout page?

I want to display custom option price on cart and checkout page. I follow this URL but its display error "Fatal error: Call to a member function getValue() on a non-object " on app/design/frontend/...
5
votes
1answer
3k views

How to modify minicart.js Magento 2?

Without editing the core file, I want to add some code to minicart.js so I tried overriding the minicart.js file in my theme by this: var/www/animals/app/design/frontend/Dogs/husky/Magento_Checkout/...
1
vote
1answer
1k views

How to add Coupon Code Section In mini cart like in the shopping cart

I have searched a lot on google but didn't get the solution for this. I new to Magento, can any help me to how to add the coupon code section in Mini cart of magento. Like the Below Example: I have ...
0
votes
2answers
217 views

Magento\Vault\Api\Data\PaymentTokenInterfaceFactory throws an exception during Checkout

I'm using the theme - https://themeforest.net/item/multistores-magento-2-megashop-theme-support-multiple-stores/19211690?s_rank=17 I purchased the theme from themeforest and had the application ...
8
votes
2answers
5k views

How to add breadcrumbs on cart page in magento2?

I want to add breadcrumbs to the shopping cart page before the page title like this: How can I achieve this.? Thanks..!
1
vote
1answer
926 views

Magento 2: How to add cart summary after Update shopping cart button?

how can i get cart summary button after "update shopping cart" button ?? This is mobile view, don't worry about desktop view.
0
votes
1answer
1k views

How to get the order html table and shipping address on success page?

I'm working on a customized success page and I would like to get that same table from cart to display on success page, I mean, it should contain product thumb, product name with configurable options (...
0
votes
1answer
39 views

I'm unable to use my secure domain for checkout in Magento 2.1.5 . Cart shows as empty

I have one domain with an SSL certificate (storewebsite.com) I also have little individual sites for different clients. teamname.storewebsite.com schoolname.storewebsite.com organization.storewebsite....
0
votes
1answer
473 views

Checkout Process Redirect to Shopping Cart is empty

My checkout page not work properly. I have recently installed SSL and memcache. When click on addtocart its work fine. but when click on process checkout its redirect to Shopping Cart is empty. I dont ...
0
votes
1answer
510 views

Can anyone explain step by how to add product to CART using REST API?

I tried this link http://devdocs.magento.com/swagger/index.html#/ - But not able to understand what exactly to do? Please help me.
1
vote
1answer
467 views

Cart and mini cart are not cleared after check out and Success page

Both my shopping cart and mini cart are not emptied after checkout and Success page. Quota lifetime is already set to zero.
1
vote
3answers
4k views

Remove Shipping Estimate Block From Cart Summary

I am having trouble removing the block-shipping from the cart summary in Magento2. This block allows users to obtain a shipping estimate on the cart page. The rest of the summary contents should ...
3
votes
3answers
684 views

magento 1.9.3 exceeding stock price error

Scenario: There is a product in the cart but it only has limited stock. This one has only 1 item in stock. We exceed the quantity of the product. I set the quantity to 2. The price changes to less ...
1
vote
0answers
46 views

The Shopping cart is being shared by visitors

I am having several serious problems on the site and I do not know what the reason may be. I looked at several topics and did not see who had the same problem. I am not an expert, I bought a template ...
3
votes
1answer
631 views

Simple Product Thumbnail Not Displaying Correctly in Shopping Cart

I'm trying to show the correct image for each product that is in the shopping cart (One Step Checkout). Currently when a customer chooses a product, if the product has multiple colour options, it ...
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?
1
vote
0answers
134 views

Event on entering the zipcode in cart page

In cart page, on entering the zip code,an event is triggered to send the following data: {"address":{"region_id":"0","region":"","country_id":"US","postcode":"12345"}} In response, the shipping ...
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 ...
0
votes
2answers
64 views

Shopping cart rule

I'm using CE Magento 1.9.0.1, and i'm intending to do a promotion for a specific category. For instance, 2 products for $68.00 instead of u.p. S$90.00 I've tried to play around with the rules in ...
1
vote
1answer
1k views

Magento cart get price single item

I want to display the price excluding tax of a single item in the cart. Therefore I need to edit the app/design/frontend/theme/theme/template/checkout/cart/item/default.phtml How can I display the ...
0
votes
1answer
238 views

Change “Garbage Icon” in shopping cart?

How can I change the little garbage icon in my shopping cart? It's the one that removes the items from shopping cart? Mine is too small and one can hardly see what it is. Thanks
0
votes
0answers
186 views

Magento : Grouped Product with Configurable Product Mandatory to Add to Cart

I have a few grouped products, with more than one configurable products (with different colour as simple product) associated as sub products. The problem is, because simple product (colour) in a ...
0
votes
1answer
48 views

“Go To Shopping Cart” opens in a new window

After selecting an item in the store, it gives two options: "continue shopping" or "Go To Shopping Cart". If I select the "Go To Shopping Cart", it opens in a new window. How can I fix it? I need it ...
2
votes
1answer
75 views

Issue with shopping cart rule. Please help

I am having an issue with a shopping cart price rule. I am basically giving customers free shipping for certain products and paid shipping for other products. The rule is working fine when you have a ...
0
votes
2answers
868 views

Programatically add product to basket - Error: The product could not be found

Hi guys I have a small code snippet and am trying to add a product to basket in Magento via PHP. Whatever I try (I've searched for a lot of snippets) I just get "The product could not be found." ...
1
vote
5answers
7k views

Order total not showing including tax in shopping cart

We are having a problem in our Magento 2 shop. All tax settings are set and everywhere he is showing the tax good, so also in the checkout and on orders, the only place were he is not showing the ...
3
votes
1answer
92 views

M2: Why My Observer Is Not Firing For API Calls

I have an observer which is configured in my module File : app\code\MStack\Exchange\etc\frontend\events.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1
vote
1answer
914 views

Inconsistent cart issues - “cannot remove the item” - Magento 1.9.2.1

On www.napitdirect.co.uk (running Magento 1.9.2.1 - which we are unable to update unfortunately) we are sometimes unable to remove products or even alter the quantity in the shopping cart. It's not a ...
2
votes
2answers
8k views

Tax not showing in shopping cart in Magento 2

We have setup all our tax classes and tax settings in Magento 2 and everything is working perfect, only in the shopping cart the tax is not calculated in the grand total. In the rest of the checkout ...
3
votes
1answer
916 views

How to share cart for guest users between multi stores with different domain

I am able to share my cart for logged in customers while switching between two stores with different domain URLs. However, I could not implement the same for guest users. I know the cart details are ...
3
votes
2answers
1k views

Magento 2.1.3 Multi Website or Multi Store

I have a requirement like this: "Single backend admin site. Front end shows a main eCommerce website from which another website should open based on Product Category selection. I mean there will be ...
1
vote
2answers
3k views

remove total excl tax in checkout, order invoice emails in magento2

In Store > Configuration > Shopping Cart Display Settings I set next configuration: But in checkout and cart, order total incl. and excl. tax both are displayed. How I can remove total exclude tax ...
2
votes
1answer
1k views

Magento 2 change buttons order in the shopping cart page

I need to change the order in the shopping cart page, I want to add Checkout with Multiple Addresses above the - OR - text like the following image:

1
3 4
5
6 7
11