Copied to clipboard

Flag this post as spam?

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


  • Denford 132 posts 323 karma points
    Oct 03, 2020 @ 15:16
    Denford
    0

    Umbraco order detailv view

    Having a problem viewing the order details in the backend in Teacommerce > shop > orders > new list when i click on the order id , the first tab Common is blank, see image below and the only order details are on the Transaction tab so currently the clients cant see the paid order details at all.

    What is the best way to try and debug this issue, there is only 1 error in the console which is a moments function error, also see attached, not sure if its related and if it is how to fix it either as these are Umbraco core files not project specific.

    enter image description here

    enter image description here

  • Denford 132 posts 323 karma points
    Oct 04, 2020 @ 05:28
    Denford
    0

    Found out the cause for the moments.js here https://our.umbraco.com/forum/using-umbraco-and-getting-started/91712-momentdefinelocale-is-not-a-function unfortunately this hasnt fixed my original issue of viewing order details, even cart details dont show as well :(

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Oct 05, 2020 @ 08:24
    Matt Brailsford
    100

    Hi Denford,

    Can you check your Store settings and make sure the Settings > UI > Edit order UI file is set correctly, and also that the file it references is there.

    It's made so that people can alter the editor UI for their needs, but it means you have to select the appropriate view to use. By default it should be set to

    macroScripts\tea-commerce\edit-order.cshtml
    

    Matt

  • Denford 132 posts 323 karma points
    Oct 05, 2020 @ 10:06
    Denford
    0

    @Matt, i think i found the problem so in my installation for some reason i actually dont have the Tea-commerce macroscripts showing at all , see below. I can see them in the file on my c drive but not in Umbraco Tea-commerce UI settings. Suppose question is how can i "make' these visible in the backend.

    enter image description here

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Oct 05, 2020 @ 10:10
    Matt Brailsford
    0

    Hi Denford,

    These simply get read from disk so if they aren't displaying, it's likely a file permissions problem. Double check your permissions and make sure the IIS worker process has access to that folder and they should appear.

    Matt

  • Denford 132 posts 323 karma points
    Oct 05, 2020 @ 10:14
    Denford
    0

    Matt, its more on the live site in azure where they are not showing but now that you have mentioned that i wonder if these didnt get deployed to Azure so will go and check there.

  • Denford 132 posts 323 karma points
    Oct 05, 2020 @ 11:34
    Denford
    0

    Matt, They were missing from Azure guess because the Macroscripts folder in my Umbraco site had nothing so was never getting deployed.

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Oct 05, 2020 @ 16:12
    Matt Brailsford
    0

    Hi Denford,

    Ahh, well that sounds like the issue for sure.

    Do you have to files to deploy? I'm guessing it's because they may not be included in the VS project by default so may not get picked up.

    Matt

  • Denford 132 posts 323 karma points
    Oct 06, 2020 @ 10:10
    Denford
    0

    Correct that folder was empty and not included in the project so wasn't getting deployed.

Please Sign in or register to post replies

Write your reply to:

Draft