Configuring conditional multi-select product options in Shopify for products

  • I’m building a meal bundle product where the customer first chooses how many days they want (Day Variant = 3 days or 5 days). Based on that selection, they then choose their meals from one or more multi‑select dropdowns. Each dropdown pulls its options from a weekly‑changing product collection (Breakfast, Lunch, Dinner, or Lunch/Dinner), and I need to limit how many items the customer can select in that dropdown according to the Day Variant value.

    Examples:

    • If the bundle is “Breakfast + Lunch/Dinner” and the customer chooses 3 days, they should be able to pick up to 3 Breakfast items and up to 3 Lunch/Dinner items from the relevant collections.

    • If the bundle is “Lunch + Dinner” and the customer chooses 5 days, they should be able to pick up to 5 Lunch items and up to 5 Dinner items, again sourced from weekly collections.

    Question:
    How can I implement a multi‑select dropdown whose options are dynamically sourced from a product collection that changes weekly, while enforcing a maximum number of selectable items based on a “Day Variant” parent dropdown (3 or 5)? Is this possible with native Shopify + theme code (line item properties, metaobjects, etc.), or would I need a product options app that supports:

    • multi‑select inputs,

    • options sourced from collections, and

    • per‑field selection limits tied to another option’s value?

Hey @singh96kror.

Native Shopify isn’t going to give you this out of the box. While you could technically use metaobjects for storing your weekly meal options and line-item properties to capture the selections, building the multi-select UI with dynamic collection sourcing and especially the conditional selection limits based on the “Day Variant” would require a significant amount of custom theme JavaScript and Liquid. It’s a complex build that would be fragile and hard to maintain without an app.

You’ll definitely need a product options app that supports all three of your requirements: multi-select inputs, options sourced dynamically from collections (often called “product bundles” or “linked products” features), and crucial for your use case, per-field selection limits that can be tied to the value of another option. Look for apps specifically advertising “bundle builder” or “advanced product options” capabilities.

I have actually build something very similar to this and it is pretty dynamic but for your case might have to tweak to code a bit more according to the days selected. I am using line item properties in this case to store the selection.

Here’s an example

Password: reafur

This is my development store, look for a product called bundles discounted collection or just see the second section on the homepage.

It lets you choose a limited number of items which you define in the backend admin and let’s users choose from collections available.

Best