Upload multiple files

  • Posts: 60
  • Thank you received: 0
9 years 5 months ago #232232

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3

Hello guys!

For my products, users should upload their data while ordering process, so here I should use costume fields and i used "Ajax File". Everything is work well but i have just 1 problem. Some of our users should upload more than 1 file. so it can be around 8 or more even. By this Ajax file still they can upload multiple files and even on server we can see all files BUT in Hikashop panel and in Orders section when I open their orders I just can see the last file that they uploaded (while on server all of them uploaded)! So what should I do for this? is thee any solution that admin can see all uploaded files of each user in his order page?

Kind Regards

Please Log in or Create an account to join the conversation.

  • Posts: 84233
  • Thank you received: 13675
  • MODERATOR
9 years 5 months ago #232259

Hi,

When you use the Ajax File type custom fields, you can see that when you upload a file in it, if there is already a file in the field, the new file replace the old one in the file. And the system only saves the last one in the database when linking it with the product in the cart/order.
So there is no way to display links to all the files uploaded for that product. The data isn't there in the database. It's just that the files aren't cleaned when the customer replaces the file by another one.

If you want several files, you need to have several custom fields.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum