Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tor Langlo 151 posts 400 karma points
    Jan 04, 2019 @ 06:35
    Tor Langlo
    0

    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.

    This should probably be added to the documentation for OrderLine here: https://docs.teacommerce.net/3.0.0/api/order-line/

    -Tor

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Jan 04, 2019 @ 13:55
    Matt Brailsford
    0

    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

  • Matt Brailsford 2958 posts 15629 karma points MVP 7x c-trib
    Jan 07, 2019 @ 14:56
    Matt Brailsford
    100

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies