Ecwid.isStorefrontV3()

Returns state of "storefront_v3" migration on the storefront.

Get migration state code example:

var v3Migration = Ecwid.isStorefrontV3()

console.log(v3Migration);

// prints if enabled
// true

Subscribe to the Ecwid.OnAPILoaded JS API event to ensure availability of this function.