Jump to content

Deleting images from media servers when product is deleted


Recommended Posts

I'm having this trouble figuring out, what i need to change in order to accomplish this.

 

First of all, im using media servers because my web host don't have enough space.

 

So what i want is, when i delete product from webhost (server 1, where website and db is located) i also need to delete the images from mediaserver (server 2, where only product images are stored).

 

Could be a really nice feature, if media servers is set. This way, old images from products won't take up space when deleted.

 

At this moment, everytime i delete a product, it throws an error :(

 

Where do i need to edit the prestashop code? I really hope someone can help me out :-)

 

PS. 1.6.0.6

Edited by Dallerdkj (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...