Skip to content

[Bug]: Customer can visit checkout even if his cart is empty #492

@bartoszherba

Description

@bartoszherba

Expected Behavior

Checkout is locked for a customer with an empty cart and the customer is redirected and informed accordingly.

Actual Behavior

A customer can access checkout (any step) if he pass the URL even with an empty cart.

Possible Solution

No response

Steps to reproduce

In incognito mode use http:///default/checkout/user-account address to access the checkout.

What version of Magento 2 integration are you using?

2.4.x

What version of Node.js are you using?

16.13.1

What browser (and version) are you using?

Version 96.0.4664.110 (Official Build) (arm64)

What operating system (and version) are you using?

macOS Monterey 12.1

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage-neededIssues that need to be checkedvsf_team

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions