Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

Filter by
Sorted by
Tagged with
15 votes
3 answers
47k views

Disable/ Remove "Estimate Shipping and Tax" Magento 1.9

anyone care to advise on how to remove the "Estimate Shipping and Tax" option on Shopping Cart page ?
user avatar
  • 493
12 votes
5 answers
17k views

Auto update cart quantity when change quantity

In the default cart of Magento, when the customer edit the quantity, he/she needs to press the button to update the quantity. Is there a way that the cart update the quantity automatically when the ...
user avatar
  • 1,498
11 votes
1 answer
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/...
user avatar
11 votes
1 answer
2k 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 ...
user avatar
10 votes
1 answer
7k views

How to get child product image in Magento Cart

I am trying to get the child product image of a configurable product that was added to cart by the customer. For example, if the customer added a pair of red shoes to the cart I would like to show ...
user avatar
  • 2,463
9 votes
1 answer
9k views

Magento2 redirecting to Shopping cart

Is there a way in Magento2 to have the user get redirected to shopping cart page after clicking "add to cart" - instead of the mini cart option at top of page?
user avatar
  • 353
9 votes
3 answers
2k views

Disable cart sharing between different Stores of website in Magento 2?

My website is with Three different Stores and I'd like to disable the cart sharing feature between stores. So when I switch from one store to the other store, the product in my cart shouldn't be valid ...
user avatar
8 votes
2 answers
7k 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..!
user avatar
7 votes
6 answers
8k views

Magento 2: How to remove Paypal Logo from MiniCart & Shopping Cart Page?

I'm using Magento 2 CE with Porto Theme. Also referred but it's for Magento 1 How to remove paypal express checkout link from mini cart in right column I have tried from Admin Paypal Settings. But ...
user avatar
  • 9,513
7 votes
2 answers
9k views

persistent shopping cart disadvantages

Hi I'm wondering if there are any disadvantages when using persistent shopping cart in magento? If I do enable this are people forced to create an account and no longer check out as guests ? Thanks
user avatar
7 votes
1 answer
353 views

Shopping cart sorting

In the shopping cart we need to sort products in the order they are added and the grouped products need to be ordered alphabetically.
user avatar
  • 71
7 votes
1 answer
161 views

$block Class Some Method is won't appear in get_class_methods() call

I am working in \success.phtml file, with the final objective of placing a tracking iframe on the confirmation page. <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt ...
user avatar
  • 99
7 votes
1 answer
1k views

Set Discount Price in Listing and Detail Page and Show in Cart

I have a module in which admin can assign discount to any product from backend. The discount would be in percentage. There is a custom listing page where all the products will be listed having ...
user avatar
  • 223
7 votes
1 answer
2k views

Cart sidebar on checkout load dynamic

I use a cart in the sidebar of the one page checkout. This display the products and the total price of the cart. But I also use some additional cost for payment, so it needs to load dynamically, so ...
user avatar
  • 1,498
6 votes
4 answers
23k views

Remove Discount Coupon from Magento ver 1.9?

Does anyone know how i can disable/remove the Discount Coupon from Magento Shopping Cart Page v 1.9 ? Thanks.
user avatar
  • 493
6 votes
6 answers
11k views

Programatically clear the cart of a logged-in user

TL;DR When a customer is logged in, Mage::getSingleton('checkout/session')->clear(); doesn't clear their cart. I need something that will. I've asked this as part of another question, but i ...
user avatar
6 votes
3 answers
6k views

Change Shopping Cart Title

I am trying to change "Shopping Cart" to "Basket" on both the h1.page-title and in the <title> tag itself. Where can I change this?
user avatar
  • 1,489
6 votes
3 answers
13k views

How to update cart qty using ajax Magento 2

How to update cart qty using ajax magento 2 I want to change qty on cart page. I don't want to use the update button. It should be update automatically without reloading the page.
user avatar
6 votes
5 answers
11k views

How to put Shopping cart on the right sidebar in checkout?

I want to put the shopping cart at the right side of of my horizontal checkout. Something like this
user avatar
6 votes
2 answers
13k 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/...
user avatar
6 votes
2 answers
2k views

configurable product options are not added to cart using magento soap api

I have tried to add a configurable product in using magento soap api. I am using the following code to add $product = array( 'product_id' => 23, // simple product id ...
user avatar
  • 446
5 votes
5 answers
11k views

Grand Total not updated when discount code is applied

There are 2 types of Discounts (Shopping Cart Rules) Working on the Website right now: Coupon Codes - Working Absolutely Fine BUT - Subtotal does not get Updated. Ex: 10% Off on Rs. 500 and Above - ...
user avatar
5 votes
3 answers
6k views

Abandoned Carts Don't Show in Reports Magento 1.9.2.2 [duplicate]

I have upgraded my Magento CE platform from 1.9.0.1 to 1.9.2.2 and few days ago, I noticed that abandoned carts report is not updated with new carts. Where as I have checked in Customer Edit form, we ...
user avatar
5 votes
4 answers
7k views

Customize sticky behaviour of Cart Summary: Magento 2

I have a custom theme based on the Luma theme. And in this custom theme, I have made the header sticky. By default, the Cart Summary is sticky as well. Now because my header is sticky as well, both ...
user avatar
  • 894
5 votes
2 answers
12k views

How to increase customer session time

How can I increase the amount of time a customer gets to shop in a store? My login/ cart clears after 10 minutes.
user avatar
5 votes
1 answer
5k views

clear shopping cart is not working

My cart.phtml already have <?php echo $this->getBlockHtml('formkey'); ?> but still clear shopping cart & update shopping cart is not working. Please, give me better solution over this. ...
user avatar
  • 153
5 votes
3 answers
12k views

How to get category name from product id in shopping cart?

I want to get category name, which are products already added in shopping cart. But I want category name in shopping cart add action. Means /checkout/cart/add in addAction. Thanks in addvanced.
user avatar
5 votes
1 answer
5k 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/...
user avatar
  • 179
5 votes
1 answer
7k views

Magento. Quantity in checkout shopping cart doesn't work properly

I have installed Magento 1.8.0 and on localhost the cart is working correctly. I change the quantity of a product in the cart then I push the "Update cart" button and all works fine. I trasferred the ...
user avatar
5 votes
8 answers
33k views

Why cart page shows the message "Sorry, no quotes are available for this order at this time"?

In the Estimate Shipping and Tax section, there is a message Sorry, no quotes are available for this order at this time How to restore form like normally and get rid of this message?
user avatar
5 votes
2 answers
2k views

Magento 2 Add to cart one product with different size at once but seems as one product

I have created one module in which we can directly add products to cart using SKUs with different configuration options but when i added it shows one product in cart with last option i selected and 2 ...
user avatar
5 votes
1 answer
3k 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 ...
user avatar
4 votes
2 answers
6k 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: <...
user avatar
  • 277
4 votes
5 answers
9k 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 ...
user avatar
  • 501
4 votes
2 answers
2k views

Hide State/Province from Estimate and shipping tax from cart page magento2

How to remove State/Province field from the cart page? I tried using jquery to remove it, that didn't work for me. <script> require(['jquery', 'jquery/ui'], function($){ $(document)....
user avatar
  • 1,749
4 votes
5 answers
10k views

Magento2, remove gift options from cart page

I made below in my theme, but new xml does not remove the git option block. /app/design/frontend/Mytheme/themename/Magento_GiftMessage/Magento_GiftMessage/view/frontend/layout/...
user avatar
  • 2,009
4 votes
2 answers
9k views

Constructing add-to-cart url from CMS page

So, I've got a CMS page that I'm using as a landing page. I want to add a button that lets customers add a product straight to the shopping cart, completely bypassing the main product page. The usual ...
user avatar
  • 141
4 votes
2 answers
11k views

Share cart in magento 2 multistore

I have a magento 2 website where we want to have 3 different stores on 3 different domains. We want to share cart and customer session on the different websites. Each website/store will have different ...
user avatar
  • 1,183
4 votes
3 answers
9k views

How to add multiple product to magento cart from outside of magento?

I have to add multiple items into magento cart from out side of magento (external website), through /path/to/app/checkout/cart/add?product=[id]&qty=[qty] this method I can add one product to the ...
user avatar
  • 479
4 votes
1 answer
8k 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 ...
user avatar
  • 675
4 votes
1 answer
3k views

Magento 2 - Setting "Continue Shopping Url" programmatically

I have a custom module that will do some processing on a product when it receives a POST and then it will add that product to the cart and redirect the user to the checkout/cart page. When on the ...
user avatar
4 votes
3 answers
5k views

Why isn't tiered pricing being applied to configurable products?

I'm new to Magento here and I'm trying to understand why tiered pricing is applied to simple products but not the configurable product that they're associated with. I've done a ton of googling on the ...
user avatar
4 votes
1 answer
1k views

Magento Add Configurable Product to shopping cart

how can i add Configurable Product to shopping cart in magento ? i try this code to add simple product to shopping cart but it`s not work for configurable product $result = $proxy->...
user avatar
  • 305
4 votes
2 answers
229 views

Adding AddToCart link to facebook shopping page

I have a Magento v1.9.2.3 webshop and I'm also adding my products to my Facebook shopping page. I thought I could use the form action url from my webshop as the payment url in FB shopping: my-webshop/...
user avatar
4 votes
0 answers
532 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 ...
user avatar
4 votes
1 answer
3k views

$this->getChildHtml('totals') returns empty [closed]

In /template/checkout/cart.phtml the code $this->getChildHtml('totals') returns nothing. Any idea what the problem could be? Thanks, Klevis
user avatar
4 votes
3 answers
234 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 ...
user avatar
3 votes
5 answers
13k views

Adding quantity increment button in cart and mini cart

I need to add a quantity increment button in cart page and mini cart popup like this. I added the button but I can't assign the functionality. This is what I did app/code/Amsi/UserManagement/...
user avatar
3 votes
1 answer
3k views

which observer to call while removing item from cart and empty cart?

I want to get the product SKU while removing it from the cart or when emptying the cart.
user avatar
  • 629
3 votes
1 answer
2k views

Cannot update quantity from cart

I've been working on a Magento website: satcogrowlight.com I am very new to working with Magento in the back end. My problem is that once I've added an item to my cart, I cannot change the ...
user avatar
  • 43

1
2 3 4 5
12