App Bridge product selection bug - when multiple selection is turned off can't select multiple variants

When product multi selection is set to false then, after selecting a products variant you can’t choose any other variant.

The code for app bridge implementation:

const resourcePickerOptions = {
  type: "product",
  multiple: false,
  action: "add",
};

products = await shopify.resourcePicker(resourcePickerOptions);

Image supporting the statement:

Philosophically speaking, does this not make sense? A product (singular) may have many variants, but since each variant is a product, the selection multiple=false is saying, you get one. If you allow one product, but two or more products, what are you trying to do? Reduce the resource picker to a subset of variants of a single product. So now it is single product, multiple variant. Is that how this Resource (product) picker is designed? Curious. Could perhaps be more expansive?

But I can choose multiple variants if I select using the product itself:

And then if I uncheck one then I can’t check it again which definitely seems like a bug to me:

Based off the docs it should definitely be possible and sounds like a bug

When type is Product, the user may still select multiple variants of a single product, even if multiple is false.

1 Like

Cool…great discovery Luke, I didn’t see the docs.

Hey folks :waving_hand: - thanks for raising this here. We’re taking a look into this.

Just a bit of an update - this does look like a possible issue on our end - we’re continuing to investigate. Can’t confirm a turnaround time, but just wanted to keep you folks in the loop.

1 Like

Thanks for picking up on the issue. It’s been here for a long time. Hope this gets fixed soon.

Comforting to know Shopify is all over the clicks and why they don’t work! Good stuff.