Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Find Commerce and service api

$
0
0

Updating a product with meta data, prices and node relations means minimum of 3 calls to the service api since prices and relations are handled in separate calls.
Is there any way to "postpone" the indexing of the product? I want Find to re-index the product, but after prices and relations are updated.

One option is to use custom conventions and a flag that indicates if the item should be re-indexed, but that means an extra call. Something like this:

1. Post entry (with flag false)
2. Post nodeentryrelations
3. Post prices 
4. Post entry (wtih flag true)

Or is there a better way? I'm open for suggestions :)


Viewing all articles
Browse latest Browse all 6894

Trending Articles