=== Dramify – AMD to Dram for WooCommerce ===
Contributors: Virabyan
Tags: woocommerce, currency, amd, dram, armenia
Author: Artur Virabyan
Author URI: https://t.me/artvirabyan
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.donationalerts.com/r/mrvirabyan

Changes AMD currency label to "դրամ", "դր.", "֏", or any custom label in WooCommerce with multilingual support and formatting options.

== Description ==

Dramify replaces the "AMD" currency label in WooCommerce with "դրամ", "դր.", "֏", or any custom text you define. Built specifically for Armenian online stores using WooCommerce.

**Key Features in 1.1.0:**
* **Quick Presets & Custom Label:** Easily switch between `դրամ`, `դր.`, `֏`, `AMD`, or any custom text in one click.
* **Automatic Space Formatting:** Ensures a clean non-breaking space between the price amount and the currency symbol (e.g., `15,000 դրամ` instead of `15,000դրամ`).
* **Zero Decimals Option:** Hide `.00` decimals for Armenian Dram prices with a single checkbox.
* **Multilingual Currency Labels:** Automatically display `դրամ` on Armenian (`hy`), `драм` on Russian (`ru`), and `AMD` on English (`en`) pages (works with WPML, Polylang, TranslatePress, and native WordPress locales).
* **Live Price Preview:** Real-time preview of your storefront price format directly in the admin settings.
* **WooCommerce HPOS & Blocks Ready:** Fully compatible with WooCommerce High-Performance Order Storage (HPOS) and Cart/Checkout Blocks.
* **Developer-Friendly Hooks:** Includes `dramify_filter_currency_name` and `dramify_filter_currency_symbol` filters.

== Installation ==

1. Upload the plugin to the `/wp-content/plugins/dramify` directory, or install it directly through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Click **Settings** on the plugin row or go to **Settings > Dramify** to configure your currency display.

== Frequently Asked Questions ==

= Can I set any custom label instead of "դրամ"? =
Yes, you can pick one of the built-in presets (`դրամ`, `դր.`, `֏`, `AMD`) or type any custom text on the settings page.

= Does it support multilingual stores (Armenian, Russian, English)? =
Yes! Enable the **Multilingual Labels** option in **Settings > Dramify** to specify separate currency labels for Armenian (`hy`), Russian (`ru`), and English (`en`).

= How do I remove `.00` decimals from AMD prices? =
Enable the **Hide decimals (.00) for AMD prices** checkbox in **Settings > Dramify**.

= Is Dramify compatible with WooCommerce HPOS? =
Yes, Dramify declares full compatibility with WooCommerce High-Performance Order Storage (HPOS) and Cart/Checkout Blocks.

== Screenshots ==

1. Admin settings page with quick presets, live price preview, formatting controls, and multilingual options.

== Changelog ==

= 1.1.0 =
* New: One-click presets (`դրամ`, `դր.`, `֏`, `AMD`) on the settings page.
* New: Live Price Preview in the admin settings page.
* New: Option to automatically add a space between the price and currency label.
* New: Option to hide `.00` decimals for AMD prices.
* New: Multilingual currency label support for Armenian (`hy`), Russian (`ru`), and English (`en`).
* New: Quick "Settings" link in the WordPress Plugins list.
* New: Declared compatibility with WooCommerce HPOS (`custom_order_tables`) and Cart/Checkout Blocks.
* New: Added `Requires Plugins: woocommerce` header.
* Fix: Prevent empty currency label if settings are saved with a blank input.

= 1.0.0 =
* Initial release – replaces AMD with "դրամ" or custom label.

== Upgrade Notice ==

= 1.1.0 =
Major update adding quick presets (դրամ, դր., ֏), multilingual support (HY/RU/EN), automatic space formatting, zero-decimal option, live preview, and WooCommerce HPOS compatibility.

= 1.0.0 =
First release.

== License ==

This plugin is licensed under the GPLv2 or later.
