Copied to clipboard

Flag this post as spam?

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


  • rich hamilton 117 posts 136 karma points
    Nov 22, 2012 @ 12:53
    rich hamilton
    0

    Orders by user - see all orders with status

    I can use this to see all FinalisedOrders

    <xsl:for-each select="teacommerce:GetFinalizedOrdersXmlForMember( umbraco.library:GetCurrentMember()/@id )/order">
        <xsl:value-of select="@name" /> - <xsl:value-of select="@totalPriceFormatted" />
      </xsl:for-each>


    How do I see ALL order history - pending and cancelled orders too?

  • Anders Burla 2560 posts 8256 karma points
    Nov 22, 2012 @ 12:58
    Anders Burla
    0

    Hi Richard

    We only save the finalized orders as xml. So if you need orders that hasent been finalized you - you need to use SQL to fetch them from the DB.

    Kind regards
    Anders

  • rich hamilton 117 posts 136 karma points
    Nov 22, 2012 @ 13:30
    rich hamilton
    0

    If I got the orders from the TeaCommerce_Order table with IsOrder = TRUE, could I then call each order by orderId ?

  • Anders Burla 2560 posts 8256 karma points
    Nov 22, 2012 @ 13:49
    Anders Burla
    0

    If IsOrder=true the the order IS saved in the xml cache. Then you can use teacommerce:GetFinalizedOrders and then use xslt to select the orders you need.

  • rich hamilton 117 posts 136 karma points
    Nov 22, 2012 @ 13:54
    rich hamilton
    0

    OK, so what is the definition of a finialised order, just one which has been paid for?

  • rich hamilton 117 posts 136 karma points
    Nov 22, 2012 @ 14:01
    rich hamilton
    0

    I have checked again and not all the ones that have IsOrder = TRUE are on the finalised orders xml

  • Anders Burla 2560 posts 8256 karma points
    Nov 22, 2012 @ 14:04
    Anders Burla
    0

    Yes a finalized order is one that has been paid for. If some orders are missing from the xml - try regenerate it. Go to the Tea Commerce section and right click and refresh the order xml

  • rich hamilton 117 posts 136 karma points
    Nov 22, 2012 @ 14:10
    rich hamilton
    0

    OK, it seems it is in the full finalised orders, but not against the individual User, I will check. Thanks

Please Sign in or register to post replies

Write your reply to:

Draft