@lime-bundles/widget 4.6.8 → 4.6.9
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.
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/lime-bundle.global.js +1 -1
- package/dist/lime-bundle.global.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -109,7 +109,7 @@ var DEFAULT_STRINGS = {
|
|
|
109
109
|
one: "__COUNT__ item out of stock",
|
|
110
110
|
other: "__COUNT__ items out of stock"
|
|
111
111
|
},
|
|
112
|
-
cartStockError: "
|
|
112
|
+
cartStockError: "This bundle couldn't be added to your cart. __MESSAGE__",
|
|
113
113
|
quantity: "Quantity",
|
|
114
114
|
increaseQuantity: "Increase quantity",
|
|
115
115
|
decreaseQuantity: "Decrease quantity",
|
|
@@ -117,7 +117,7 @@ var DEFAULT_STRINGS = {
|
|
|
117
117
|
editSelection: "Edit selection",
|
|
118
118
|
addToCart: "Add to cart",
|
|
119
119
|
bundlePrice: "Bundle total",
|
|
120
|
-
save: "
|
|
120
|
+
save: "You save",
|
|
121
121
|
complete: "Complete",
|
|
122
122
|
ofSelected: "__COUNT__ of __TOTAL__ added",
|
|
123
123
|
moreToGo: "__COUNT__ more to go",
|
|
@@ -159,7 +159,7 @@ function formatItemsOutOfStock(t, count) {
|
|
|
159
159
|
}
|
|
160
160
|
return (tpl || "__COUNT__ items out of stock").split("__COUNT__").join(String(count));
|
|
161
161
|
}
|
|
162
|
-
var CART_STOCK_ERROR_FALLBACK = "
|
|
162
|
+
var CART_STOCK_ERROR_FALLBACK = "This bundle couldn't be added to your cart. __MESSAGE__";
|
|
163
163
|
function formatCartStockError(template, message) {
|
|
164
164
|
const tpl = (template || "").trim() || CART_STOCK_ERROR_FALLBACK;
|
|
165
165
|
const warning = (message || "").trim();
|
package/dist/index.js
CHANGED
|
@@ -103,7 +103,7 @@ var DEFAULT_STRINGS = {
|
|
|
103
103
|
one: "__COUNT__ item out of stock",
|
|
104
104
|
other: "__COUNT__ items out of stock"
|
|
105
105
|
},
|
|
106
|
-
cartStockError: "
|
|
106
|
+
cartStockError: "This bundle couldn't be added to your cart. __MESSAGE__",
|
|
107
107
|
quantity: "Quantity",
|
|
108
108
|
increaseQuantity: "Increase quantity",
|
|
109
109
|
decreaseQuantity: "Decrease quantity",
|
|
@@ -111,7 +111,7 @@ var DEFAULT_STRINGS = {
|
|
|
111
111
|
editSelection: "Edit selection",
|
|
112
112
|
addToCart: "Add to cart",
|
|
113
113
|
bundlePrice: "Bundle total",
|
|
114
|
-
save: "
|
|
114
|
+
save: "You save",
|
|
115
115
|
complete: "Complete",
|
|
116
116
|
ofSelected: "__COUNT__ of __TOTAL__ added",
|
|
117
117
|
moreToGo: "__COUNT__ more to go",
|
|
@@ -153,7 +153,7 @@ function formatItemsOutOfStock(t, count) {
|
|
|
153
153
|
}
|
|
154
154
|
return (tpl || "__COUNT__ items out of stock").split("__COUNT__").join(String(count));
|
|
155
155
|
}
|
|
156
|
-
var CART_STOCK_ERROR_FALLBACK = "
|
|
156
|
+
var CART_STOCK_ERROR_FALLBACK = "This bundle couldn't be added to your cart. __MESSAGE__";
|
|
157
157
|
function formatCartStockError(template, message) {
|
|
158
158
|
const tpl = (template || "").trim() || CART_STOCK_ERROR_FALLBACK;
|
|
159
159
|
const warning = (message || "").trim();
|