Hmmm, I'm not entirely sure why it would be null if it has a value. The product snapshot API just reads the same property and reviewing the price property value converter, it doesn't rely on anything that could cause an error so I'm not sure why it should be null 🤔
Examine custom field with Vendr Price is Null
Hello Matt, I'm trying to sort my product list by price, but I have the following problem.
What I'd like to do is:
And I've added a custom field to Examine Index, like this:
And the component is registered like this:
Unfortunately, when I rebuild the index the corso.Price property (which is the Vendr Price) appears to be null.
What could be wrong?
Thanks in advance, Alessandro
Uhm... i managed to get by somehow but not very clear why...
At first, I tried to replace this
With this
but still got the same error, then I tried to unfold the method
And this appears to be working. So possibly there is something between the store GUID and the locale which is not set when rebuilding index?
Hmmm, I'm not entirely sure why it would be null if it has a value. The product snapshot API just reads the same property and reviewing the price property value converter, it doesn't rely on anything that could cause an error so I'm not sure why it should be null 🤔
Hi Mat, actually this
was working. I thought I had the same error but actually it was from an item without a price set.
This
instead seemed to fail also with items with a price set, but I'm not so sure anymore... so please ignore this ticket.
Thanks
is working on a reply...