Skip to content

Minicart empty if FPC disabled in Magneto 2.1.1 #6882

@ivanweiler

Description

@ivanweiler

Preconditions

  1. Magento 2.1.1 with sample data
  2. Page Cache (FPC) disabled in admin

Steps to reproduce

  1. add product to cart
  2. switch currency, or switch language, or navigate to login and try to login with invalid user/pass

Expected result

  1. product should be in minicart

Actual result

  1. mini cart is empty
  2. customer can't proceed to checkout

Additional comment

Something is wrong with invalidation of local storage data. Local storage becomes empty and won't refresh when FPC is disabled (possible reason is that private_content_version cookie is missing and js reacts to it).

Funny thing is ..
FPC disabled - customer can't buy, but currency switcher works
FPC enabled - customer can buy, but you can't switch currencies on frontend as reported in #6746

Customers are unable to proceed to checkout and purchase if we need to temporary disable FPC on live site for some reason.

Thx

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions