frontend_review_add.after
Triggered on adding a new product review.
Shop-Script
Input (passed by reference)
$params array Array of parameters.
$params['id'] int ID of new review.
$params['data'] array New review's and its author's data.
$params['product'] array Product data.
$params['id'] int ID of new review.
$params['data'] array New review's and its author's data.
$params['product'] array Product data.
… your plugin code …
Output
Shop-Script
Plugin code example
PHP
public function frontendReviewAddAfter($params)
{
waLog::dump($params, 'shop/plugins/' . $this->id . '/frontend-review-add-after.log');
}









