=== Woot === Contributors: wootro Tags: shipping, couriers, delivery, romania, woocommerce, fan courier, sameday, dpd, cargus, gls Requires at least: 4.0 Tested up to: 6.9 Stable tag: 2.2.2 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Unified shipping solution for WooCommerce. Integrates all popular couriers in Romania with real-time pricing and pickup point selection. == Description == Woot PRO is a WooCommerce shipping plugin that integrates all major Romanian couriers into a single, easy-to-manage shipping method. = Key Features = * **Unified Shipping Method** - All couriers and services in one shipping method * **Real-Time Pricing** - Automatic price calculation based on your Woot PRO contract * **Pickup Point Selection** - Interactive map for customers to select lockers and pickup points * **Door & Location Delivery** - Support for both home delivery and pickup point services * **Per-Service Configuration** - Enable/disable services, set custom names and prices * **Free Shipping Threshold** - Set minimum order amount for free shipping * **Payment Method Fees** - Add extra charges for specific payment methods (e.g., COD) * **Romanian City Selector** - Autocomplete city field with Romanian nomenclature = Supported Couriers = * Fan Courier with FANbox lockers * Sameday with Easybox lockers * DPD with lockers * Cargus with lockers * GLS with lockers * And many more... = How It Works = 1. Connect your Woot PRO account in the plugin settings 2. Add "Woot PRO - Services" shipping method to your shipping zones 3. Configure which services to offer and set your prices 4. Your customers will see available shipping options at checkout = Requirements = * WooCommerce 3.0 or higher * PHP 7.0 or higher * A [Woot PRO](https://pro.woot.ro) account (free to create) = Available Languages = * English (default) * Romanian (Română) = Support = If you encounter any issues or have suggestions, please contact us [here](https://woot.ro/tichete-suport). == Installation == How to install: 1. Upload the plugin files to the /wp-content/plugins/woot directory, or install the plugin through the WordPress plugins screen directly. 2. Activate the plugin through the 'Plugins' screen in WordPress. 3. Add a new Shipping Method on **WooCoommerce -> Settings -> Shipping zones**. Enjoy the benefits of using **Woot** for your shipping needs! == Screenshots == 1. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets directory take precedence. For example, `/assets/screenshot-1.png` would win over `/tags/4.3/screenshot-1.png` (or jpg, jpeg, gif). 2. This is the second screen shot == Changelog == = 2.2.2 = * Fix: Resolved "Array to string conversion" warning in API error handling (class-woot-api.php) * Fix: Resolved "Array to string conversion" warning in shipping services debug logging (class-woot-shipping-services.php) = 2.2.1 = * New: Admin order page - add Woot shipping directly from WooCommerce order edit screen * New: City/county dropdown selectors on admin order page with search * New: Price rounding option per shipping service (round to nearest integer) * New: Debug logging for API requests (enable from plugin settings) * New: View Logs shortcut link in settings page = 2.2.0 = * New: WooCommerce Block Checkout support - full compatibility with the new block-based checkout * New: Location picker modal for block checkout with interactive map * New: City dropdown enhancement for block checkout (Romanian city nomenclature) * New: Responsive modal - larger on desktop (1100px), full screen on mobile * Fix: Courier logo now persists on page refresh for selected pickup points * Improvement: Styled location card with courier branding * Improvement: Enhanced close button design with hover effects = 2.1.4 = * Fix: Resolved conflict with WooCommerce payment gateway settings (COD/Plata Ramburs) * Fix: Payment gateway initialization no longer interferes when accessing WooCommerce Payments settings = 2.1.3 = * New: Markup (adaos) fields for shipping services - percentage and/or fixed amount * New: Markup (adaos) fields for payment methods - percentage from order total and/or fixed amount * New: Visual highlight for enabled services in the settings table * New: Help tooltips on table column headers explaining each field * Improvement: Markup fields only visible when price type is "Quotation" * Improvement: Dynamic UI updates when toggling service checkbox or price type = 2.1.2 = * New: Unified shipping method (Woot PRO - Services) combining couriers and locations * New: API keys authentication (public_key/secret_key) instead of email/password * New: Per-service pricing and custom naming * New: Grouped services display (door delivery vs location delivery) * New: Quotation pricing with real-time rates from your Woot PRO account * New: Automatic location picker filtering by courier * New: Deprecation notices for legacy shipping methods * Improvement: Centralized API client (Woot_API class) * Improvement: New settings page with streamlined connection flow * Improvement: Better code organization with shipping/ and checkout/ directories * Backward compatible: Legacy woot_couriers and woot_locations methods still work = 2.1.1 = * Fix: Added geolocation permission to locations map iframe = 2.1.0 = * Improvement: Updated text domain to match plugin slug (woot-ro) * Improvement: Fixed internationalization for WordPress.org translations * Improvement: Updated Romanian translations = 2.0.9 = * New: Payment method fees for locations shipping method * New: Display selected location on order received page * New: Improved location card design with courier logo * New: HPOS (High-Performance Order Storage) compatibility * Improvement: Location persistence using WooCommerce session storage * Improvement: Redesigned delivery point selection button = 2.0.8 = * Fix: Dynamic courier filtering for multiple woot_locations shipping methods * Fix: Location not clearing properly when switching shipping methods * Fix: Added cache busting for locations iframe * Fix: Improved mobile responsiveness for locations modal * Fix: Added API error handling and logging * Fix: Security improvements - sanitized $_REQUEST inputs * Fix: Updated deprecated wc_get_order() usage * Fix: Added null checks to prevent errors * Improvement: Unified text domain to 'woot' * Improvement: Added Romanian translations * Improvement: Code cleanup and removal of dead code = 2.0.7 = * Fix: Prevent null warnings when accessing chosen shipping method in checkout flow = 2.0.6 = * Fix warning when checking for existing shipping method = 2.0.5 = * Improved map * Fixed couriers filters on locations shipping method = 2.0.4 = * Fixed Undefined array key "couriers" in class-woot-woocommerce.php:47 * Fixed Undefined array key "couriers" in class-woot-woocommerce.php:121 * Fixed Undefined array key "couriers" in class-woot-woocommerce.php:166 = 2.0.3 = * Small fixes = 2.0.2 = * Fixed undefined post_data on class-woot-woocommerce.php:342 * Fixed undefined couriers on class-woot-woocommerce.php:47 = 2.0.1 = * Fixed cities & locations urls. = 2.0.0 = * Initial release. == Upgrade Notice == = 2.2.2 = * Fix: Resolved PHP warnings ("Array to string conversion") that could appear during shipping price quotation. = 2.2.1 = * New: Add Woot shipping from admin order page with city/county dropdowns. Price rounding option. Debug logging for API troubleshooting. = 2.2.0 = * New: Full WooCommerce Block Checkout support with location picker modal and city dropdowns. Upgrade to use the modern block-based checkout experience. = 2.1.4 = * Fix: Resolved conflict with WooCommerce payment gateway settings. Users who experienced issues accessing COD (Plata Ramburs) settings should upgrade immediately. = 2.1.3 = * New markup (adaos) fields for services and payment methods. Add percentage and/or fixed amount to shipping prices and payment fees. = 2.1.2 = * New unified shipping method (Woot PRO - Services) with API keys authentication and quotation pricing. Legacy methods deprecated but still functional. = 2.1.1 = * Fix: Added geolocation permission to locations map iframe = 2.1.0 = * Fixed internationalization for WordPress.org translations = 2.0.9 = * New features: Payment method fees, order received location display, HPOS compatibility = 2.0.8 = * Multiple bug fixes, security improvements, and Romanian translations = 2.0.7 = * Fix: Prevent null warnings when accessing chosen shipping method in checkout flow = 2.0.6 = * Fix warning when checking for existing shipping method = 2.0.5 = * Improved map * Fixed couriers filters on locations shipping method = 2.0.4 = * Fixed Undefined array key "couriers" in class-woot-woocommerce.php:47 * Fixed Undefined array key "couriers" in class-woot-woocommerce.php:121 * Fixed Undefined array key "couriers" in class-woot-woocommerce.php:166 = 2.0.3 = * Small fixes = 2.0.2 = * Fixed undefined post_data on class-woot-woocommerce.php:342 * Fixed undefined couriers on class-woot-woocommerce.php:47 = 2.0.1 = * Fixed cities & locations urls. = 2.0.0 = * Initial release.