=== BWW Currency Switcher for WooCommerce ===
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
WC requires at least: 7.0
License: GPLv2 or later

Multi-currency for WooCommerce, Aelia-style: geolocation, automatic exchange
rates, per-currency markup/rounding/decimals, per-product manual prices, and
orders saved in the customer's selected currency.

== Installation ==

1. Upload the bww-currency-switcher folder to /wp-content/plugins/ (or upload
   the zip via Plugins → Add New → Upload).
2. Activate. A "Currency Switcher" page appears under the WooCommerce menu.
3. Add the currencies you want to sell in, save, then click "Refresh Rates Now"
   (or wait — rates auto-update twice daily via WP-Cron).
4. Place the switcher anywhere:
   - Shortcode: [bww_currency_switcher style="dropdown"] or style="links"
   - Widget: "BWW Currency Switcher"
   - URL: any page with ?currency=EUR

== How pricing works ==

Priority per product, per currency:
1. Manual price set on the product (Product data → Currency Prices tab, or
   per-variation fields) — used as-is.
2. Otherwise: base price × exchange rate × (1 + markup%) → rounding step →
   optional .99 charm pricing.

Orders are recorded in the currency the customer checked out in, with the
converted totals — exactly as WooCommerce natively stores them.

== Notes ==

- Enable MaxMind geolocation (WooCommerce → Settings → Integration) for
  accurate country detection if you turn on auto currency selection.
- "Lock rate" per currency stops the auto-updater from overwriting a rate you
  set manually.
- Percentage coupons work across all currencies automatically; fixed-amount
  coupons are converted from the base currency.
- If you use full-page caching, exclude pages from cache per currency cookie
  (bww_selected_currency) or cache-vary on that cookie.
