Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Might be a stupid question. I have installed Tea and about to build my site. I was wondering if there's a way to extract all products from the Tea-API instead of doing the Ancestor-list enumerator (more like a an Umbraco-API-take kind of thing).
Like if I want to create a SurfaceController and search existing products for properties.
Until now I've only found order and orderline stuff in the Tea-API.
There's not no. All product is, by default, placed in the normal Umbraco content. Umbraco is better at getting it's own nodes than we could ever hope to be.
So just use that.
That said. What we do when we want to query a large amount of Umbraco nodes we use Umbraco Examine. Make an examine index with all your products and query for them in that using the examine API.
For ultra speed you can make your own product data provider for Tea Commerce and get the data directly from the examine index all the time.
Hope that helps you.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted