Hello, on my previous page I used a free shopify template and it was very easy for me to carry out this guide, now it has changed templates and I have problems because I can't find the code to embed my customizable fields. The code I use is
I'm sorry to say we can't guarantee this tutorial will work out of the box. Every theme is different and requires tweaking to integrate customizations. That's why the original post starts with this:
Thank @stratify - I understand that each theme is different. Is there a fundamental reason that a variant button is changed to "disabled" once the File Upload option is used? I have checked the page coding pre and post File Upload and the only change is that the Variant Button setting is turned to Disabled? I can see no trigger in any code in either templates, snippets etc that would cause the change based on the File Upload code used in the tutorial.
<input type="radio" checked="checked" value="Black" data-index="option1" name="Colour" class="variant__input-4602577649750" id="ProductSelect-4602577649750-option-colour-Black" disabled=""> <label for="ProductSelect-4602577649750-option-colour-Black" class="variant__button-label disabled">Black</label>
@andrew_threlfal it's tough to say without diving into the theme.js file in more depth. You could try opening a new Forum post for Expert help. My best guess is that the
theme.Product object checks the availability of each variant when inputs change. It's probably checking the input for an attribute that does not exist, and as a result it's defaulting to the variant not being available. You'll need to update the function that checks for each variant's availability, and tell it to ignore the new input. I hope that helps! If not I would highly suggest reaching out to a Shopify Expert for help :)
I successfully added the customized field in my product page, using the code below:
<label for="optional-enter-childs-name">Enter Child's Name - 12 Chars Max</label><BR />
<input id="optional-enter-childs-name" type="text" placeholder="12 characters max" name="properties[(Optional) Enter Child's Name]">
After adding this code, i can collect the information from mu customers already, i can find the content in my order page.
But the problem is , when i export the orders , i can't find this field in my excel. I wanna know how i can add the customized field to my export excel ?
|15 seconds ago|
|31 seconds ago|