Can't get the upload file removed

  • Posts: 386
  • Thank you received: 7
  • Hikashop Business
1 year 5 months 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: 223
  • Thank you received: 26
  • Hikashop Business
1 year 5 months 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: 1 year 5 months ago by oxido. Reason: typo

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

  • Posts: 81481
  • Thank you received: 13062
  • MODERATOR
1 year 5 months 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.084 seconds
Powered by Kunena Forum