Price Object
For advanced and custom price testing integrations.
Overview
Get Price by Variant ID
Example
...
// Imagine item = product.variant;
// You want the price for that item
const itemPrice = window.igData?.price.getPriceByVariantId(item.id) || item.price;
...Get Price by Product ID
Get Compare Price by Variant ID
Get Subscription Discount
Example
Last updated