The issue is common among merchants who have implemented custom solutions or just migrated to Magento 2 version. There are many variants of the problem outcome, though let’s consider the commonest.
To increase the cart conversion rate, speed up the work of the cart page with AJAX technology. Your customers will see products in the AJAX cart popup where they can edit or refill the shopping baskets without page reloading.
The solution is simple, there is every likelihood the problem resides in cache. So, enable all caching options built-in your Magento 2.
When adding products from the catalog or product page you are redirected to the checkout page with an empty cart.
The thing is that despite the first version, Magento 2 stores root URL in the third path, e.g.: design/head/includes. Usually, the issue occurs after domain change.
UPDATE core_config_data
SET value = REPLACE(value, '<old root URL or domain>', '<new root URL or domain>')
WHERE path = 'design/head/includes';
rm -rf var/cache/*
We use cookies to help improve our services, make personal offers, and enhance your experience. If you do not accept optional cookies below, your experience may be affected. If you want to know more, please read the Cookie Policy
Please select and accept your Cookies Group
Cookie Name | Cookie Provider | Cookie Description | Cookie Lifetime | Cookie Type |
---|---|---|---|---|
Login and Registration Form