Troubleshooting: Prices are not reflected in the storefront and show Price pending
After deploying HCL Commerce Developer with the Solr-based search solution,
storefront URLs may display Price pending instead of actual product
prices.
Solution
- Verify the database configuration.Check the database to ensure that the parameter
wc.search.priceMode.compatiblePriceIndexis set to0in thestoreconftable. If not, run the following SQL command to update it:update storeconf set VALUE='0' where NAME='wc.search.priceMode.compatiblePriceIndex'; - Refresh registries. Refreshing registries is essential. Use any one of the methods listed below:For more information, see Displaying price ranges in the storefront
- Restart the Transaction server, or
- From Admin Console: Go to Configuration > Registry > Update All, or
- From Management Center: Open Management Center and go to System Administration > Registries, then click Update all registries.
- Clear Redis cache.Run the following commands:
docker exec -it <redis container> bash redis-cli FLUSHALL - Restart the Search server in RAD (Rational Application Developer).
Result
The product price is displayed on the storefront.