Support » Knowledge Base » Shop-Script » Useful tips »
How to avoid removal of image files when products are deleted from the catalog?
When products are deleted from the WebAsyst Shop-Script catalog, their image files are automatically removed from the server. To avoid such removal of product image files, rename subdirectory products_pictures located in /published/publicdata/DATABASE_KEY/attachments/SC, e.g. to products_pictures_temp, prior to the products deletion. You can do that by means of an FTP client or the file manager in your web hosting control panel. After products have been deleted, restore the original name of the previously renamed subdirectory.