=== Bangladesh Delivery Charge Calculator ===
Contributors: 15iezazul
Tags: woocommerce, shipping, delivery, bangladesh, checkout
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically calculates and enforces shipping charges based on Bangladesh districts and areas, with a seamlessly integrated District and Area dropdown for both Classic and Block-based WooCommerce checkout.

== Description ==

Automatically calculate WooCommerce shipping charges based on Bangladesh districts and areas with dynamic checkout rules.

Features include:

* **Dynamic Location Selection:** Automatically loads Bangladesh districts and areas, creating a smooth and intuitive checkout experience.
* **Custom Shipping Mapping:** Map specific shipping methods (such as “Inside Dhaka” or “Outside Dhaka”) to districts and areas dynamically.
* **Block Checkout Compatibility:** Fully compatible with both classic shortcode checkout pages and modern WooCommerce Block Checkout.
* **Lightweight & Fast:** Built using native WordPress AJAX and optimized for performance.

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/bangladesh-delivery-charge-calculator` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to WooCommerce > Shipping Rules to configure your location-based shipping logic.
4. Navigate to WooCommerce > District Areas to customize the dropdown districts and areas.
5. Configure shipping prices from WooCommerce > Settings > Shipping.

This plugin extends WooCommerce core shipping functionality by introducing dynamic district and area-based shipping rules.

Video walkthrough:
https://www.youtube.com/watch?v=u5hIGCCoPPg

== Frequently Asked Questions ==

= Does this work with WooCommerce Block Checkout? =

Yes. The plugin integrates with both classic checkout and the new WooCommerce Block Checkout system.

= Can I set default shipping methods for Inside and Outside Dhaka? =

Yes. Go to WooCommerce > Shipping Rules to configure default shipping methods. This is required for the plugin to function correctly.

== Screenshots ==

1. Shipping configuration in WooCommerce settings.
2. Setting up location-based shipping rules.
3. Customizing district and area dropdown options.
4. Checkout page with automatic shipping method selection for Dhaka areas.
5. Automatic shipping calculation for other districts.
6. Final order summary with applied shipping rules.

== Changelog ==

= 1.0.0 =
* Initial release of Bangladesh Delivery Charge Calculator.