How to set the placeholder to default in "Please select an option" for your Infinite Options bundle

Infinite Options dropdowns select the first in-stock option when the page loads. The Option placeholder setting in the Simple Bundles theme block only changes the wording of the placeholder ("Please select an option" by default). It doesn't stop the first option from being selected.

To have every dropdown start on the placeholder, and block Add to cart until the customer picks an option, add the script in this guide. This helps customers notice they need to choose, and can reduce incorrect orders.

How to set this up

  1. Open Your Online Store

    • Go to your Shopify Admin > Online Store > Themes.
    • Click "Customize" on your current theme.
Online Store in Shopify
    • Use the page selector to locate and open the product page for the bundle you'd like to update.
Shopify Theme
  1. Disable App Embed (if enabled)

    • In the theme editor, click on "App embeds" in the left-hand panel.
    • Locate the Simple Bundles embed and toggle it off.
Shopify Theme
  1. Enable App Block for Infinite Options

Adding App Block in your Shopify Theme
  1. Add the script with a Custom Liquid block

    • In the left sidebar, inside the product information section, click Add block and choose Custom Liquid. If your theme doesn't offer a Custom Liquid block there, click Add section and choose Custom Liquid instead.
    • Copy the code from placeholder.js.
    • In the Custom Liquid box, type <script>  on the first line, paste the code below it, then type </script>  on the last line. It should look like this:
<script>
  // paste the contents of placeholder.js here
</script>

The block doesn't display anything on the page, so you can leave it anywhere in the section.

  1. Save the Changes

    • Click "Save" in the theme editor.
Shopify Theme

The dropdown options should now default to “Please select an option” when customers visit your product detail page, instead of automatically selecting the first variant. This gives customers a clear indication that a selection is required.

The add to cart button will be blocked if any of the options are not selected

Product detail page

Important Notes:

Please note that this setup may depend on your theme’s structure, so the exact implementation might vary. If you’d like to explore this further, we’re happy to walk you through it and see what’s possible based on your theme.

This script works with the standard Simple Bundles dropdowns. If your theme shows the options as custom swatches or buttons instead of dropdowns, the script won't change them. Contact us at hello@simplebundles.io and we'll check your setup.

Additionally, make sure that cart validation is enabled for Infinite Options in your store settings. This will help ensure that all required fields are filled out before the product is added to the cart.

Update (October 2026): The Custom JavaScript field in the Simple Bundles app block and app embed is deprecated. Add scripts with a Custom Liquid block or section in your theme instead, as shown in the steps above. Some screenshots may still show the old Custom JavaScript field while we update them.

If you already have code in the Custom JavaScript field, it keeps working for now, but we recommend moving it to a Custom Liquid block. Copy your code somewhere safe first: once you clear the field and save, the field disappears from your settings.

Still need help? Contact Us Contact Us