Hi,
I installed magento 2.3.0 it works fine but now when i make an order and when on checkout shipping after clicking on checkout i got an error of "This customer not have an active cart." i don't understand that why this error come i not do any modification on cart its on default state previously it work fine not now can anyone know how to solve this problem.
Thanks in advance.
In magento 2 database there is a table "quote". In this table there is a column "is_active". You can check in database table for the particular customer email if is_active is 0 or 1. I think it will be 0 that's why inactive cart error is showing on front. It will help in dubugging the problem.
I checked the table "quote" and in the table is_active is 1 for the customer.
Thank you for answering but this answer not solve my problem.
If you have any other way to solve answer please.
Any one know how to fix this issue, I have upgraded to 2.3.1 and this issue started and now upgraded to 2.3.3 still same issue on checkout screen once customer will login error " current customer doesn't have an active cart"
Hi, did you managed to solve this? I'm facing the same issue.
This issue comes from file:
vendor/magento/module-checkout/view/frontend/web/js/model/cart/estimate-service.js
estimateTotalsShipping = function () { totalsDefaultProvider.estimateTotals(quote.shippingAddress()); },
You can try to modify it in your theme or using mixing to something like this:
estimateTotalsShipping = function () { let cart = customerData.get('cart')(); if (!cart || !cart.items || !cart.items.length) { return; } totalsDefaultProvider.estimateTotals(quote.shippingAddress()); },
I solved adding this in my php.ini file
include_path = ".:/yourpathtomagento/vendor/magento/zendframework1/library"