Option Selection Deactivation

Topic summary

Goal: Disable automatic option/variant selection on Prestige theme product pages and show a placeholder (ā€œPlease select an optionā€) with no preselected variant.

Key steps discussed:

  • Suggestion to edit theme code (Online Store > Themes > Edit code) and remove any on-load selection logic (e.g., jQuery selecting the first option).
  • OP checked theme.js and did not find such code; shared a Google Doc with the file contents for review.

Clarifications:

  • The request is specifically to prevent ā€œOption 1ā€ (first variant) from being auto-selected and instead prompt the user to choose.
  • ā€œAuto Variant Selectionā€ refers to the theme default that selects the first available variant when the page loads.

Latest update/outcome:

  • A contributor stated this requires custom coding in the theme and recommended hiring a developer.
  • The OP is willing to pay and has emailed the helper to proceed (shopify.dev.34@gmail.com).

Status: Open/ongoing. Pending custom development review of the provided code (external Google Doc link is central) and implementation. No finalized solution posted in-thread.

Summarized with AI on December 24. AI used: gpt-5.

I am using the Prestige theme.

I would like to disable the automatic selection of options when the page is first loaded.

Does anyone know how to do this?

If there are any costs involved, I am willing to pay.

Hello,

To disable automatic option selection in the Prestig theme go to your Shopify admin panel navigate to ā€œOnline Storeā€ > ā€œThemesā€ and click ā€œActionsā€ > ā€œEdit codeā€ on the prestige theme. Find the relevant file like theme.js or product-template.liquid and look for any code that selects an option on page load like $(ā€˜#product-select’).val($(ā€˜#product-select option:first’).val());. comment out or remove this code. Save the changes and test your store to ensure the automatic selection is disabled.

The code you mentioned is not present in theme.js. I have copied the code from theme.js. Can you check this link?
https://docs.google.com/document/d/12PPRM91qmbFxLeliSTZls46RNk27wE8sBAlCBXV74ys/edit?usp=sharing

Hello @brushy
Do you mean to disable Auto Variant Selection on Product pages?

Please let me confirm for this?

When loading the product page, I do not want Option 1 to be selected automatically. Instead, I want it to display a message saying ā€œPlease select an optionā€ without any option being pre-selected.

Hello @brushy
I have understood your requirement.

this needs to be custom coded in the theme and you will need a developer to develop this for you. Let me know if you need one. Thanks

1 Like

I have sent an email to shopify.dev.34@gmail.com. Please check it.