Product Plans
Plan picker for digital one-time products with multiple plans. Sets the selected plan in the shared store (addToCartButton + productPrice react). Renders empty for any other product type. single_product only.
Type: "productPlans"
Plan picker for digital one-time products with multiple plans. Sets the selected plan in the shared store (addToCartButton + productPrice react). Renders empty for any other product type. single_product only.
Catatan: Element template-only. Berlaku di template:
single_product.
Props
| Field | Type | Default | Keterangan |
|---|---|---|---|
style | 'cards'|'list' | "cards" | Gaya |
label | string | "Pilih Paket" | Label |
alignment | enum | "left" | Alignment |
Contoh
{
"id": "pro01abc",
"type": "productPlans",
"props": {
"style": "cards",
"label": "Pilih Paket",
"alignment": "left"
}
}