@open-tender/utils 0.4.25 → 0.4.26
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/cjs/utils/cart.js +2 -0
- package/dist/esm/utils/cart.js +2 -0
- package/package.json +1 -1
package/dist/cjs/utils/cart.js
CHANGED
|
@@ -229,6 +229,7 @@ const makeOrderItemGroups = (optionGroups, isEdit, soldOut = []) => {
|
|
|
229
229
|
points: o.points || 0,
|
|
230
230
|
price: parseFloat(o.price),
|
|
231
231
|
quantity: quantity,
|
|
232
|
+
shorthand: o.shorthand,
|
|
232
233
|
shortDescription: o.short_description,
|
|
233
234
|
shortName: o.short_name,
|
|
234
235
|
slug: o.slug,
|
|
@@ -283,6 +284,7 @@ const makeOrderItem = (item, isEdit, soldOut = [], simpleItem, hasPoints = false
|
|
|
283
284
|
points: hasPoints ? item.points || null : null,
|
|
284
285
|
price: parseFloat(item.price),
|
|
285
286
|
quantity: item.min_quantity || 1 * item.increment,
|
|
287
|
+
shorthand: item.shorthand,
|
|
286
288
|
shortDescription: item.short_description,
|
|
287
289
|
shortName: item.short_name,
|
|
288
290
|
similarItems: item.similar_items,
|
package/dist/esm/utils/cart.js
CHANGED
|
@@ -214,6 +214,7 @@ const makeOrderItemGroups = (optionGroups, isEdit, soldOut = []) => {
|
|
|
214
214
|
points: o.points || 0,
|
|
215
215
|
price: parseFloat(o.price),
|
|
216
216
|
quantity: quantity,
|
|
217
|
+
shorthand: o.shorthand,
|
|
217
218
|
shortDescription: o.short_description,
|
|
218
219
|
shortName: o.short_name,
|
|
219
220
|
slug: o.slug,
|
|
@@ -268,6 +269,7 @@ export const makeOrderItem = (item, isEdit, soldOut = [], simpleItem, hasPoints
|
|
|
268
269
|
points: hasPoints ? item.points || null : null,
|
|
269
270
|
price: parseFloat(item.price),
|
|
270
271
|
quantity: item.min_quantity || 1 * item.increment,
|
|
272
|
+
shorthand: item.shorthand,
|
|
271
273
|
shortDescription: item.short_description,
|
|
272
274
|
shortName: item.short_name,
|
|
273
275
|
similarItems: item.similar_items,
|
package/package.json
CHANGED