Ecommerce Shopify WordPress Discussion

File Upload – can multiple file attempts be added instead of replaced? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 5 days ago. Improve this question I have an input field: <input type="file" id="images" name="images[]" value="" class="test" multiple=""> This is a file upload with multiple file upload ability. Is it possible to make is so the input fields adds the files when user uploads files in multiple attempts? Example: CURRENT FLOW: User uploads 3 images (User remembers he has more images) User Uploads 2 more images Result: 2 images added to input field. WHAT I WANT: User uploads 3 images (User remembers he has more images) User Uploads 2 more images Result: 5 images added to input field. Is this possible or this will require rewriting how the input field works? PS: currently I'm using a Wordpress plugin to manage the upload field, so I cant do too many modifications on the backend. I was wondering if front-end(JS) can be used to pool up the items? I tried writing a bunch of JS to manage this field, but every time the popup for the files shows up and you add the items, it just overwrites the previously uploaded files.
You can use this to choose images and content as HTML format wp_editor("Your input name", 'product_image', array('editor_height'=>200,'editor_width'=>300, 'media_buttons' => true) );

February 13, 2024

TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.