Retrieves the configuration of your recommendations plugin.
Set your recommendations 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.
getConfig()
returns an object containing the values used to display the recommendations algorithms in the Related Products gallery settings in the editor.
getConfig()
When you add the Recommendations 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 Recommendations Service Plugin.