Back to Top

Alert box on uninstalling module

Updated 6 May 2013

If you want an alert box to be pop up while uninstalling module asking  for confirmation or any other message use the below code.

In the installation file of your module add the following line of code.

public function __construct()

{

$this->confirmUninstall = $this->l(‘Are you sure you want to uninstall this module’);

Searching for an experienced
Prestashop Company ?
Find out More

}

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home