Copied to clipboard

Flag this post as spam?

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


  • Khai 71 posts 161 karma points
    Jul 29, 2013 @ 23:32
    Khai
    0

    edit-order.cshtml OrderContext is always null..

    So I tried using the edit-order.cshtml macroscript in Umbraco 6.1.2 ( MVC ), however OrderContext is always null which causes nothing to render. Anyone encountered this before? 

     

  • Rune Grønkjær 1296 posts 2863 karma points
    Jul 30, 2013 @ 08:27
    Rune Grønkjær
    0

    Hi Khai,

    When you say "using", do you mean the standard way in the Tea Commerce section after clicking an order in the order list? Maybe you are using it out of context?

    /Rune

  • Khai 71 posts 161 karma points
    Jul 30, 2013 @ 09:27
    Khai
    0

    Ah is this macro used for the backoffice? I thought this also could be used on the website for a user to also edit his order and fill in his information. 

  • Rune Grønkjær 1296 posts 2863 karma points
    Jul 30, 2013 @ 09:30
    Rune Grønkjær
    100

    It's a backoffice only macro. Same with the e-mail template.

    In the frontend you need to use the Tea Commerce razor API to access the order and other Tea Commerce data.

    /Rune

  • Khai 71 posts 161 karma points
    Jul 30, 2013 @ 13:16
    Khai
    0

    Aha, clear! Thanks a lot.

  • Rune Grønkjær 1296 posts 2863 karma points
    Jul 30, 2013 @ 14:18
    Rune Grønkjær
    0

    No problems. One request though. Could you mark the correct answer, so others can find it, thank you. :)

    /Rune

Please Sign in or register to post replies

Write your reply to:

Draft