onProductCreated( )


An event that fires when a product is created.

The onProductCreated() event handler runs when a new product is added to a store.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventProductCreatedEventRequired

Information about the product that was created.

Was this helpful?
Yes
No