Jump to content

Photo Delete via Ajax-GET ?


hrnsykk

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}', 'DeleteImageController@delete']);)

How do I make such an implementation in prestashop ? 

Link to comment
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...