Copied to clipboard

Flag this post as spam?

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


  • John C Scott 473 posts 1183 karma points
    Jul 25, 2015 @ 23:51
    John C Scott
    0

    Custom Properties in Tea Commerce Dashboard

    I'm using Tea Commerce v3.0.2 with Umbraco version 7.2.4

    I've extensively used custom properties

    This is all working really well.

    However I have one problem that I'd appreciate advice with.

    Once a purchase is made I can't see a way for a back office user when looking at orders in the tea commerce dashboard section to see any of the custom properties that were set on the order.

    I can access them via code and they are being saved fine and are available via the API.

    What would you recommend as the best way to extend the back office so that a user could view the custom properties for each order line within an order?

    I thought about making a custom dashboard, but I'm not sure how to best link it from the orders page.

    Any advice greatly appreciated.

  • Anders Burla 2560 posts 8256 karma points
    Jul 27, 2015 @ 07:57
    Anders Burla
    100

    Hi John

    Just edit the editOrder.cshtml that is in the MacroScripts folder. This is the UI file for editing an order. There you can see how other custom properties are made. Address is also a custom property.

    Kind regards

    Anders

  • John C Scott 473 posts 1183 karma points
    Jul 27, 2015 @ 11:03
    John C Scott
    0

    actually sorry I'm not sure that is the answer

    will this alter how the order is displayed in the backoffice?

    eg in this screen shot where I've written the details in orange I'd really like it if I could show the details here of the order options so a back office user can view the options selected by the purchaser

    enter image description here

  • Anders Burla 2560 posts 8256 karma points
    Jul 27, 2015 @ 11:08
    Anders Burla
    0

    Yes it will alter how it is displayed in the backoffice. You can see at the settings which file is used to render the edit order UI.

  • John C Scott 473 posts 1183 karma points
    Jul 27, 2015 @ 11:26
    John C Scott
    0

    oh that is very cool :) thank you sorry i couldn't believe it was that easy :)

    makes version control incredibly simple too

    i love Tea Commerce !

  • Anders Burla 2560 posts 8256 karma points
    Jul 27, 2015 @ 11:29
    Anders Burla
    1

    Your welcome - and THANKS for the kind words!

Please Sign in or register to post replies

Write your reply to:

Draft