Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/amirrezashf/woocommerce-variable-price-from-format/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Show variable product price ranges as a clean minimum-price format and remove WooCommerce Product schema from Shop and Product Category archives.
Features
- Replaces variable price ranges with
Starting from - Uses the regular price of the same cheapest variation when it is on sale
- Keeps WooCommerce's normal output when all variation prices are equal
- Respects WooCommerce tax-display settings
- Removes Product schema from Shop and Product Category archives
- Keeps Product schema on single-product pages
- Includes a prefixed English-to-Persian digit helper
- No settings page
- Single-file plugin
Example
100,000 – 300,000
becomes:
شروع از: 100,000
Requirements
- PHP 7.4+
- WordPress 6.0+
- WooCommerce
Installation
- Download the repository as ZIP.
- Install it from Plugins → Add New Plugin → Upload Plugin.
- Activate the plugin.
Filter
Change the price prefix:
add_filter( 'wc_vpff_starting_from_label', static function () {
return 'From:';
} );
License
GPL-3.0
Author
Amirreza Shayesteh Far
- GitHub: https://github.com/amirrezashf
- Repository: https://github.com/amirrezashf/WooCommerce-Variable-Price-From-Format
نمایش «شروع از» برای محصولات متغیر ووکامرس
نمایش حداقل قیمت محصولات متغیر بهجای بازه قیمت و حذف Product Schema ووکامرس از فروشگاه و دستهبندی محصولات.
قابلیتها
- تبدیل بازه قیمت به «شروع از»
- استفاده از Regular Price همان Variation در حالت تخفیف
- حفظ خروجی پیشفرض وقتی همه قیمتها یکساناند
- رعایت تنظیمات مالیات ووکامرس
- حذف Product Schema از فروشگاه و دستهبندی محصول
- حفظ Schema صفحه تکمحصول
- ابزار تبدیل اعداد انگلیسی به فارسی
- افزونه تکفایلی
نمونه
100,000 – 300,000
تبدیل میشود به:
شروع از: 100,000
پیشنیازها
- PHP 7.4+
- WordPress 6.0+
- WooCommerce
نصب
- Repository را بهصورت ZIP دانلود کنید.
- از افزونهها ← افزودن افزونه تازه ← بارگذاری افزونه نصب کنید.
- افزونه را فعال کنید.
فیلتر
add_filter( 'wc_vpff_starting_from_label', static function () {
return 'از';
} );
مجوز
GPL-3.0
نویسنده
Amirreza Shayesteh Far