Resolved category reset issue in Datafeedr’s WooCommerce API integration by creating a custom hook and metadata recovery process to preserve manually defined product taxonomies.


Custom WordPress hook and metadata solution
Preserved manual product categories during API updates
Zero product data loss during synchronization
Seamless integration with Datafeedr’s native update process
Code-safe and upgrade-compatible solution
Datafeedr is a WordPress plugin that enables store owners to build affiliate or product-feed stores that automatically update from multiple merchant networks.
While powerful, its update mechanism overwrote manually defined WooCommerce product categories each time it refreshed the feed — a critical problem for FashionandBusiness.nl, who curated categories post-import for better organization and SEO.
The goal was to retain manual taxonomy assignments through Datafeedr’s automated sync process, without altering the plugin’s core structure or future update compatibility.
Each API sync re-imported selected products from Datafeedr’s product sets, automatically resetting taxonomy term IDs (product categories) back to defaults.
Since the client manually assigned categories after import, every update cycle undid hours of work.
The challenge was to preserve these manually set taxonomies while allowing the Datafeedr API to continue updating product content and pricing.
By inspecting Datafeedr’s source and update logic, I located the hook responsible for triggering product updates, which also cleared existing taxonomy relationships.
Before each update:
During the update cycle:
After applying the solution:
“Anton resolved a long-standing Datafeedr issue that most developers overlooked. Our manual product categories now persist perfectly after every update.”
— Chris, FashionandBusiness.nl
This project illustrates Anton’s early focus on plugin extensibility and non-invasive architecture, solving real-world business problems by adapting to existing ecosystems rather than overriding them — a principle that defines Villiers Vision Works’ current engineering approach to modular, API-first development.
Let's discuss how we can transform your ideas into powerful software solutions.