yt-uikit 0.8.9-mixandmatchoverlayFix.1 → 0.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,6 +49,13 @@ export type Product = {
|
|
|
49
49
|
image?: string;
|
|
50
50
|
options?: string[];
|
|
51
51
|
};
|
|
52
|
+
type DiscountData = {
|
|
53
|
+
type: "dummy_coupon" | "percentage_discount_coupon" | "amount_discount_coupon" | "fixed_price_collection";
|
|
54
|
+
tiers: {
|
|
55
|
+
minimumQuantity: number;
|
|
56
|
+
discountValue: number;
|
|
57
|
+
};
|
|
58
|
+
} | null;
|
|
52
59
|
export type BundleConfig = {
|
|
53
60
|
config: {
|
|
54
61
|
shop: string;
|
|
@@ -59,10 +66,11 @@ export type BundleConfig = {
|
|
|
59
66
|
collectionTier: {
|
|
60
67
|
title: string;
|
|
61
68
|
tier: number;
|
|
62
|
-
|
|
69
|
+
maximumQuantity: number;
|
|
63
70
|
collectionId: string;
|
|
64
71
|
handle: string;
|
|
65
72
|
products: Product[];
|
|
73
|
+
discountData: DiscountData;
|
|
66
74
|
}[];
|
|
67
75
|
};
|
|
68
76
|
form?: {
|
|
@@ -94,6 +102,9 @@ export type BundleConfig = {
|
|
|
94
102
|
hideOutOfStockProducts: boolean;
|
|
95
103
|
bundleRedirection: "cart-drawer" | "checkout";
|
|
96
104
|
checkoutPartner: "shopify" | "razorpay" | "shiprocket" | "gokwik" | "breeze" | "zecpay" | "shopflo";
|
|
105
|
+
showTierSteps: boolean;
|
|
106
|
+
headerImage: string;
|
|
107
|
+
stickyBarWidth: "compact" | "full-width";
|
|
97
108
|
};
|
|
98
109
|
};
|
|
99
110
|
interface CollectionBundleProps {
|