Personalized checkout and custom promotions with Shopify Scripts
Hello,
I need on my store image upload because I do print on demand personalised prducts. I added code from internet where I can as a coustomer add picutres which I want on the product. My problem is that I can choose multiple photos, but only one is saved and I can only see one in the orders page. Can someone help me to make it so all the photos client add will be shown?
My code:
<div class="product-form__input">
<label class="form__label">*Vyberte své fotky (Maximálně 6 fotek)</label>
<input type="file" form="{{ 'product-form-' | append: section.id }}" name="properties[*Vyberte své fotky (Maximálně 6 fotek)]" required accept="image/*" multiple>
<script>
document.addEventListener("DOMContentLoaded", () => {
document.querySelector("form[novalidate]").removeAttribute("novalidate");
<div class="product-form__input">
<label class="form__label">*Vyberte své fotky (Maximálně 6 fotek)</label>
<input type="file" form="{{ 'product-form-' | append: section.id }}" name="properties[*Vyberte své fotky (Maximálně 6 fotek)]" required multiple>
<script>
document.addEventListener("DOMContentLoaded", ()=>{document.querySelector("form[novalidate]").removeAttribute("novalidate")})
</script>
</div>
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025