Documentation feature, how is Sku assigned to OrderLine.Sku
I couldn't find how OrderLine.Sku is populated anywhere in the documentation so after some research this is what I found:
OrderLine.Sku is assigned by the IProductInformationExtractor implementation.
The default IProductInformationExtractor implementation is PublishedContentProductInformationExtractor and it looks for a property with alias "sku" on the product content node.
The name of the alias is set in TeaCommerce.Api.Constants.ProductPropertyAliases.SkuPropertyAlias.
Documentation feature, how is Sku assigned to OrderLine.Sku
I couldn't find how OrderLine.Sku is populated anywhere in the documentation so after some research this is what I found:
This should probably be added to the documentation for OrderLine here: https://docs.teacommerce.net/3.0.0/api/order-line/
-Tor
Thanks Tor,
I've added an issue to the docs github repository (I moved the docs over to GitHub over the Christmas holidays)
https://github.com/TeaCommerce/Tea-Commerce-Documentation/issues/1
I'll post any updates to that issue so do keep an eye out.
Matt
Just to close off on this, docs for this have now been added at https://docs.teacommerce.net/3.0.0/api/order-line/#system-properties
is working on a reply...