=== Prods2Boxes for WooCommerce ===  
Contributors: warningdang
Tags: woocommerce, boxes, order volume, locker size, shipping
Requires at least: 6.7 
WC requires at least: 9.7  
Tested up to: 6.8 
WC tested up to: 9.8  
Stable tag: 0.20
Requires PHP: 8.0
License: GPLv2 or later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

Suggests the optimal locker size for WooCommerce orders based on total volume. Ideal for pickup points, kiosks, and shipping optimization.  

== Description ==  
**Prods2Boxes for WooCommerce** suggests the nearest available locker based on the order's total volume. Ideal for businesses offering pickup lockers!  

== External services ==
This plugin connects to the Prods2Boxes Backoffice API to process locker assignments and shipping data for WooCommerce orders.

**What data is sent and when:**
- Order details (products, dimensions, quantities) are sent when an order is processed.
- The username, serial and domain for this plugin authentication.
- Website URL and platform identifier for service routing.
- Locker's table for suggesting you the ideal locker. (if applicable).

**Purpose:**
- To calculate the total volume of order.
- To assign lockers for order fulfillment.

**Service Provider:**  
ComputerServ (https://computerserv.gr)  
- [Terms of Service](https://backoffice.computerserv.gr/.api_land/prods2boxes/license/prods_2_boxes_License_En.xhtml)  
- [Privacy Policy](https://www.computerserv.gr/terms-conditions)  

*No sensitive customer data (emails, names, addresses) is transmitted unless required for locker delivery.*

Key features:  
- Automatically calculates order volume (L × W × H).  
- Suggests the best-fitting locker from your predefined list.  
- Admin panel to manage locker dimensions and availability.  

Perfect for:  
- Click-and-collect stores.  
- Self-service pickup points.  

== Installation ==  
1. Go to **Plugins → Add Plugin** and Upload or 
Upload the plugin folder to `/wp-content/plugins/`.  
2. Activate **Prods2Boxes for WooCommerce** in WordPress admin.  
3. Go to **WooCommerce → Prods2Boxes** to configure your lockers.  

== Frequently Asked Questions ==  
= How does the plugin calculate volume? =  
It multiplies the dimensions (L × W × H) of each product in the cart, then sums the total.  

= Can I add custom lockers? =  
Yes! Use the admin panel to add/edit lockers with their max dimensions.  

== Screenshots ==  
1. My logo image 
2. Admin panel for managing lockers.  
3. Orders page with locker suggestions order fits.  
4. Orders page with locker suggestions order does not fits, please change to another shipping method.  


== Changelog ==  
= 0.12 =  
- Initial stable release.  
- Tested with WordPress 6.7 & WooCommerce 9.7.  

== Upgrade Notice ==  
Always back up your site before updating.  