1

i'm getting empty cart by adding product to cart.

what i already did:

  • Set cookie lifetime: 86400
  • Set cookie domain: http://www.domain.com/
  • php bin/magento setup:static-content:deploy
  • php bin/magento indexer:reindexphp
  • bin/magento cache:clean

but still the same. what can i do else to resolve this problem?

my magento version is : 2.1.3 thanks

empty cart

  • 1
    Set Cookie Path -> / Cookie Domain -> .<your domain>.com – Ankit Shah Feb 7 '17 at 1:20
  • 1
    Thanks to answer my question. Where to add my domain? I tried trough magento admin, but i got this error: " invalid path" – Ralfe Feb 7 '17 at 2:49
  • 1
    Hi, thanks @AnkitShah, everything seems now to working properly. :) – Ralfe Feb 7 '17 at 14:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.