Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DOC

Alert box on uninstalling module

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’);

}

 

. . .

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