getConfig( )


Retrieves the configuration of your catalog plugin.

Set your catalog configuration in the return of the getConfig() function. Wix calls this function when you publish your site. Changes to the configuration don't take effect until you publish your site.

Currently no configurations are available for this plugin, so set getConfig() to return an empty object.

Where to find getConfig()

When you add the Catalog service plugin, a folder is automatically added to your site. Use the -config.js file in the folder to set the default configuration for your implementation of the service plugin.

For more information on setting your configuration, see Velo Tutorial: eCommerce Catalog Service Plugin.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<CatalogConfigResponse>
Was this helpful?
Yes
No