=== StoreHelper Kit – Toolkit === Contributors: ksanyok Donate link: https://buyreadysite.com/ Tags: woocommerce, logo, brand-management, seo, automation Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 2.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Comprehensive WooCommerce toolkit for category, price, and brand logo management, optimizing store workflows. == Description == StoreHelper Kit is a powerful all-in-one toolkit for WooCommerce store owners. It provides a set of modular tools that help you automate routine tasks, optimize product listings, and improve store management — all from a user-friendly admin interface. With StoreHelper Kit, you can: - Automatically generate hierarchical menus from product categories - Create dynamic filters based on product attributes - Update prices in bulk using flexible rules and filters - Find and assign brand logos automatically using SeekLogo and Clearbit APIs - Manage stock levels and perform cleanups - Delete categories by hierarchy level - Monitor attribute usage and detect unused or missing values Each tool can be configured individually and extended through addons. StoreHelper Kit works with most modern WooCommerce-compatible themes, with the highest level of integration tested on the **Woodmart** theme. Some features, like brand logo previews and attribute images, are tailored specifically for Woodmart’s structure and widget system, ensuring maximum visual fidelity. The plugin is optimized for performance and security: - Fully AJAX-powered interface with nonce and permission checks - Sanitization and escaping of all inputs and outputs - Minimal database footprint with efficient queries - Supports PHP 7.4 – 8.2+ and WordPress 5.0 – 6.8+ Whether you're managing a small catalog or a multi-category marketplace, StoreHelper Kit helps reduce time spent on manual admin tasks, making your WooCommerce workflow faster and more efficient. == Installation == 1. Upload the `storehelper-kit` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Access StoreHelper Kit via the **WooCommerce > StoreHelper Kit** admin menu. 4. Configure each tool on its own tab as needed. == Frequently Asked Questions == = What PHP version is required? = StoreHelper Kit requires PHP 7.4 or higher. = Which WordPress version is supported? = The plugin has been tested up to WordPress 6.8. == External Services == This plugin integrates with the following third-party services. All requests occur only when you initiate logo retrieval or image updates: 1. **SeekLogo API** - **Purpose**: Automated logo search and retrieval. - **Data sent**: Brand name or taxonomy term. - **When**: On-demand, when fetching or auto-updating brand images. - **Terms of Service**: https://seeklogo.com/terms-of-service - **Privacy Policy**: https://seeklogo.com/privacy-policy 2. **Clearbit Logo API** (optional) - **Purpose**: Fallback logo lookup using Clearbit’s Logo service. - **Data sent**: Brand domain or name. - **When**: Only if SeekLogo returns no results and the option is enabled in settings. - **Terms of Service**: https://clearbit.com/legal/terms - **Privacy Policy**: https://clearbit.com/legal/privacy 3. **WordPress.org Plugin API** - **Purpose**: Retrieve plugin icons and metadata if linked to a WordPress.org project. - **Data sent**: Plugin slug. - **When**: When displaying plugin-related images in the admin interface. - **Terms & Privacy**: https://developer.wordpress.org/plugins/wordpress-org/plugin-assets-api/ == Screenshots == 1. Plugin main dashboard overview. 2. Category management tool. 3. Price update interface. 4. Brand image updater. == Changelog == = 2.3 = * Enforced mandatory nonce validation for dashboard tool selection to prevent CSRF. * Added 'nonceDashboard' field to the localized script in storehelper_kit_admin_assets() for secure AJAX requests. * Removed legacy nonce check block and ensured early termination on missing or invalid nonce in storehelper_kit_admin_dashboard(). = 2.2 = * Added deep sanitization of the `attributes` array in the attribute statistics tool using `sanitize_text_field( wp_unslash( ... ) )`. * Corrected use of the `$attribute_limit` variable for limiting displayed attributes instead of insecure direct reading from `$_POST`. * Added a nonce check (`storehelper_kit_dashboard_nonce`) in `storehelper_kit_admin_dashboard()` to prevent CSRF. = 2.1 = * Replaced external placeholder URL with local `logo-placeholder.jpg`. * Documented SeekLogo and Clearbit services with separate Terms of Service and Privacy Policy links. * Added ABSPATH guard to prevent direct file access in plugin PHP files. * Implemented nonce and `current_user_can()` checks for all AJAX handlers and form submissions. * Sanitized, validated, and escaped all incoming and outgoing data. * Replaced unsafe SQL calls with `get_posts()` (WP_Query) for secure database interactions. * Renamed generic option names to unique prefixes (e.g., `storehelperkit_widget_...`). = 2.0 = * Major overhaul: refactored all tools for better performance and security. * Added support for PHP 8.1+ and modern WordPress APIs. * Improved i18n compliance and sanitized all inputs/outputs. * Updated readme, documentation, and screenshots. = 1.9 = * Fixed price update batching bug. * Added nonce verification to all AJAX actions. * Enhanced filters in attribute statistics tool. = 1.8 = * Initial public release. == Upgrade Notice == = 2.0 = This is a major update. Please backup your database before upgrading. All settings are preserved.