Type Alias ShopProduct
adultOnly?: boolean;
availability?: string;
badges?: string[];
badgeTones?: Record<string, "accent" | "success">;
category: string;
customerDefinedPrice?: boolean;
declarations?: { label: string; value: string }[];
description?: string;
id: string;
illustrationCapColor?: string;
illustrationColor?: string;
image?: string;
imageAlt?: string;
minimumPrice?: number;
pickupOnly?: boolean;
placeholder?: "bottle" | "jar" | "gift";
price: number;
producer?: string;
quantityInformation?: string;
slug: string;
subtitle?: string;
tint?: string;
title: string;
unavailable?: boolean;
unitPrice?: string;
variants?: {
adultOnly?: boolean;
id: string;
name: string;
price: number;
unitPrice?: string;
}[];
withdrawalExcluded?: boolean;
withdrawalNotice?: string;
}
Index
Properties
Properties
Optionaladult Only
Whether age verification applies. Optional; omitted unless supplied by the host or backend.
Optionalavailability
Host availability copy. Optional; omitted unless supplied by the host or backend.
Optionalbadges
Host product badge labels. Optional; omitted unless supplied by the host or backend.
Optionalbadge Tones
Optional semantic tones keyed by badge label. Optional; omitted unless supplied by the host or backend.
category
Host product category label.
Optionalcustomer Defined Price
Whether the host permits a customer-entered amount. Optional; omitted unless supplied by the host or backend.
Optionaldeclarations
Host-supplied product declaration rows. Optional; omitted unless supplied by the host or backend.
Type Declaration
-
label: string
Accessible customer-visible label.
-
value: string
Current controlled value.
Optionaldescription
Host-owned product or section description. Optional; omitted unless supplied by the host or backend.
id
Opaque backend identifier or accessible element ID.
Optionalillustration Cap Color
Host illustration cap color. Optional; omitted unless supplied by the host or backend.
Optionalillustration Color
Host illustration fill color. Optional; omitted unless supplied by the host or backend.
Optionalimage
Host image URL. Optional; omitted unless supplied by the host or backend.
Optionalimage Alt
Accessible image description. Optional; omitted unless supplied by the host or backend.
Optionalminimum Price
Minimum customer-defined price in integer cents. Optional; omitted unless supplied by the host or backend.
Optionalpickup Only
Whether fulfillment is pickup only. Optional; omitted unless supplied by the host or backend.
Optionalplaceholder
Built-in product illustration used when no image is supplied. Optional; omitted unless supplied by the host or backend.
price
Price in integer cents.
Optionalproducer
Optional host producer label. Optional; omitted unless supplied by the host or backend.
Optionalquantity Information
Host-formatted quantity information. Optional; omitted unless supplied by the host or backend.
slug
URL-safe host product slug.
Optionalsubtitle
Optional host product subtitle. Optional; omitted unless supplied by the host or backend.
Optionaltint
Host illustration background color. Optional; omitted unless supplied by the host or backend.
title
Customer-visible heading or title supplied by the host.
Optionalunavailable
Disable purchase presentation when true. Optional; omitted unless supplied by the host or backend.
Optionalunit Price
Host-formatted unit price. Optional; omitted unless supplied by the host or backend.
Optionalvariants
adultOnly?: boolean;
id: string;
name: string;
price: number;
unitPrice?: string;
}[]
Public event variants with backend prices. Optional; omitted unless supplied by the host or backend.
Type Declaration
-
OptionaladultOnly?: booleanWhether age verification applies. Optional; omitted unless supplied by the host or backend.
-
id: string
Opaque backend identifier or accessible element ID.
-
name: string
Selected icon or backend name.
-
price: number
Price in integer cents.
-
OptionalunitPrice?: stringHost-formatted unit price. Optional; omitted unless supplied by the host or backend.
Optionalwithdrawal Excluded
Whether the backend excludes this item from withdrawal. Optional; omitted unless supplied by the host or backend.
Optionalwithdrawal Notice
Host withdrawal notice. Optional; omitted unless supplied by the host or backend.
Host presentation model for a product card. Amounts are integer cents; map catalogue data explicitly.