Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

ecart
Advanced Member

123 Posts

Posted - 04/05/2021 :  10:26:14  
Hello,

Is it possible to have a script that will delete the images associated with a product when that product is deleted?

Thanks,

Stan

Vince
Administrator

42466 Posts

Posted - 04/05/2021 :  10:32:48  
Hi Stan
If you go to the ECT Admin -> STORE ADMIN -> Database Utility -> Check for unreferenced product images then this should do what you are looking for I believe.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

ecart
Advanced Member

123 Posts

Posted - 04/05/2021 :  10:52:37  
Hi Vince,

Will the Database Utility delete the referenced product images from the server, or does this have to be done manually?

Thanks,

Stan

ecart
Advanced Member

123 Posts

Posted - 04/05/2021 :  11:23:33  
Hi Vince,

I see, to delete the the unreferenced images I have to add the parameter "$allowdeleteimages=TRUE;". I will give this a try.

Thanks,

Stan
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000