Help Needed: Variant Description Setup in Enterprise Theme

Topic summary

A user is implementing variant-specific descriptions on a product page using the Enterprise theme, following a tutorial designed for Shopify’s Dawn theme.

Current Status:

  • Steps 1-2 completed successfully: variant descriptions display correctly
  • Step 3 blocked: cannot locate the product-info.js file referenced in the tutorial
  • Issue: descriptions don’t update when switching between variants

Proposed Solutions:

  • Check the assets/ folder for alternative JavaScript files (product.js, main.js, or theme.js)
  • Add the variant description update code to one of these files
  • Alternative approach: insert JavaScript directly into main-product.liquid using a <script> tag

Root Cause:
The tutorial targets Dawn (free Shopify theme), while Enterprise is a paid theme with different file structure and naming conventions. The user has shared theme files via Google Drive for further assistance.

Status: Unresolved—awaiting implementation guidance specific to Enterprise theme architecture.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

Hi,

I’m using the Enterprise theme and following a tutorial (https://websensepro.com/blog/how-to-add-different-description-per-variant-shopify-tutorial/) to add variant-specific descriptions to my product page.

I’ve successfully completed the first two steps, and the variant descriptions are displaying.

However, in step 3, I’m supposed to modify the product-info.js file — but I can’t find this file or anything similar in the Enterprise theme. As a result, the description doesn’t update when switching variants.

Can anyone help me identify the correct file or location where the step 3 code should be added in this theme?

Here is the link to the theme files, in case it helps: https://drive.google.com/file/d/1nNzkUJyaARpNfnNUdEvCo65Y_xubqRxV/view?usp=sharing

Thank you!

Hello,

The Enterprise theme doesn’t have product-info.js—instead, look in the assets/ folder for files like product.js, main.js, or theme.js. Add the variant description update code there, or as a fallback, insert the JavaScript directly into your main-product.liquid at the bottom using a tag.

Best Regard,

Lora

Get the point. So because the first two steps involved settings up things in the backend and customizer it’s all good but this guy mostly uses dawn in his tutorials which is a free theme by Shopify and you are on a paid different theme so the function name and code is a bit different which is why you don’t get the exact file name.

Yes that is why I needed help. The product-info.js or its details are located in other file/s of the theme code that is why I have shared the theme file as well.