User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:devel:corebos_hooks [2019/08/18 22:20]
joebordes [Supported events]
en:devel:corebos_hooks [2019/08/18 22:20] (current)
joebordes [Supported events]
Line 244: Line 244:
 When the application requires a product/​service price, it will get the unit price field from the database and the call this filter with some information so we can calculate some other price to be returned. When the application requires a product/​service price, it will get the unit price field from the database and the call this filter with some information so we can calculate some other price to be returned.
  
-The filter receives these parameters: +This filter receives these parameters:
   * the unit price   * the unit price
   * the discount (always 0 as the application does not natively calculate this)   * the discount (always 0 as the application does not natively calculate this)