Display prices of a particular variation in filter
5 months, 1 week ago #30725
Here is the procedure:
1) Select type “Float” for “_price” on screen 2.2
2) In your code use “_price_f” (“_f” for float):
$document_for_update['_price_f'] = 2000;
3) Save your product to reindex its price (or all your products if you want to see a single facet value (2000)5 months, 1 week ago #30742
If the index’s “_price_f” value is not updated, while your code is called (check with the print_r), try to replace the event
WPSOLR_Events::WPSOLR_FILTER_SOLARIUM_DOCUMENT_FOR_UPDATEin your code.
You must be logged in to reply to this topic.