All methods below are as if the Smart Search object has a reference variable defined as shown in this code snippet.

const SmartSearch = window.Rebuy.SmartSearch;

This is not a complete list of the globally available function but the ones that we find most helpful.



Overview

getQuickViewSettingsobject | error

Returns the Quick View settings object or error if data not found.

getCombinedSearchSettingsobject | error

Returns the Results Page settings object or error if data not found.

getQuickViewSettings

Returns the Quick View settings object or error if data not found.

Kind: global constant
Returns: Object | error

getCombinedSearchSettings

Returns the entire Combined Search data including Results Page settings and Quick View settings object. Error if data not found.

Kind: global constant
Returns: Object | error