Customize using events
type GiftVariant {
id: number,
title: string,
price: number,
original_price: number,
thumbnail: string,
discount_type: "percentage" | "fixed_amount",
discount_value: number
}
type GiftProduct {
id: number,
title: string,
handle: string,
thumbnail: string,
belongs_to_offer?: string | string[],
variants: GiftVariant[]
}
type TodayOffer {
id: string,
title: string,
gifts: GiftProduct[]
}
type CartMessage {
value: string,
offer_root: string, // offer id
}1. Event for customizing the Gift slider
2. Event for customizing the Gift icon, and Gift thumbnail on product page
3. Event for customizing the Today offer
4. Event for customizing the Cart message
Last updated
Was this helpful?