getCatalogItems( )


Retrieves item data from a custom catalog.

This function is automatically called by Wix to retrieve the catalog items provided by your custom catalog plugin. This happens when certain actions are performed on the cart and/or checkout. For example, when an item is added to the cart.

Where to find getCatalogItems()

When you add the Catalog service plugin, a folder is automatically added to your site. Use the .js file in the folder to write the code to determine which catalog items to retrieve.

For more information on customizing your catalog plugin, see Velo Tutorial: eCommerce Catalog Service Plugin.

Method Declaration
Copy
Method Parameters
optionsOptionsRequired

Catalog and item references (IDs and additional info), weight unit, and quantities requested by Wix eCommerce.

Returns
Return Type:Promise<Array<CatalogItems>>
Was this helpful?
Yes
No