Skip to content

Default variant on PDP load? #2308

Closed Answered by blittle
zamson asked this question in Help
Discussion options

You must be logged in to vote

Update the logic here to pick a default variant. By default it just picks the "first variant": https://github.com/Shopify/hydrogen/blob/main/templates/skeleton/app/routes/products.%24handle.tsx#L57

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by blittle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants