How can I prevent Debutify from auto-selecting the first variant?

Hello, it seems like such a simple and popular thing to do. All I want is to have my video to be the first media a customer sees when they land on the product page, but instead Debutify automatically goes to the first variant, which then changes the displayed media and hides the video off to the left in the carousel.

Any help that doesn’t involve too much dodgy coding would be appreciated.

naturebed.com.au

@debutify

Did you solve this problem?

1 Like

Not yet

The following solution is directly from Debutify support:

I hope you’re doing well today :slightly_smiling_face:

Please try the steps below.

Step 1: Go to shopify dashboard → themes → select Debutify theme → actions → edit code

Step 2: find product-template.liquid file under SNIPPET folder

Step 3: find the following code:

{%- assign featured_media = current_variant.featured_media | default: product.featured_media -%}

And change it to following code

{%- assign featured_media = product.featured_media -%}