|
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|
|
|
|
|
|
|
**QDR - Studiou WC Export/Import Product Categories** is a WordPress plugin that extends WooCommerce to provide batch export/import functionality for both product categories and products, along with category manipulation tools.
|
|
**QDR - Studiou WC Export/Import Product Categories** is a WordPress plugin that extends WooCommerce to provide batch export/import functionality for both product categories and products, along with category manipulation tools.
|
|
|
|
|
|
|
|
-**Current Version:** 1.5.0
|
|
|
|
|
|
|
+**Current Version:** 1.5.1
|
|
|
|
|
|
|
|
## Requirements
|
|
## Requirements
|
|
|
|
|
|
|
@@ -54,7 +54,8 @@ The plugin follows a modular class-based architecture:
|
|
|
- Clear Media Categories (permanently deletes media files from media categories) (NEW in v1.5)
|
|
- Clear Media Categories (permanently deletes media files from media categories) (NEW in v1.5)
|
|
|
- Uses direct database queries for reliable product detection
|
|
- Uses direct database queries for reliable product detection
|
|
|
- Batch processing for delete operations (10 products per batch)
|
|
- Batch processing for delete operations (10 products per batch)
|
|
|
- - Auto-detects media category taxonomy (media_category, attachment_category, media-category)
|
|
|
|
|
|
|
+ - Auto-detects media category taxonomy (any custom taxonomy registered for attachments)
|
|
|
|
|
+ - Always-on error logging for media operations (prefix: "STUDIOU WC MEDIA:")
|
|
|
|
|
|
|
|
- **class-studiou-wc-product-manage-product-db.php** - Product database operations (NEW in v1.4)
|
|
- **class-studiou-wc-product-manage-product-db.php** - Product database operations (NEW in v1.4)
|
|
|
- Retrieves product categories with hierarchy
|
|
- Retrieves product categories with hierarchy
|
|
@@ -113,9 +114,11 @@ The plugin follows a modular class-based architecture:
|
|
|
- Warning message styling (yellow background for destructive operations)
|
|
- Warning message styling (yellow background for destructive operations)
|
|
|
- Danger button styling (red for delete operations)
|
|
- Danger button styling (red for delete operations)
|
|
|
- **assets/js/admin.js** - Admin JavaScript including:
|
|
- **assets/js/admin.js** - Admin JavaScript including:
|
|
|
|
|
+ - `safeInit()` wrapper - each form init is isolated in try-catch so one error cannot block others
|
|
|
- AJAX handlers for all category operations
|
|
- AJAX handlers for all category operations
|
|
|
- AJAX handlers for product import/export operations (NEW in v1.4)
|
|
- AJAX handlers for product import/export operations (NEW in v1.4)
|
|
|
- - Batch processing logic for delete operations
|
|
|
|
|
|
|
+ - AJAX handlers for clear media categories operations (NEW in v1.5)
|
|
|
|
|
+ - Batch processing logic for delete and media deletion operations
|
|
|
- Real-time progress bar updates
|
|
- Real-time progress bar updates
|
|
|
- Confirmation dialogs for destructive operations
|
|
- Confirmation dialogs for destructive operations
|
|
|
- Failed products CSV download handler
|
|
- Failed products CSV download handler
|