I've hidden the prices for customers who are not logged in to the shop. Still they can use the filter function to make a pretty good "guess" of what the prices are.
Also, the filter seems to be filtering the regular price (Which we set as recommended retail price) and not the actual customer price.
Regarding filtering by the customer's actual price, I'm afraid I really don't have a solution for this. It's something we've been looking at for a long time without much success. WooCommerce uses price lookup tables for the min/max prices, and then the filters get prices directly from these tables with no way for us to modify it. We even looked at competitor plugins but haven't seen any role-based price plugin with the ability to modify these filters' results.
I've hidden the prices for customers who are not logged in to the shop. Still they can use the filter function to make a pretty good "guess" of what the prices are.
Also, the filter seems to be filtering the regular price (Which we set as recommended retail price) and not the actual customer price.
Is there a workaround for this?
Hi Alex,
Since logged out users should not see pricing at all, I think it makes sense to hide all "filter by price" options.
You can do that by adding the following CSS to the site:
Regarding filtering by the customer's actual price, I'm afraid I really don't have a solution for this. It's something we've been looking at for a long time without much success. WooCommerce uses price lookup tables for the min/max prices, and then the filters get prices directly from these tables with no way for us to modify it. We even looked at competitor plugins but haven't seen any role-based price plugin with the ability to modify these filters' results.
Kind regards,
Stefan