[Skip to main content](#vessel-content)

#   Can't get the upload file removed

##

- **[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")**
- [![BluepointWebdesign's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile") Topic Author
- [ Offline](/forum/user/34929-bluepointwebdesign)

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 3 weeks ago [\#346168](#346168) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  *[Can't get the upload file removed](/forum/32-content-creation/905273-cant-get-the-upload-file-removed#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")* was created by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")*

-- 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.
[ ![screenshot-05.bluepoint-concept.nl-2022.11.01-09&#95;18&#95;15.png](/forum/attachment/55826) ](/forum/attachment/55826 "...1-09&#95;18&#95;15.png")

So when we upload a file (pdf) in the backend... the visitor can download it in the frontend
[ ![screenshot-05.bluepoint-concept.nl-2022.11.01-09&#95;24&#95;37.png](/forum/attachment/55827) ](/forum/attachment/55827 "...1-09&#95;24&#95;37.png")

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

- [ ![screenshot-05.bluepoint-concept.nl-2022.11.01-09&#95;18&#95;15.png](/forum/attachment/55826) ](/forum/attachment/55826 "...1-09&#95;18&#95;15.png") [ ](/forum/attachment/55826?download=1 "...1-09&#95;18&#95;15.png")
- [ ![screenshot-05.bluepoint-concept.nl-2022.11.01-09&#95;24&#95;37.png](/forum/attachment/55827) ](/forum/attachment/55827 "...1-09&#95;24&#95;37.png") [ ](/forum/attachment/55827?download=1 "...1-09&#95;24&#95;37.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA1MjczLWNhbnQtZ2V0LXRoZS11cGxvYWQtZmlsZS1yZW1vdmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[oxido](/forum/user/29793-oxido "View oxido's Profile")**
- [![oxido's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29793-oxido "View oxido's Profile")
- [ Offline](/forum/user/29793-oxido)

Less More

- Posts: 285
- Thank you received: 42
-
-

4 years 3 weeks ago -  4 years 3 weeks ago [\#346173](#346173) by [oxido](/forum/user/29793-oxido "View oxido's Profile")  Replied by *[oxido](/forum/user/29793-oxido "View oxido's Profile")* on topic *[Can't get the upload file removed](/forum/32-content-creation/905273-cant-get-the-upload-file-removed#346173 "-- 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")*

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.
[ ![remove&#95;file&#95;ajax&#95;oxido.jpg](/forum/attachment/55829) ](/forum/attachment/55829 "...ajax&#95;oxido.jpg")

- [ ![remove&#95;file&#95;ajax&#95;oxido.jpg](/forum/attachment/55829) ](/forum/attachment/55829 "...ajax&#95;oxido.jpg") [ ](/forum/attachment/55829?download=1 "...ajax&#95;oxido.jpg")

Last edit: 4 years 3 weeks ago by [oxido](/forum/user/29793-oxido "View oxido's Profile"). Reason: typo

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA1MjczLWNhbnQtZ2V0LXRoZS11cGxvYWQtZmlsZS1yZW1vdmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

4 years 3 weeks ago [\#346169](#346169) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Can't get the upload file removed](/forum/32-content-creation/905273-cant-get-the-upload-file-removed#346169 "-- 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")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTA1MjczLWNhbnQtZ2V0LXRoZS11cGxvYWQtZmlsZS1yZW1vdmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
