Copied to clipboard

Flag this post as spam?

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


  • abhishek lal 12 posts 152 karma points
    Oct 26, 2017 @ 23:28
    abhishek lal
    0

    Get variant type of product in Order line

    I want to calculate shipping based on variant types. Is there a way to get the variant alias or Id or name from order line object while calculating shipping price ?

  • Rune Grønkjær 1372 posts 3103 karma points MVP
    Oct 30, 2017 @ 13:51
    Rune Grønkjær
    0

    Each order line have a productidentifier. That identifier consists of both the id of the Umbraco node and the GUID of the variant. Use that to find the correct variant.

    /Rune

  • 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