=== Saudi Currency ===
Contributors: mokhtarbsaid
Tags: woocommerce, currency, saudi riyal, SAR, currency symbol
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds the official Saudi Riyal (SAR) symbol to your WooCommerce store, with size and color controls.

== Description ==

Saudi Arabia has introduced a new official symbol for the Saudi Riyal (SAR).
This plugin replaces the default WooCommerce SAR symbol with the new official SVG symbol, and gives you simple controls to adjust its size and color directly from WooCommerce settings.

**Features:**

- Official Saudi Riyal SVG symbol.
- Size control in pixels (default: 15px).
- Color control: auto (inherits price text color) or custom color picker.
- Settings integrated directly under WooCommerce - General - Currency options.
- Lightweight: CSS loads only on WooCommerce pages.
- Clean uninstall: removes all plugin data on deletion.
- Translation ready (Arabic included).

== Installation ==

1. Upload the `saudi-currency` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to WooCommerce - Settings - General and scroll to Currency options.
4. Set your currency to Saudi Riyal (SAR).
5. Adjust symbol size and color as needed and click Save changes.

== Screenshots ==
1. Single Procuct before/after activating the plugin screenshot-1.jpg
2. Archive products before/after activating the plugin screenshot-2.jpg
3. Symbol size and color settings under WooCommerce Currency options screenshot-3.jpg.

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =
Yes, WooCommerce must be installed and activated.

= Will this work with any theme? =
Yes, it works with any WooCommerce-compatible theme. The symbol inherits the price text color by default.

= Where are the settings? =
Under WooCommerce - Settings - General - Currency options, below Number of decimals.

= Does it work with the new WooCommerce Blocks checkout? =
Yes, the symbol filter applies globally to all WooCommerce currency symbol outputs.

= What happens when I delete the plugin? =
All plugin data and settings are removed from the database automatically.

== Screenshots ==  
1. Screenshot of the new Saudi Riyal currency symbol displayed in WooCommerce screenshot-1.jpg.  
2. Archive products before/after activating the plugin screenshot-2.jpg.
3. Symbol size and color settings under WooCommerce Currency options screenshot-3.jpg.

== Changelog ==  
= 1.0.0 =  
* Initial release - Updates the Saudi Riyal currency symbol in WooCommerce.

= 2.0.0 =
* Complete rewrite - improved code structure and security.
* Added symbol size control (px).
* Added symbol color control (auto or custom).
* Settings integrated into WooCommerce General settings.
* CSS now loads only on WooCommerce pages.
* Added Ko-fi and review notices with smart scheduling.
* Added uninstall cleanup.
* Fixed missing load_plugin_textdomain.
* Requires WordPress 7.0 and PHP 7.4.

== Upgrade Notice ==  
= 1.0.0 =  
* First release, ensures compatibility with WooCommerce currency settings.  

= 2.0.0 =
Major update with new size and color controls. Recommended for all users.

== Support ==
For support, inquiries, or to report issues, visit [Contact Me](https://mokhtarbensaid.com/contact/)
