PriceFetchWP includes a built-in logging system to help you diagnose issues when prices are not being fetched or displayed correctly.
Logs provide detailed information about what the plugin is doing behind the scenes. This give you great insight to what’s going on behind the scenes. Logs can be switched on and off easily, and refreshed in real-time. We recommend leaving logs off unless you are troubleshooting or testing.
– What Logs Show
Logs include helpful information such as:
- successful price fetch attempts
- failed requests
- selector errors
- proxy usage
- debugging messages
This information can help you quickly identify where a problem is occurring.
– Common Issues & How to Diagnose
❌ No Price Fetched
Possible causes:
- Incorrect URL selector, element not found in HTML
- External product/page no longer exists
- External page has no price listed
- External website changed HTML structure
- External site blocking request
– What to check:
- Verify URL selector accuracy
- Verify external product/page still exists
- Verify external site has not changed HTML structure
- Verify external site isn’t blocking request
❌ Incorrect Price Returned
Possible causes:
- Selector is targeting wrong element
- Multiple elements match selector, causing a different price to be fetched
– What to check:
- Refine selector, ensuring proper price lock
- Ensure selector isn’t locking on to multiple prices on external page
❌ Inconsistent Results
Possible causes:
- External site uses multiple layouts on different pages
- Multiple elements match selector, causing a different price to be fetched
– What to check:
- Check external site pages and add Secondary Checks (fallback selectors) if needed
- Ensure selector isn’t locking on to multiple prices on external page
– Log Levels
PriceFetchWP logs include different levels of messages, such as:
- INFO — normal operations
- ERROR — issues that prevent price fetching
- WARNING
You can filter these levels to quickly identify the severity of an issue.
– Best Practices
• Try URL test entry
Use the URL test entry tool to run a test.
• Check logs first
Before changing settings, review logs to identify the issue.
• Test one change at a time
Avoid making too many changes at once. Test slowly.
Next Steps ───
Now that you understand debugging:
- Review Selectors & Price Detection
- Check Proxy Integration for protected sites