Mort-lemur Posted June 17, 2015 Share Posted June 17, 2015 Just been pondering something as I patiently wait for 5000+ images to download from the server to my pc so I can sort them out and delete ones no longer used. Has anyone ever given any thought to the possibility of adding a function to the admin, so that when a product is deleted from the store the option is there to delete its associated image from the images directory? As sites get older, products come and go - but there is not currently (that Im aware of) any way to delete the redundant images along with the product - result is that the images folder grows and grows over the years.......... Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members. Link to comment Share on other sites More sharing options...
oscMarket Posted June 17, 2015 Share Posted June 17, 2015 http://addons.oscommerce.com/info/6346 Link to comment Share on other sites More sharing options...
burt Posted June 18, 2015 Share Posted June 18, 2015 In addition to the above, your installation of osCommerce must be goosed, as (definitely [i just tested it]) in the Responsive version, one can add a new product ...i f one then deletes the product, the product images are also deleted (unless those images are in use on another product). The same code exists in 2.3.4, and I went back as far as 2.3.1 to see if the same code is there - it is. function called tep_remove_product Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 18, 2015 Share Posted June 18, 2015 Isn't there an addon which checks for unused images. I thought I saw one ages ago. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
oscMarket Posted June 18, 2015 Share Posted June 18, 2015 @@14steve14 Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 18, 2015 Share Posted June 18, 2015 @@wHiTeHaT Sorry missed that post of yours. Sorry REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
oscMarket Posted June 18, 2015 Share Posted June 18, 2015 :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.