onCollectionCreated( )


An event that fires when a product collection is created.

The onCollectionCreated() event handler runs when a product collection is added to a store.

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

Method Declaration
Copy
Method Parameters
eventCollectionCreatedEventRequired

Information about the product collection that was created.

Did this help?