Jump to content

Edit History

vav_

vav_


MORE INFOS

19 minutes ago, knacky said:

Where is route.php file located?
The proposed solution has the advantage that you do not have to enter any additional function for sending emails. The update function automatically runs the hookProductUpdate function in the ps_emailaerts module.

In brief, this is the root of my module :

image.png.c2810504b76e5fc13c7691aa1c2a8ecd.png

And route.php file is in framework.

I understand the usefulness of "hookProductUpdate", this is the beginning of a cascade of Prestashop functions which, in the end, causes the sending of mail.

 

On the other hand, for each action in my tool, there is a SQL query called, but above all a PHP file that stores and transmits to the query the values that I would have entered in my tool. For example, the number of product received in stock.
See here: 

image.thumb.png.34f02b18f15966a5c3654bb291c56270.png

vav_

vav_

11 minutes ago, knacky said:

Where is route.php file located?
The proposed solution has the advantage that you do not have to enter any additional function for sending emails. The update function automatically runs the hookProductUpdate function in the ps_emailaerts module.

In brief, this is the root of my module :

image.png.c2810504b76e5fc13c7691aa1c2a8ecd.png

And route.php file is in framework.

I understand the usefulness of "hookProductUpdate", this is the beginning of a cascade of Prestashop functions which, in the end, causes the sending of mail.

×
×
  • Create New...