FAQS

1. Can page.variationChanged be emitted during initial page load?

This event can also be emitted during initial page setup when the storefront automatically selects an in-stock variation. It is not limited to shopper interactions.

2. Which PDP events are sticky?

page.variationChanged and page.quantityChanged are sticky events. When a listener is added after one of these events has emitted, the listener receives the latest emitted payload once by default.

page.addonQuantityChanged is not sticky. Earlier add-on activity is not replayed to a listener that is registered later.

3. What does quantity: 0 mean?

quantity: A number of the current quantity. A value of 0 means the current main-product selection is not purchasable (E.g. Out of stocks)

4. Can an add-on event be emitted without direct shopper interaction?

The event can also be emitted when a selected add-on becomes unavailable and its quantity is normalized to 0.

Changing the main-product variation can also cause currently selected add-ons to be emitted again when the add-on section remains available.

5. What exactly do variation_rendered and addon_product_rendered represent?


  • variation_rendered: A boolean indicating whether the variation selector is rendered.
  • addon_product_rendered: A boolean indicating whether the add-on-product section is rendered.