=== Wefixit Category Organizer for WooCommerce ===
Contributors: sdevroey
Tags: woocommerce, categories, category manager, drag and drop, bulk edit
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 4.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Professional management of WooCommerce product categories with drag & drop, bulk actions and export functionality.

== Description ==

Wefixit Category Organizer for WooCommerce is a solution for managing large product catalogues. Designed for webshops with hundreds to thousands of categories.

= Features =

* **Drag & Drop Interface** - Change category order and hierarchy by simply dragging
* **Tree and Table View** - Visual hierarchy or compact list
* **Real-time Updates** - All changes without page refresh
* **Bulk Actions** - Delete or move multiple categories at once
* **Excel & CSV Export** - Native export functionality
* **Advanced Sorting** - Sort by name, ID, product count, date
* **Search** - Real-time search as you type
* **Performance** - Caching for large catalogues

= Who Needs This? =

* Webshops with 100+ product categories
* WooCommerce wholesalers
* Multi-vendor marketplaces
* E-commerce managers


== Installation ==

1. Upload the plugin files to `/wp-content/plugins/wefixit-category-organizer-for-woocommerce/`
2. Activate the plugin via the 'Plugins' menu in WordPress
3. Go to Products → Category Organizer
4. Start managing your categories!

= Minimum Requirements =

* WordPress 5.8 or higher
* WooCommerce 5.0 or higher
* PHP 7.4 or higher

== Frequently Asked Questions ==

= Does this work with large catalogues? =

Yes! The plugin is optimised for webshops with thousands of categories. Product counts are cached for optimal performance.

= Can I export categories? =

Yes, the plugin has native Excel (.xlsx) and CSV export functionality. You can export all categories or only selected categories.

= Does the plugin support drag & drop? =

Yes, in the Tree view you can drag categories to change their order or to place them as subcategories.

= Is the plugin translated? =

The plugin uses the standard WordPress translation system. You can contribute translations via translate.wordpress.org once the plugin is published.

== Screenshots ==

1. Tree view with drag & drop functionality
2. Table view with sortable columns
3. Bulk actions for multiple categories
4. Excel and CSV export options
5. Search and filter

== Changelog ==

= 4.0.5 =
* Changed: Plugin renamed to Wefixit Category Organizer for WooCommerce for distinctiveness
* Changed: Text domain updated to wefixit-category-organizer-for-woocommerce
* Changed: All user-facing strings translated to English
* Added: Requires Plugins header for WooCommerce dependency
* Fixed: Plugin URI updated

= 4.0.0 =
* MAJOR: Complete WordPress.org compliance rewrite
* Fixed: All 136+ Plugin Check issues resolved
* Fixed: Text domain unified
* Fixed: All escaping functions properly used (esc_html_e, etc.)
* Fixed: All POST/GET data properly sanitized with wp_unslash()
* Fixed: Direct file access protection added to all templates
* Changed: All variable names updated (WCACM -> UCMFW)
* Improved: Translator comments added for all placeholder strings
* Improved: gmdate() used instead of date()
* Improved: wp_strip_all_tags() used instead of strip_tags()
* Removed: All error_log() debug calls
* Tested: WordPress 6.9 compatible
= 3.2.6 =
* Improved: Modal is now a true centered popup (no more scrolling)
* Added: ESC key closes modal
* Added: Click outside modal closes modal
* Added: Auto-focus on name field
* Fixed: Cancel button fully visible

= 3.2.5 =
* Fixed: Creating subcategories via drag & drop improved
* Added: Visual feedback for drop zones
* Improved: Empty children containers for better UX

= 3.2.4 =
* Added: Sort dropdown in tree view
* Added: 7 sort options (name, ID, products, date)
* Improved: Recursive sorting of subcategories

= 3.2.3 =
* Improved: Drag & drop feedback for subcategories
* Added: Helper text in drop zones
* Fixed: Better visual indicators

= 3.2.2 =
* Changed: Menu moved to Products submenu
* Improved: Menu structure

= 3.2.1 =
* Changed: Plugin renamed to "Category Organizer"
* Fixed: Perfect icon centering in all buttons
* Improved: Button styling with flexbox

= 3.2.0 =
* Added: Date column in table view
* Improved: Extended sort functionality
* Fixed: Export nonce verification

= 3.1.0 =
* Initial release
* Drag & drop category management
* Tree and table views
* Bulk actions
* Excel and CSV export
* Search functionality

== Upgrade Notice ==

= 4.0.5 =
Plugin renamed to Wefixit Category Organizer for WooCommerce. Please update the plugin directory and main file name accordingly.

= 3.2.6 =
Modal now works as a true popup - no more scrolling needed! ESC key and click-outside functionality added.

= 3.2.5 =
Improved drag & drop for creating subcategories. Update strongly recommended!

== Additional Info ==

For support and feature requests, visit [Wefixit](https://www.wefixit.be)
