Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [shopping-cart]

Denotes questions related to the shopping cart in Magento.

1
vote
0answers
22 views

Add multiple products in cart programatically magento 2

I am trying to add multiple products in cart programmatically. This below code is working properly but I need to set quantity dynamically. If quantity is not set that product to be skipped without ...
-1
votes
0answers
9 views

Magento2 how to overtire Model for Checkout cart page and also cart quantity increase by ajax cart + and - button click events [on hold]

Magento2 how to overtire Model for Checkout cart page and also cart quantity increase by ajax cart + and - button click events so give me suggestion for plugin available for free Help Me
0
votes
0answers
16 views

Shipping Amout calculating automatically in magneto2 cart page

I have installed the webshop matrix rate. The shipping calculations are correct in the checkout based on the country selections. But in cart page also default the first shipping method value is ...
1
vote
1answer
30 views

Remove shipping method auto apply from cart in magento2 [on hold]

I have installed Webshop matrix rate extension and its working fine. Whenever i add product to the cart, Automatically it takes the first shipping method and applies the shipping price for the cart ...
0
votes
0answers
20 views

why checkout and cart page not showing in magento 2

my site not showing checkout and cart page why this happening ?? Checkout page Cart page can anyone find the solution
1
vote
0answers
23 views

How to see the guest-cart in the webpage

I successfully added a product with the api rest using and the access point '/rest/default/V1/guest-carts/:cart-id:/items'. Now, I need to show this guest-cart in the cart page of the client Any idea?...
1
vote
1answer
29 views

Magento 1.9 multi stores with independent carts

Is it possible to have independent cart for each store under single magento installation. Now i have created a site with 2 stores, but each store is sharing the single cart. How it is possible to ...
2
votes
0answers
15 views

Magento2 ajaxsuite- ajax login

I want to show Ajax suit modules, Ajax login popup on cart page when press checkout button. right now, I used $('.modals-wrapper .popup-authentication').addClass("_show") and it shows magento2 ...
1
vote
0answers
16 views

Sticky cart summary on magento 2.1

I want to stick my cart.summary (sidebar) in cart page. mean that, when i scroll down to see other items in cart page, side bar stick in the left and always can see him over scroll up or down.
2
votes
0answers
22 views

Can't add products to shopping cart / cart keeps loading Magento 2

I recently copied a website over to another host by using the import tool. After this I don't seem able to add items into my shopping cart. The button keeps saying loading and the Ajax loader shows ...
0
votes
0answers
14 views

Copy the cart to new page, but no action triggered when click on “update shopping cart”

I've copied my cart summary into a new page. I see my cart like if it was in checkout_cart_index, that's ok. But when I change a quantity and click on "update shopping cart", the page reloads and ...
0
votes
0answers
34 views

Uncaught TypeError: Cannot read property 'undefined' at Object.formAddressDataToQuoteAddress (address-converter.js:52) magento 2

I'm working on a website and suddenly I found that error in cart page Uncaught TypeError: Cannot read property 'undefined' of undefined at Object.formAddressDataToQuoteAddress (address-converter.js:...
0
votes
0answers
12 views

Using only the cart and integrate?

I am in need to implement an interim shopping solution until we have fully implemented Magento. Instead of developing a cart from scratch allowing to populate multiple carts with items and forward to ...
0
votes
0answers
28 views

How to change row subtotal with custom price in cart?

I need to change row subtotal with custom price. Product X : $90 Applied Catalog Discount : $80 User trying to add : 4 Qty User can only purchase 3 items with discounted price. For the remaining ...
0
votes
1answer
32 views

How to add a product with two line items

I want to add a product with two line items. Say for example if i add Product A with qty of 4. I need to split cart into two line items. 3 qty as one line item and 1 is in another. How Can I achieve ...
0
votes
0answers
20 views

Rest API to get thumbnail image in shopping cart

In rest api, I am using "rest/V1/carts/1/items" method to get the magento cart items. It works well and the result is { "item_id": 1, "sku": "sk1", "qty": 4, "name": "test", "price"...
2
votes
0answers
38 views

How to apply tier price with custom option product in Magento 2

I have a product with more than 5 custom option in Magento and I want to apply tier price rules on a combination of custom option product in the cart. Ex. I have tier price rules like Buy 3 for $95....
0
votes
0answers
19 views

Bundle products not showing in shopping cart

I'm having an issue with bundle products from magento 1.9.4 The products work fine but when I try to add them to the shopping cart they disappear. No error message or weird behaviour, just empty cart ...
0
votes
0answers
23 views

Magento 2 Get Seller's address from the Item/Product that is added to your cart

For example in order to get total qty in the cart, the following code can be used: $quote->getItemsQty(); For example, in order to get product details in the cart, the following code can be used: ...
0
votes
1answer
42 views

Magento 2: Cache problem Cart items drops

Have been struggling with this problem for some time now and its a bit confusing. The problem is the following that my cart drops the products added when I visit a new category on the site. When FPC ...
1
vote
1answer
44 views

Shopping Cart Thumbnails not showing

Have a little problem with my M2 V 2.3. In the shopping cart the thumbnails image is not displayed. I can see that it gets a 404 for the image and when I look ind the pub/media I can not find the ...
0
votes
0answers
38 views

Magento 2 weird error

When I click this setting icon I get this following error. 1 exception(s): Exception #0 (Magento\Framework\Exception\NoSuchEntityException): Requested product doesn't exist Exception #0 (Magento\...
0
votes
0answers
8 views

Tax is failed to calculate

I have added tax rules to my site,but the tax is not calculated , even it is not showing in the cart page while entering shipping details. I have created tax rules at backend . But since it is not ...
0
votes
0answers
117 views

Magento2 : Why I'm redirect to Empty Cart After Checkout?

I am running Magento 2.2.6. I noticed my analytics data seemed off so I went in and checked and I am only receiving about 50% of my transactions. I can see the transaction id so I have compared the ...
0
votes
0answers
24 views

Magento throws a report error when customer session expires and shopping cart persistent is active

So recently I experienced a different issue in Magento 2.2.5, related to the shopping cart persistent. Basically what happens is when a customer is logged in with a product in the cart, and this ...
0
votes
1answer
27 views

How to enforce minimum quantity for a given sku?

I am seeking a way to enforce minimum order quantities for an individual SKU. This is for a member's only wholesale only website. Example: SKU: X6T, which has four color options (red,white,blue,amber)...
0
votes
0answers
31 views

Auto selected shipping method in magento2

I want to show auto selected shipping method based on order subtotal. So customer need not to manually select it.
0
votes
1answer
36 views

How to show Clear Shopping Cart in magento 2

I wish to show Clear Shopping cart button in cart page. In default magento it was display:none, So need to show only Clear Shopping cart button as mentioned like below image. Where I need to ...
0
votes
0answers
26 views

How to prefill shipping details in cart page in Magento 2

I have created one custom button in cart page to save country, state, postal code which is entered by the customer. After entering the country, state, postal code the customer wish to save the the ...
0
votes
0answers
16 views

Automatic update the cart on proceeding to checkout is clicked Magento 2

I want to automatically update quantity in cart product on proceeding to checkout button is clicked on a shopping cart page. so that my values are saved without the effort to click on update cart.
0
votes
1answer
84 views

How to display discount amount on shopping cart page magento 2 custom theme?

Actually i want to display discount amount once we apply the discount code in shopping cart page magento2 in custom theme.Please guide me if anyone have any idea.
2
votes
1answer
146 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)....
0
votes
1answer
84 views

Country drop down is empty magento2

I have set default country as UK in admin, after the configuration is done, In checkout one empty drop down is showing before the UK country. so I have used below plugin to remove that empty dropdown....
0
votes
0answers
39 views

How to Change Price of bundle product option in cart in magento-2.1?

I want to set bundle option price in the cart by getting through options custom attribute. Suppose one option is the fabric of bundle product, this fabric has some custom attribute like twopiece,...
1
vote
1answer
38 views

Magento 2: Add button next to “Shopping Cart” title

When viewing my shopping cart there is an header "Shopping Cart", looks like this: How can I add an button (or just a "a href link which has div inside it" would also be good enough) in that header ...
0
votes
1answer
14 views

M1 - Remove shipping cost calculation from shoppingcart

In Magento 1 i want to hide the shipping costs from the shoppingcart view. So the totals that are visible should be without the shipping costs. Only when someone chooses to get the order delivered in ...
1
vote
2answers
287 views

Magento2 move coupon code inside summary

I am planing to move the coupon code section inside the summary page,before that i have moved the summary-section under the item list, and moved the cross-sell section next to summary-section. Now i ...
0
votes
2answers
107 views

Apply discount Block moving issue in magento2 cart page

I need to move apply discount block to the summary block in cart page. I have used below code in Vendor/Module/view/frontend/layout/checkout_cart_index.xml <move element="checkout.cart.coupon" ...
0
votes
1answer
26 views

Products can not be added to cart by click “Add to cart” for second time

I have Related products block in my product description page. I have configured a particular product's Minimum Qty = 5. So users can only buy products in multiples of 5. Below is the screenshot of ...
0
votes
1answer
38 views

Magento 2 Redirect shopping cart link on message notification in iframe

I can not redirect to the shopping cart link outside the iframe. It still redirect but it stays in the iframe. magento 2.2.6 when i click shopping cart result : I want it redirect to shopping cart ...
4
votes
2answers
98 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/...
0
votes
2answers
157 views

How to pass data from PHP to JavaScript component

I've overridden the grand-total element in checkout_cart_index layout and in my custom component JS I need to get the data that I have in a PHP class with a specific logic. How can I get the data ...
0
votes
2answers
158 views

Magento 2 Shopping Cart add Images and Text below Proceed to checkout button

I want to add some text and images below proceed to checkout button on cart page but I am not able to find the file so that I can add my classes and images as well as text. Please suggest me in which ...
0
votes
0answers
101 views

Magento2: Create a new order from Admin panel for particular customer

Create a new order from Admin panel for a particular customer. Magento default functionality is not working When I add a new product and update to the shopping cart option then page refresh but the ...
3
votes
1answer
65 views

Gift wrap still showing when disabled in Admin

I met an issue when using gift wrap of M2. I added gift wrap in Shopping cart, then I disabled that gift wrap in Admin but it's still showing and applying amount into cart like the below image. It's ...
0
votes
2answers
421 views

Exception #0 (Exception): Notice: Undefined variable: context in

Exception #0 (Exception): Notice: Undefined variable: context in /home/dukaania/public_html/testing2/app/code/Sugarcode/Test/Model/Total/Fee.php on line 37 <?php /** * Copyright © 2015 Magento. ...
0
votes
1answer
25 views

Shoping cart page fee value return 0

I want to retrieve database value in cart page but it shows 0. Please review my code. app/code/Sugarcode/Test/Model/Total/Fee.php /** * Collect grand total address amount * * @param \Magento\...
0
votes
0answers
79 views

cart page show this error Estimate Shipping and Tax

My cart page didn't show anything except Estimate Shipping and Tax. Please review my code and share code where I mistake. <?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING....
0
votes
0answers
46 views

Why /guest-carts/:cart_id/totals is showing wrong item price details in Magento-2.1?

When I used /guest-carts/:cart_id/totals Endpoint,It show wrong information in response. It show Item_price exclusive tax in all prices, but tax_price is showing zero. Why it is showing 0 in Magento-...
2
votes
0answers
26 views

Shopping Cart not loading while there are 1000 items in cart ( Magento 1 Enterprise )

My Shopping Cart is not loading while i put 1000 different items in cart . I know it seems odd but we have customers that do that , its a wholesale website . I did change the value of the default ...