@lancom/shared 0.0.168 → 0.0.169

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.
@@ -116,8 +116,8 @@ function getOrderItem(product, simpleProduct) {
116
116
  const { SKU, productCost, amount, color, size } = simpleProduct;
117
117
  return {
118
118
  item_id: product.SKU,
119
- item_variant: SKU,
120
- item_name: `${product.name} ${color?.name || ''} ${size?.name || ''}`.trim(),
119
+ item_variant: `${product.name} ${color?.name || ''}-${size?.shortName || ''}`.trim(),
120
+ item_name: product.name.trim(),
121
121
  item_brand: product.brand.name,
122
122
  price: productCost,
123
123
  currency: 'AUD',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.168",
3
+ "version": "0.0.169",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {