=== Etech Shipping Manager ===
Contributors: etechplugins
Tags: woocommerce, shipping, shipping zones, shipping rates, weight based shipping
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.1.0

Professional, multi-tier shipping zone and weight-based rate manager for WooCommerce stores.

== Description ==

**Etech Shipping Manager** gives you granular control over your WooCommerce shipping architecture. Define custom shipping zones, map precise country/province/city locations, and configure tiered weight-based or flat rates with standard and express delivery options.

Whether you run a regional delivery business or an international e-commerce store, Etech Shipping Manager eliminates rigid default shipping limitations.

### Key Features

* **Custom Shipping Zones:** Group geographic locations into flexible shipping regions.
* **Hierarchical Location Mapping:** Map shipping rules down to country, state/province, and city levels.
* **Weight-Based Rate Tiers:** Set minimum and maximum weight thresholds for accurate shipping fee calculations.
* **Express & Standard Delivery:** Toggle express delivery support with custom rates per zone.
* **Seamless WooCommerce Integration:** Automatically overrides checkout rates based on customer destination and cart weight.
* **Data Management Tools:** Export, import, backup, and restore dataset configurations and zones with ease.

== Installation ==

1. Upload the `etech-shipping-manager` folder to your `/wp-content/plugins/` directory, or install the `.zip` package directly via **Plugins > Add New > Upload Plugin**.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Ensure **WooCommerce** is installed and activated.
4. Go to **woocommerce ====>> setting =====>> shipping ====>> Add Zone ====>> Give your zone a name! E.g. Local, or Worldwide.
5. Navigate to **Shipping Manager** under "WooCommerce" in your admin sidebar to begin setup.

== How to Use ==

### 1. Create a Shipping Zone
1. Go to **Etech Shipping Manager > Shipping Zones**.
2. Click **Add New**.
3. Enter a **Zone Name** (e.g., *Sindh Metro*, *West Coast*), a unique **Zone Code** (e.g., *SD-METRO*), and toggle **Express Delivery** if desired.
4. Click **Save Zone**.

### 2. Assign Locations to a Zone
1. On the **Shipping Zones** list, click **Manage Locations** next to your zone.
2. Select the target **Country**, **Province/State**, and specific **Cities**.
3. Click **Add Location** to link them to the active zone.

### 3. Configure Shipping Rates
1. Go to **Etech Shipping Manager > Rates**.
2. Click **Add New Rate**.
3. Select your target **Shipping Zone**.
4. Define the **Min Weight (kg)** and **Max Weight (kg)** in Pro version only, bounds for the tier. e.g(min.wt=0 and max.wt=1)
5. Set the **Standard Cost** and optional **Express Cost**.
6. Save the rate.

### 4. Checkout & Cart Verification
When a customer adds products to their cart and enters their shipping address:
* The plugin evaluates the destination city/state/country against your active zones.
* It calculates total cart weight and matches the corresponding rate tier.
* The matching standard and express shipping methods appear automatically at checkout.

### 5. Managing Backups & Datasets
* Navigate to **Etech Shipping Manager > Tools** to export/import dataset files or download full SQL database backups.

== Frequently Asked Questions ==

= Does this require WooCommerce to work? =
Yes. Etech Shipping Manager is an add-on built specifically to manage and calculate shipping methods within WooCommerce.

= What happens if a cart's weight falls outside defined rate ranges? =
If cart weight does not match any configured threshold range for a zone, fallback rates or default WooCommerce methods will apply. Ensure your rate tiers cover all expected weights (e.g., 0kg to 999kg).

= Can I import full country datasets? =
Yes. Pre-configured country datasets can be imported via the **Tools** tab.

== Screenshots ==

1. **Shipping Zones** - Manage all active delivery zones and location counts.
2. **Rate Management** - Configure weight-based shipping tiers and express rates.
3. **Tools & Database** - Backup, restore, and dataset import management.

== Changelog ==

= 1.1.0 =
* Added cascading zone deletion for connected locations and rates.
* Enhanced bulk operations and safety confirmation prompts.
* Improved dataset importer performance.
* Cleaned up list table layouts and navigation flows.

= 1.0.0 =
* Initial release.