Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Adding Size or Color Guide depending on Option Name choice

Adding Size or Color Guide depending on Option Name choice

NoahOnyejese
Excursionist
29 0 6

Hi guys, 

 

I tried to add two options to my product page and give them a button as option name. But it only "kinda" worked.

 

NoahOnyejese_0-1669470999367.pngNoahOnyejese_1-1669471009532.png

 

 

The button works but now it also displays all of this stuff. Does someone know how to fix this? 

 

 

It display's these values: 

NoahOnyejese_0-1669472077167.png

"Size Guide"
value="XS"
form="product-form-template--14386594611518__main"
checked
Screenshot 2022-11-26 151650.png

 

Reply 1 (1)

LitExtension
Shopify Partner
4877 1003 1169

Hi @NoahOnyejese,

For the option name, it should be text only, HTML input is not supported, so you should change it to text, then add the condition to display HTML if desired at main-product.liquid file.

Hope it is clear to you.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify