Troubleshooting Guide
Common issues and solutions for the Pricing System.
Price Not Displaying
Symptoms
- Customer sees catalog price instead of custom price
- "My Prices" shows empty
Solutions
Check customer is logged in
- Customer-specific entries require login
- Group/context-based pricing can still apply for guests
Verify date validity
- Check from_date and to_date
- Ensure current date is within range
Check website scope
- Verify website_id matches current store
- Use 0 for all websites
Review priority settings
- Higher priority may be overriding
- Check price selection strategy
Clear caches
php bin/magento cache:clean pricesystem_cache php bin/magento cache:flush
Wrong Price Calculation
Symptoms
- Price is incorrect
- Wrong tier applied
Solutions
Enable debug logging
- Stores >Config > Pricesystem > Debug > Enable log: Yes
- Check
var/log/pricesystem.log
Check quantity tiers
- Verify cart qty meets tier threshold
- Review tier configuration
Review priority chain
- Check all matching rules
- Verify priority values
Test in incognito
- Rule out browser caching
Import Failures
Symptoms
- CSV import fails
- Validation errors
Solutions
Check CSV format
- UTF-8 encoding
- Correct delimiter (default
,; match your import command/settings if overridden) - All required columns present
Verify data integrity
- Valid product SKUs
- Valid customer emails
- Valid category IDs
Check for duplicates
- Unique constraint violations
- Remove duplicate rows
Review error log
tail -100 var/log/system.log tail -100 var/log/exception.log
Performance Issues
Symptoms
- Slow page loads
- High database load
Solutions
Check cache status
php bin/magento cache:statusOptimize cache lifetime
- Increase cache TTL if prices change infrequently
- Stores >Config > Pricesystem > Price Cache Lifetime
Index optimization
- Ensure database indexes are present
- Run reindex if needed
Review price rules count
- Large numbers of rules impact performance
- Consider consolidating rules
API Errors
401 Unauthorized
- Verify API credentials
- Check token expiration
- Confirm permission model for the endpoint type (integration ACL vs customer token vs anonymous context routes)
404 Not Found
- Verify endpoint URL
- Check API module is installed
- Confirm resource exists
500 Server Error
- Check
var/log/exception.log - Verify request payload format
- Check database connectivity
Common Error Messages
"Price not found for customer"
Customer has no assigned prices:
- Create customer price entries
- Assign customer to pricelist
- Check customer group pricing
"Duplicate entry"
Unique constraint violation:
- Check for existing price with same parameters
- Use UPDATE instead of INSERT
- Review (customer, product, qty, website, dates) combination
"Invalid date format"
Date parsing failed:
- Use YYYY-MM-DD format
- Ensure dates are valid
- Check locale settings
Debug Checklist
When troubleshooting price issues:
- [ ] Correct customer context is used (logged-in customer for customer-specific prices, or guest/NOT_LOGGED_IN context where applicable)
- [ ] Price entry exists in database
- [ ] Date range is valid (or null)
- [ ] Website scope matches
- [ ] Quantity threshold is met
- [ ] Priority doesn't conflict
- [ ] Cache is cleared
- [ ] Debug log is checked
Getting Help
If issues persist:
- Collect debug logs
- Note Magento and extension versions
- Document steps to reproduce
- Contact support at info@softwaresilo.io
