Created
October 19, 2021 19:52
-
-
Save procarrera/6f23091738a12039fdfc0105de1a7d7c to your computer and use it in GitHub Desktop.
Form with file Upload Shopify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action="/cart/add" id="product_form_6149192941727" accept-charset="UTF-8" class="shopify-product-form" enctype="multipart/form-data"><input type="hidden" name="form_type" value="product"><input type="hidden" name="utf8" value="✓"> | |
<label for="upload">Upload Your Logo</label> | |
<input id="upload" type="file" name="properties[_upload]" class="product-form__input"> | |
</form> |
Author
procarrera
commented
Feb 9, 2022
Hey. I realized that this is a code for the product. In fact, I got a form by default. I just need to add an input file and it doesn't appear in the automated message that arrives after the customer has filled out the form. Could you help me?
Have you tried with the Ajax function?
Hi @procarrera ,
I tried the code above you shared, but it doesn't upload the file.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment