File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ private void CreateProductMap()
188188 {
189189 AutoMapperApiConfiguration . MapperConfigurationExpression . CreateMap < Product , ProductDto > ( )
190190 . IgnoreAllNonExisting ( )
191- . ForMember ( x => x . ProductAttributeMappings , y => y . Ignore ( ) )
192191 . ForMember ( x => x . FullDescription , y => y . MapFrom ( src => WebUtility . HtmlEncode ( src . FullDescription ) ) )
193192 . ForMember ( x => x . Tags ,
194193 y => y . MapFrom ( src => src . ProductProductTagMappings . Select ( x => x . ProductTag . Name ) ) ) ;
Original file line number Diff line number Diff line change @@ -84,9 +84,6 @@ public ProductDto PrepareProductDTO(Product product)
8484 var productDto = product . ToDto ( ) ;
8585
8686 PrepareProductImages ( product . ProductPictures , productDto ) ;
87- PrepareProductAttributes ( product . ProductAttributeMappings , productDto ) ;
88- PrepareProductAttributeCombinations ( product . ProductAttributeCombinations , productDto ) ;
89- PrepareProductSpecificationAttributes ( product . ProductSpecificationAttributes , productDto ) ;
9087
9188 productDto . SeName = _urlRecordService . GetSeName ( product ) ;
9289 productDto . DiscountIds = product . AppliedDiscounts . Select ( discount => discount . Id ) . ToList ( ) ;
You can’t perform that action at this time.
0 commit comments