Skip to content

Commit

Permalink
VCST-1781: added product dimentions
Browse files Browse the repository at this point in the history
feat: extends product document builder with product dimensions. Weight unit, weight, measure unit, height, width, length
  • Loading branch information
mihey8800 committed Sep 16, 2024
1 parent 29040a6 commit 58ee84b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/VirtoCommerce.XCatalog.Core/Schemas/ProductType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,13 @@ public ProductType(IMediator mediator, IDataLoaderContextAccessor dataLoader)

Field(d => d.IndexedProduct.Gtin, nullable: true).Description("Global Trade Item Number (GTIN)");
Field(d => d.IndexedProduct.ManufacturerPartNumber, nullable: true).Description("Manufacturer Part Number (MPN)");
Field(d => d.IndexedProduct.WeightUnit, nullable: true).Description("Weight unit");
Field(d => d.IndexedProduct.Weight, nullable: true).Description("Weight");
Field(d => d.IndexedProduct.MeasureUnit, nullable: true).Description("Measure unit");
Field(d => d.IndexedProduct.Height, nullable: true).Description("Height");
Field(d => d.IndexedProduct.Width, nullable: true).Description("Width");
Field(d => d.IndexedProduct.Length, nullable: true).Description("Length");


Field<StringGraphType>(
"brandName",
Expand Down

0 comments on commit 58ee84b

Please sign in to comment.