Copied to clipboard

Flag this post as spam?

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


  • Matt Taylor 873 posts 2086 karma points
    Dec 18, 2012 @ 15:10
    Matt Taylor
    0

    .Net API version of Tea Commerce XSLT library GetProperty method

    In my .Net code I have a product node which I'd like to get the price for.

    In XSLT we use the GetProperty method which will get us the price from the node or if it is not available there, get it from the Master Product node.

    Is there an .Net API method that will do the same thing i.e. look at my node for the price and if it is not there get it from the Master Product?

    Thanks, Matt

  • Anders Burla 2560 posts 8256 karma points
    Dec 18, 2012 @ 17:31
    Anders Burla
    0

    In the current version of Tea Commerce we don't have a specific method for this. We only have the one Library.GetPrices( XPathNodeIterator node ). So for this to work you have to fetch the node from umbraco and make a XPathNodeIterator. I know this is not the best way to do it - so it will be much better in Tea Commerce 2.0 :)

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft