Track product option changes on the storefront
What's new
Changes in API
Ecwid.OnProductSelectedOptionsChanged.add((payload) => {
console.log(payload.productId);
console.log(payload.previousOptions);
console.log(payload.newOptions);
});Documentation links
"Product option changed" eventLast updated
Was this helpful?
