You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use craft\commerce\events\PdfEvent;
use craft\commerce\services\Pdfs;
use yii\base\Event;
Event::on(
Pdfs::class,
Pdfs::EVENT_AFTER_RENDER_PDF,
function (PdfEvent $event) {
// ...
}
);
Hovewer proper event class is craft\commerce\events\PdfRenderEvent.
The text was updated successfully, but these errors were encountered:
Product
None
Description
This is event code that is generated
Hovewer proper event class is
craft\commerce\events\PdfRenderEvent
.The text was updated successfully, but these errors were encountered: