Can't get the upload file removed

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
2 years 3 weeks ago #346168

-- HikaShop version -- : 4.6.2
-- Joomla version -- : 4.1.5
-- PHP version -- : 8

Hello,

we have a custom field that we use to upload a file that can be downloaded in the fontend as a specs sheet.


So when we upload a file (pdf) in the backend... the visitor can download it in the frontend

When we have a file uploaded in a product... we CAN override/replace it with anothor file...but we CAN'T delete/make it empty again.
How can we fix this?

Regards,
Michiel

Attachments:

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

  • Posts: 231
  • Thank you received: 28
  • Hikashop Business
2 years 3 weeks ago #346173

Hi,
You can change your custom field from file to Ajax File, that it will allow you to have the option to remove the file.

Attachments:
Last edit: 2 years 3 weeks ago by oxido. Reason: typo

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 3 weeks ago #346169

Hi,

Indeed, with the "file" type of custom fields, there is no mechanism to allow you to delete the file.
What you can do is to change the type to "AJAX file" in the settings of your custom field.
It is much powerful and has extra options including one to allow for deletion of the files.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum