Skip to content

Cart bundle - expected behavior is unclear  #162

Description

@maloguertin

Hi, I installed the Bundles reference app and the JSON Schema link made me discover this repo.

I am interested in starting to develop with the cartTransform function but I'm trying to figure out what the app should be showing.

1. I created a parent product called Shirt

Screenshot 2023-02-22 at 4 44 26 PM

2. I created the variants that should be in the bundle
Added this json to both the variants:

Screenshot 2023-02-22 at 4 45 53 PM

Now when I add both child variants separately to my cart this is what I see:
Screenshot 2023-02-22 at 4 49 47 PM

And the checkout page
Screenshot 2023-02-22 at 4 50 13 PM

  • Should the cart display the parent variant with the correct adjusted price?
  • Should the subtotal and total price be displayed accounting for the price adjustment?

When I add the parent variant directly

I first see the parent variant in the cart, but if I go to checkout and come back to the cart it always displays both variants. Is this normal?

Cheers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions