Can't get the upload file removed

  • Posts: 386
  • Thank you received: 7
  • Hikashop Business
1 year 3 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: 220
  • Thank you received: 25
  • Hikaserial Subscription Hikashop Business
1 year 3 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 3 months ago by oxido. Reason: typo

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

  • Posts: 81166
  • Thank you received: 12991
  • MODERATOR
1 year 3 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.089 seconds
Powered by Kunena Forum