refreshContent()

Manually update the content on the page using the server's skill configurations and the current shopper state.

Whenever a shopper lands on a page Fera will automatically update content as quick as possible to ensure a seamless shopper experience.

If you want to manually update the content on the page based on the skills configurations on the remote server, you can use the following code:

fera.refreshContent({
callback: function() {
console.log("Content was updated by Fera.");
}
});

Since Fera will automatically detect any changes to the shopping cart or content on the page, you should almost never need to run this API method.