How can I add a custom field to a specific product?

Can someone assist me? I’m trying to add this custom field to only my Custom Essence product.

I’ve tried to follow other instructions, but I think I’m doing something wrong.

I’ve added custom liquid code to the product which shows up fine, it just shows on all products:

I’ve attempted to create a metafield:

Then I added this code to main-product-liquid, but it created an additional box in the wrong place:

{%- if product.metafields.custom.enable_product_personalization.value -%}

Want to add additional flowers?

{%- endif -%}

I’ve also tried to connect a dynamic source to the liquid code on the product, but the metafield is not found.

Am I trying to do too many different things or maybe just adding the code to the wrong place?

Please advise! Thank you.

Metafields can be confusing to deal with if you’re not a developer. An easier option would be to create a separate product template that contains the custom field and assign it to the Custom Essence product. I can send a collaborator request if you want me to do it for you.

That’s very helpful thank you! I’m new to Shopify and didn’t realize I could do that.

Glad it helped!