Hi Echapman24,
I used product metafields to do this before.
-
From Admin > Settings > Custom data > Metafields > Products > Add definition
-
Fill in “Name”, “Description”, Select Type “True or false”. You can edit the “Namespace and key” as well
Example on my store:
-
Go to the Product you want to add this custom text field > Scroll down to bottom > Metafields > Enable Product Personalization: select True
-
Go to Online store > Edit Code > Open main-product.liquid
Find this code
{%- form ‘product’, product, id: product_form_id, class: ‘form’, novalidate: ‘novalidate’, data-type: ‘add-to-cart-form’ -%}
Place this code right below that:
{%- if product.metafields.custom.enable_product_personalization.value -%}
{%- endif -%}
By using metafields, you can choose which product to enable that custom fields, you can bulk edit as well.
