Skip to content

Blocking behavior not working: useBuyerJourneyIntercept + useApplyCartLinesChange #2367

Open
@AntoineColorz

Description

@AntoineColorz

Packages involved in the issue

@shopify/cli : 3.67.1,
@shopify/ui-extensions : 2024.7.x,
@shopify/ui-extensions-react": 2024.7.x

Describe the bug

When using useBuyerJourneyIntercept to block the customer at the shipping step in conjunction with useApplyCartLinesChange for all line items, the blocking behavior doesn't work as expected.

Steps to reproduce the behavior:

  1. Clone the following repository: https://github.com/AntoineColorz/bug-intercept-buyer-journey/
  2. Run the project (npm run dev)
  3. Use choice_3 (steps as described in the screencast)

Expected behavior

The blocking behavior should prevent the customer from proceeding past the shipping step.

Screenshots

bug-intercept-buyer-journey.webm

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