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 :)
.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
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
is working on a reply...