Saudi Currency

描述

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).

Support

For support, inquiries, or to report issues, visit Contact Me

屏幕截图

安装

  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.

常见问题

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.

评价

2025 年 8 月 4 日
We highly recommend business owners to use this plugin on their website, as it has worked exceptionally well on ours.>>
2025 年 4 月 17 日 1 回复
هذي الاضافه اضافت للمتجر نوع من اللمسه السحريه جدا جميله و تغير شكل المتجر مع انها بسيطه لكن تعطي جمال للمتجر شكرا مختار
阅读所有3条评价

贡献者及开发者

「Saudi Currency」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Saudi Currency」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Saudi Currency」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.