Removing old Files in Product Details TAB

When editing a Product i need to remove old FILES list under the Files Tab, but I have over 1000 products. How do I do this efficiently? instead of one by one?

Hello chrisbti,



Thank you for your message.



If you want to delete files of all your products at once, you should clear the cscart_product_files and cscart_product_file_descriptions database tables. You can use the following SQL queries in order to implement it:



TRUNCATE TABLE cscart_product_files
TRUNCATE TABLE cscart_product_file_descriptions




After this you should clear the var/downloads directory of your CS-Cart installation.



I hope this information will help you.



Thank you.





Pavel Zyukin

CS-Cart Support team