Skip to content

Unable to add more then 1 product to cart with persistent module disabled #14486

Closed
@dverkade

Description

@dverkade

Preconditions

  1. Magento version 2.2.2
  2. Have all caching functions enabled (especially FPC cache)
  3. In the config.php disable the Magento_Persistent module, set it to 0.

Steps to reproduce

  1. Go to a category page and a product detail page. Add the product to the cart.
  2. Go back to another product detail page and add that product to the cart as well.
  3. Only the last product added to the cart is in the cart, the first product has been removed from the cart.

Expected result

  1. Both products should be in the cart

Actual result

  1. Only the last added product is in the cart.
  2. Another session_id is created, the previous session_id is not in your cookies anymore

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Framework/SessionFixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: doneReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions