How to change product variant option name

X-DREAM
Excursionist
29 0 3

I would like to keep everything only change the blue highlight part name. please see screenshot below. want change COLOR to OPTION.

Thanks

 

www.x-dream.com.au

password: 666

 

 

Capture.PNG

Replies 2 (2)

BSS-Commerce
Shopify Expert
3376 447 494

Hi @X-DREAM ,

Please follow these steps:
1. Access your Shopify admin page, select Online Store => Themes
2. Search for the Theme you are using, select Edit code

view - 2024-01-24T173926.207.png

3. In the code folder, find the theme.liquid file and add the following code here and click Save

view - 2024-01-24T174026.959.png

Code to add: 

document.querySelector('h5[class*="product-variant-selector-item-heading"]').innerText = document.querySelector('h5[class*="product-variant-selector-item-heading"]').innerText.replace("COLOR", "OPTION")

 This is the result:

view - 2024-01-24T174114.023.png

Hope it helps @X-DREAM 

If our suggestions are useful, please let us know by giving it a like or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

magenest
Shopify Partner
103 4 9

Hey there @X-DREAM,

 

According to your question, you just need to change the name of the Variants, please refer to the image below.

magenest_0-1706168974035.png

Let us know if it works.

Magenest - One-stop Digital Solution Provider
- Don’t forget to drop a thumbs-up and Mark it as a Solution if you find our response useful
- Elevate your online business with our Shopify experts and professional designers