aimeos / aimeos-laravel

Laravel ecommerce package for ultra fast online shops, scalable marketplaces, complex B2B applications and #gigacommerce
https://aimeos.org/Laravel
MIT License
7.1k stars 1.04k forks source link

How these actions are defined ? #495

Closed damanmokha closed 1 year ago

damanmokha commented 1 year ago

Hello,

I have been working on modifying some functionalities, but I am unable to locate the action functions that are used in the "notify" trait. Some examples of these actions are:

$this->notify( 'setCustomerId.before', (string) $customerid );
$this->notify( 'setCustomerId.after', (string) $customerid );
$this->notify( 'check.before', $what );
$this->notify( 'check.after', $what );

Could you kindly provide information about where the 'check.before' and 'check.after' actions are defined? Furthermore, I would like to understand the purpose and process of the 'check.after' action, and if possible, how to modify it.

Your assistance in clarifying these matters would be greatly appreciated.

Thank you.

aimeos commented 1 year ago

The events are published to listener plugin classes and you can find documentation about basket plugins here: https://aimeos.org/docs/latest/providers/basket-plugins/