=== Increment Buttons for Woo ===
Contributors: mdesignerco
Tags: woocommerce, quantity, buttons, increment, lightweight
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add clean, fast, and lightweight increment/decrement buttons to WooCommerce quantity fields. Perfect for developers!

== Description ==

**Perfect for developers!** A clean, fast, and lightweight WordPress plugin that adds professional increment/decrement buttons to WooCommerce quantity fields. 100% free, zero bloat, and built with modern standards.

= Why Choose This Plugin? =

**🚀 Developer-Friendly**
* Clean, minimal code - No unnecessary bloat or dependencies
* Modern PHP standards - Built with current best practices
* Easy to customize - Simple CSS classes for complete control
* Well-documented - Comprehensive guides and examples

**⚡ Fast & Lightweight**
* Minimal footprint - Only essential code included
* Optimized performance - Fast loading and smooth interactions
* No external dependencies - Everything you need is included
* Efficient CSS/JS - Minified and optimized assets

**🎨 Clean & Professional**
* Modern design - Clean, minimalist appearance
* Responsive layout - Works perfectly on all devices
* Accessibility friendly - Proper focus states and keyboard navigation
* Theme compatible - Works with any properly coded theme

**🔧 Easy Customization**
* Simple CSS classes - Easy to override and customize
* No predefined styles - Start with a clean base
* Flexible configuration - Choose exactly what you need
* Developer tools - Built-in debug mode for troubleshooting

= Key Features =

* **Clean, Modern Design** - Minimalist base style that's easy to customize
* **Flexible Display Options** - Choose where to show the buttons (product pages, shop, categories)
* **Customizable Label** - Show/hide quantity label with custom text
* **Dual Input Methods** - Use +/- buttons or type directly in the quantity field
* **Hidden Spinner Arrows** - Clean input appearance without browser spinner buttons
* **Responsive Design** - Touch-friendly buttons for mobile devices
* **Easy CSS Customization** - Simple CSS classes for complete style control
* **WooCommerce HPOS Compatible** - Works with High-Performance Order Storage
* **AJAX Support** - Smooth quantity updates without page reload
* **Accessibility Friendly** - Proper focus states and keyboard navigation
* **Multilingual Support** - Fully translated in English and Spanish
* **Translation Ready** - Easy to add more languages
* **Debug Mode** - Built-in debugging tools for developers

= Perfect For Developers =

* **Zero Bloat** - Only essential functionality, no unnecessary features
* **Clean Code** - Modern PHP standards and best practices
* **Easy to Extend** - Well-structured codebase for customization
* **Performance Optimized** - Fast loading and efficient operation
* **Theme Independent** - Works with any properly coded theme
* **CSS Ready** - Simple classes for easy styling customization

= Debug Mode =

The plugin includes a built-in debug mode for developers:

**Enabling Debug Mode**
1. Go to Settings > Increment Buttons for Woo
2. Check the "Enable Debug Mode" option
3. Save settings

**Debug Features**
* Real-time debugging on product pages (admin only)
* Plugin status verification
* Settings validation
* Template override testing
* Asset loading verification
* Element detection in HTML

**Debug Panel**
When enabled, administrators will see a debug panel on product pages showing:
* Plugin activation status
* WooCommerce compatibility
* Current settings
* Template override status
* Asset file existence
* HTML element detection
* JavaScript functionality

This is perfect for troubleshooting and development work.

== Installation == 

== Changelog ==

= 1.0.9 =
* Added Cart and Checkout pages to display locations.
* Increased CSS specificity to avoid theme conflicts.
* Changed increment/decrement buttons from `<button>` to `<div>` elements for improved flexibility.
* Added `role="button"` and `tabindex="0"` to new `div` elements for enhanced accessibility.
* Updated JavaScript to handle keyboard events (Enter/Space) for `div` buttons.

= 1.0.8 =
* Added "Requires Plugins: woocommerce" header for WordPress 6.5+ dependency management.
* Removed all `deactivate_plugins()` calls from runtime to comply with WordPress.org guidelines.
* Kept WooCommerce check in activation hook as a fallback for older WordPress versions.
* Updated `INCRBUFO_PLUGIN_VERSION` constant and plugin header version to 1.0.8.
* Aligned `@version` in file headers.
* Minor code cleanup and comment updates.

= 1.0.7 =
* Fixed final nonce sanitization issue in template files
* Added proper unslash and sanitization for $_POST['_wpnonce']
* Complete WordPress.org security compliance achieved
* All Plugin Check errors resolved

= 1.0.6 =
* Fixed final security issues in Plugin Check
* Added proper nonce verification in template files
* Fixed input sanitization order (unslash before sanitize)
* Fixed all remaining unescaped output issues
* Complete WordPress.org security compliance achieved

= 1.0.5 =
* Fixed remaining security issues in Plugin Check
* Added proper nonce verification and input sanitization
* Fixed all unescaped output issues
* Reduced tags to exactly 5 (WordPress.org requirement)
* Shortened description to under 150 characters
* Complete WordPress.org compliance achieved

= 1.0.4 =
* Fixed all security and code quality issues detected by Plugin Check
* Added proper escaping for all output (esc_html, esc_attr, wp_kses_post)
* Fixed text domain mismatch in template files
* Reduced tags to comply with WordPress.org guidelines (max 5)
* Shortened description to meet character limit
* Improved code security and WordPress standards compliance

= 1.0.3 =
* Completely removed load_plugin_textdomain() for WordPress.org compatibility
* WordPress.org automatically handles translations
* Clean code without deprecated function calls

= 1.0.2 =
* Fixed load_plugin_textdomain() WordPress.org compatibility
* Improved translation loading logic for external installations
* Enhanced code comments for better understanding

= 1.0.1 =
* Fixed WordPress.org compatibility issues
* Removed deprecated Network header
* Updated load_plugin_textdomain() for WordPress.org auto-loading
* Updated "Tested up to" to WordPress 6.8
* Removed development debug files
* Improved code quality for production release

= 1.0 =
* Initial release
* Clean, developer-friendly increment buttons for WooCommerce
* Granular location control (product, shop, category pages)
* Customizable label text and display options
* HPOS (High-Performance Order Storage) compatibility
* Touch-friendly buttons with smooth animations
* AJAX-powered quantity updates
* Responsive design with CSS customization
* Internationalization support (English/Spanish)
* Debug mode for developers
* Comprehensive documentation 