What’s Going Wrong?
Sometimes, even after removing or updating dealer pricing in your WooCommerce backend, the old values continue to show up for logged-in users. The issue often appears in:
- The “Your Price” or dealer-specific price field.
- The “From–To” pricing range on variable products.
- Front-end views for distributor or wholesale user roles.
If your backend is clean but outdated prices still display, it’s usually a sign that your pricing data hasn’t recalculated properly.
How to Fix the Problem
1. Review Distributor Pricing Logic
Start by checking any custom functions that set dealer or distributor prices—especially for variable products. These functions need to correctly reset or update pricing on save.
2. Trigger a Product Save
WooCommerce doesn’t always recalculate pricing automatically. After fixing the logic, you’ll likely need to manually re-save affected products—or better yet, run a bulk script to do it at scale.
3. Revisit Variable Products
With variable products, the pricing often won’t update unless you open the Variations tab and manually save changes. This is a WooCommerce limitation and needs to be handled one by one.
4. Clear All Caches
Outdated cache (from CDNs, caching plugins, or browser sessions) can serve incorrect prices even after fixes. Always clear all layers of cache after updates.
After You Fix It
Once your functions are working, products are re-saved, and cache is cleared:
- Dealer pricing updates will reflect instantly for logged-in distributors.
- Price ranges on variable products will show the correct range.
- Your product catalog will remain consistent across user roles.
Pro Tips
Once your functions are working, products are re-saved, and cache is cleared:
- Variation Pricing Requires Manual Handling: WooCommerce doesn’t always let you fully automate price recalculation for product variations.
- Custom Code Errors Hide in Logs: Check your PHP logs for silent function failures that can break price updates.
- Bulk Update with Caution: Use custom scripts carefully—test on staging first.
- Clear All Cache Layers: Don’t forget about object cache, CDN cache, and plugin cache.
Need help managing custom pricing, user role conditions, or WooCommerce display logic?
Talk to Integriti Studio — we troubleshoot complex WooCommerce problems every day
Let’s fix it