Anpassung mithilfe von 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 zur Anpassung des Geschenk-Sliders
2. Event zur Anpassung des Geschenksymbols und der Geschenk-Miniaturansicht auf der Produktseite
3. Event zur Anpassung des Heutigen Angebots
4. Event zur Anpassung der Warenkorbnachricht
Zuletzt aktualisiert
War das hilfreich?