Upload multiple images to line-items-property

Upload multiple images to line-items-property

gonzmg
Visitor
2 0 0

Hello!

 

I want to add multiple images to line-items-properties to give my customers the possibility of upload several images before buying the product. I have modified the main-product.liquid to add the code to upload them, but when the customer clicks to Go to cart, he only has one of them. This is the code that I've added but doesn’t work:

 

<p class="line-item-property__field">
  <label for="image">Upload images:</label><br>
  <input required class="required" type="file" accept="image/*" name="properties[image]" multiple>
</p>

Do you know how can I fix this?

 

Thank you!

Replies 0 (0)