Jump to content

Photo Delete via Ajax-GET ?


Recommended Posts

Hi All,

I'm very new to Prestashop.

I want to delete the uploaded photo by the client.
I will send the photo information via Ajax-Get. (site.com/deleteImage/imagesinfo).

Let me explain this a little more in detail.

We solve such a problem in Lavavel and other frameworks as follows.

  • We define a new control and method that performs image deletion.
  • We define a route that will call this control and method. (Route::get('/deleteImage/{info}', '[email protected]']);)

How do I make such an implementation in prestashop ? 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More