Skip to content

Commit

Permalink
cmmc: product.optionLabelShort, @7.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
artemis-prime committed May 20, 2024
1 parent 03baeab commit 6e2ecce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/commerce/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hanzo/commerce",
"version": "7.0.6",
"version": "7.0.7",
"description": "e-commerce framework.",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class ActualLineItem
sku: string
fullTitle?: string
optionLabel: string
optionLabelShort?: string
familyTitle: string
familyId: string
byline?: string
Expand All @@ -45,6 +46,7 @@ class ActualLineItem
this.sku = prod.sku
this.fullTitle = prod.fullTitle
this.optionLabel = prod.optionLabel
this.optionLabelShort = prod.optionLabelShort
this.familyTitle = prod.familyTitle
this.familyId = prod.familyId
this.byline = prod.byline
Expand Down
1 change: 1 addition & 0 deletions packages/commerce/types/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ interface Product extends MediaStackDef {
sku: string // human visible on orders etc.
fullTitle?: string
optionLabel: string
optionLabelShort?: string
familyId: string // skuPath, eg LXB-AU-B
familyTitle: string
byline?: string
Expand Down

0 comments on commit 6e2ecce

Please sign in to comment.