Debut: How to add price to variant names in variant selector on product page

Highlighted
New Member
2 0 0

I am trying to add price to variant names in variant selector of debut product page.

how the variant picker shows options-

"Blue color"

"Red color"

 

how I am trying to make it.

"Blue color $5"

"red color $7"

 

I have tried to inspect via chrome but it shows value rather than the code. Also in theme.js I couldn't identify where to do what. Any ideas?

0 Likes
Highlighted
Shopify Partner
836 127 141

Locate your product-template.liquid file in:

  1. Online Store
  2. Edit
  3. Edit Code
  4. product-template.liquid
  5. Locate Line 175 assuming you haven't modified the code
  6. Add the underlined snipped to show price

JHKC_0-1599579078069.png

Let me know, Cheers!

 

- Did we solve your issue? Like & Mark As Solution to help the community
- Should you need any direct help: contact@jhkconsultancy.com
K&J
0 Likes