Magento2: Minicart is full while Cart is EmptyRedirect to empty cart in AOLCart ID in MagentoShopping cart...
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
-1 to the power of a irrational number
Sampling from Gaussian mixture models, when are the sampled data independent?
How to increase the accuracy of a plot
Is it possible to clone a polymorphic object without manually adding overridden clone method into each derived class in C++?
Why is epimorphism not defined as follows?
What does *dead* mean in *What do you mean, dead?*?
How do we create new idioms and use them in a novel?
Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?
Professor forcing me to attend a conference, I can't afford even with 50% funding
Logistic regression BIC: what's the right N?
Can the Witch Sight warlock invocation see through the Mirror Image spell?
How can I change the name of a partition?
What is the purpose of a disclaimer like "this is not legal advice"?
Align horizontal cdots in an alignat environment
How would an energy-based "projectile" blow up a spaceship?
Smooth vector fields on a surface modulo diffeomorphisms
Why is there an extra space when I type "ls" on the Desktop?
Can you train your ranger to master different fighting styles?
Is divide-by-zero a security vulnerability?
What to do if my university does not offer any advanced math courses?
Doublet with ladder line vs coax w.r.t. noise
If sound is a longitudinal wave, why can we hear it if our ears aren't aligned with the propagation direction?
Is there stress on two letters on the word стоят
Magento2: Minicart is full while Cart is Empty
Redirect to empty cart in AOLCart ID in MagentoShopping cart shows as empty upon clicking “add to cart”Shopping cart empties abruptly - cookies not persisting“SHOPPING CART IS EMPTY” after login in with the user ID and passwordShopping cart always “empty” after 1.9.3.4 upgradecart shows empty issueWhat is the recommanded cookie lifetime when persistent cart enabled?Magento 2 | Mini Cart has items but cart is empty | Session problem? | Double clicking on “Proceed To Checkout” redirects to an empty cartLogging in at the checkout process empties the cart/redirects to an empty cart
A lot of our customers are complaining that they add stuff to the cart & then when they proceed to checkout they are redirected to an empty cart.
We thought that it might be a result of too short session time, so we tried increasing the cookie/session lifetime to 86400 (on both admin & server).
After that, I tried to reproduce the problem & managed to achieve the weird behavior as you can see on the attached screenshot.
I added products to cart, came back after about 20-30 minutes & saw my items in the minicart. then I proceeded to checkout & it redirected me to this empty cart while the minicart is still showing my items (refreshing the page also didn't work):

-- Any Idea?
UPDATE: So far we managed to solve this issue by changing back the session configuration to use files (disabled Memcached). I know that Magento recommends using Memcached & have no idea what caused this issue...
checkout cart magento-2.1.7 cookie checkoutsession
bumped to the homepage by Community♦ 16 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
A lot of our customers are complaining that they add stuff to the cart & then when they proceed to checkout they are redirected to an empty cart.
We thought that it might be a result of too short session time, so we tried increasing the cookie/session lifetime to 86400 (on both admin & server).
After that, I tried to reproduce the problem & managed to achieve the weird behavior as you can see on the attached screenshot.
I added products to cart, came back after about 20-30 minutes & saw my items in the minicart. then I proceeded to checkout & it redirected me to this empty cart while the minicart is still showing my items (refreshing the page also didn't work):

-- Any Idea?
UPDATE: So far we managed to solve this issue by changing back the session configuration to use files (disabled Memcached). I know that Magento recommends using Memcached & have no idea what caused this issue...
checkout cart magento-2.1.7 cookie checkoutsession
bumped to the homepage by Community♦ 16 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
A lot of our customers are complaining that they add stuff to the cart & then when they proceed to checkout they are redirected to an empty cart.
We thought that it might be a result of too short session time, so we tried increasing the cookie/session lifetime to 86400 (on both admin & server).
After that, I tried to reproduce the problem & managed to achieve the weird behavior as you can see on the attached screenshot.
I added products to cart, came back after about 20-30 minutes & saw my items in the minicart. then I proceeded to checkout & it redirected me to this empty cart while the minicart is still showing my items (refreshing the page also didn't work):

-- Any Idea?
UPDATE: So far we managed to solve this issue by changing back the session configuration to use files (disabled Memcached). I know that Magento recommends using Memcached & have no idea what caused this issue...
checkout cart magento-2.1.7 cookie checkoutsession
A lot of our customers are complaining that they add stuff to the cart & then when they proceed to checkout they are redirected to an empty cart.
We thought that it might be a result of too short session time, so we tried increasing the cookie/session lifetime to 86400 (on both admin & server).
After that, I tried to reproduce the problem & managed to achieve the weird behavior as you can see on the attached screenshot.
I added products to cart, came back after about 20-30 minutes & saw my items in the minicart. then I proceeded to checkout & it redirected me to this empty cart while the minicart is still showing my items (refreshing the page also didn't work):

-- Any Idea?
UPDATE: So far we managed to solve this issue by changing back the session configuration to use files (disabled Memcached). I know that Magento recommends using Memcached & have no idea what caused this issue...
checkout cart magento-2.1.7 cookie checkoutsession
checkout cart magento-2.1.7 cookie checkoutsession
edited Dec 17 '17 at 7:28
Pini
asked Dec 14 '17 at 13:11
PiniPini
385213
385213
bumped to the homepage by Community♦ 16 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 16 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Magento places all customer specific data(shopping cart, customer name, etc...) in local storage in order to prevent caching on proxies like Varnish. Later this data is inserted into the page using JS. The behavior you observed is a misconfiguration of cache lifetime. Ideally, it should be aligned with session lifetime.
As I said, we increased both session & cookie to 86400, that didn't help. The only thing that seems to fix the issue was to disable the memcached (which was configured as suggested by Magento's docs). We stopped checking the issue after that so I have no idea what actually caused it.
– Pini
Mar 2 '18 at 17:09
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f205824%2fmagento2-minicart-is-full-while-cart-is-empty%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Magento places all customer specific data(shopping cart, customer name, etc...) in local storage in order to prevent caching on proxies like Varnish. Later this data is inserted into the page using JS. The behavior you observed is a misconfiguration of cache lifetime. Ideally, it should be aligned with session lifetime.
As I said, we increased both session & cookie to 86400, that didn't help. The only thing that seems to fix the issue was to disable the memcached (which was configured as suggested by Magento's docs). We stopped checking the issue after that so I have no idea what actually caused it.
– Pini
Mar 2 '18 at 17:09
add a comment |
Magento places all customer specific data(shopping cart, customer name, etc...) in local storage in order to prevent caching on proxies like Varnish. Later this data is inserted into the page using JS. The behavior you observed is a misconfiguration of cache lifetime. Ideally, it should be aligned with session lifetime.
As I said, we increased both session & cookie to 86400, that didn't help. The only thing that seems to fix the issue was to disable the memcached (which was configured as suggested by Magento's docs). We stopped checking the issue after that so I have no idea what actually caused it.
– Pini
Mar 2 '18 at 17:09
add a comment |
Magento places all customer specific data(shopping cart, customer name, etc...) in local storage in order to prevent caching on proxies like Varnish. Later this data is inserted into the page using JS. The behavior you observed is a misconfiguration of cache lifetime. Ideally, it should be aligned with session lifetime.
Magento places all customer specific data(shopping cart, customer name, etc...) in local storage in order to prevent caching on proxies like Varnish. Later this data is inserted into the page using JS. The behavior you observed is a misconfiguration of cache lifetime. Ideally, it should be aligned with session lifetime.
answered Mar 1 '18 at 16:25
Andrey KonosovAndrey Konosov
371111
371111
As I said, we increased both session & cookie to 86400, that didn't help. The only thing that seems to fix the issue was to disable the memcached (which was configured as suggested by Magento's docs). We stopped checking the issue after that so I have no idea what actually caused it.
– Pini
Mar 2 '18 at 17:09
add a comment |
As I said, we increased both session & cookie to 86400, that didn't help. The only thing that seems to fix the issue was to disable the memcached (which was configured as suggested by Magento's docs). We stopped checking the issue after that so I have no idea what actually caused it.
– Pini
Mar 2 '18 at 17:09
As I said, we increased both session & cookie to 86400, that didn't help. The only thing that seems to fix the issue was to disable the memcached (which was configured as suggested by Magento's docs). We stopped checking the issue after that so I have no idea what actually caused it.
– Pini
Mar 2 '18 at 17:09
As I said, we increased both session & cookie to 86400, that didn't help. The only thing that seems to fix the issue was to disable the memcached (which was configured as suggested by Magento's docs). We stopped checking the issue after that so I have no idea what actually caused it.
– Pini
Mar 2 '18 at 17:09
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f205824%2fmagento2-minicart-is-full-while-cart-is-empty%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown