How to add customization field to product page

chloepasour
New Member
6 0 0

I am selling a dog bandana with an initial on it. Because it is sold in 2 colors and 6 sizes, adding letters for the initials creates too many variants for Shopify. I attempted to follow this tutorial to allow customers to type their chosen initial, but there is no product.liquid file in my theme (Dawn). How can I A. add a text field or B. get around the 100 variant limit? Even if I make each color a different product, the 6 sizes/26 letters are still too many variants.

Replies 3 (3)
Jayvin
Shopify Partner
270 40 74

Hi,

You can use line item property for the Initial textbox to achieve this. You need to add an text input field like this below on your product page form.

<input type="text" name="properties[initial]" value="" />

 

chloepasour
New Member
6 0 0

Do i insert this on the main-product.liquid page or the product template itsself?

chloepasour
New Member
6 0 0

I have added this to the product page and it worked, but it is not showing up in the cart/checkout page or anywhere on the order.