Files
wc-composable-product/includes
magdev efedd1bf29 Add debug logging to product retrieval for troubleshooting
Added error_log statements to help diagnose why products aren't showing:
- Log selection criteria being used
- Log WP_Query arguments
- Log number of posts found by query
- Log each product being added (variable variations and simple)
- Log total products available at end

To enable: Set WP_DEBUG to true in wp-config.php
Then check debug.log or error.log for output

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01 02:05:00 +01:00
..