shop:onProductReviewBeforeCreate event
The shop:onProductReviewBeforeCreate is triggered before a new product review record is created.
The event handler should accept a single parameter - the product review object (Shop_ProductReview class). Example:
public function subscribeEvents()
{
Backend::$events->addEvent('shop:onProductReviewBeforeCreate', $this, 'before_create_product_review');
}
public function before_create_product_review($product_review)
{
//do something here
}Next: shop:onProductReviewAfterCreate event
Previous: shop:onExtendProductReviewForm event
Return to Handling LemonStand events

