Описание
WebDig.Dev Price From for WooCommerce replaces the default price range (for example «€10.00 – €50.00») shown on variable and grouped products with a single «From» price, based on the cheapest option available.
Features
- Shows «From» followed by the lowest price on variable products whose variations have different prices.
- When the cheapest variation is on sale, shows its regular price crossed out next to its sale price.
- Shows «From» followed by the lowest price on grouped products.
- Keeps the WooCommerce price suffix (for example «VAT included») and the store tax display settings.
- Works with standard WooCommerce shop, category and single product price displays.
- Adds the
pricefromCSS class to the «From» label for custom styling. - Compatible with High-Performance Order Storage (HPOS).
- No settings required.
Translations
Included: Portuguese (Portugal), Spanish (Spain), French (France) and German. Additional translations are welcome at translate.wordpress.org.
Скриншоты


Установка
- Upload the plugin files to the
/wp-content/plugins/woo-price-from-in-variable-productsdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- WooCommerce must be installed and active.
- No additional configuration is required. The plugin will automatically adjust price display for variable and grouped products.
Часто задаваемые вопросы
-
Does the plugin change the price charged to the customer?
-
No. The plugin only changes how the price is displayed. Cart, checkout and order totals are not affected.
-
How do I style the «From» label?
-
Use the
.pricefromCSS class, for example:.price .pricefrom { font-size: 0.85em; }. -
Which crossed-out price is shown on sale?
-
The regular price of the same variation that has the lowest price, so the crossed-out price always corresponds to the price shown.
Отзывы
Нет отзывов об этом плагине.
Участники и разработчики
«WebDig.Dev Price From for WooCommerce» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«WebDig.Dev Price From for WooCommerce» переведён на 3 языка. Благодарим переводчиков за их работу.
Перевести «WebDig.Dev Price From for WooCommerce» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
1.3.0
- Tested up to WordPress 7.1 and WooCommerce 11.1.
- Fixed: the crossed-out sale price could belong to a different variation than the price shown.
- Fixed: possible fatal error on grouped products without priced children (PHP 8).
- Fixed: free (0) child products were ignored on grouped products.
- Fixed: the WooCommerce price suffix (for example «VAT included») was removed.
- Fixed: bundled translations were not loaded because of an invalid language path.
- Fixed: translated strings showed backslashes in the HTML output.
- Removed: debug messages written to the PHP error log on every page load.
- Removed: call to the deprecated
woocommerce_variable_sale_price_htmlfilter. - Changed: text domain set to
woo-price-from-in-variable-productsto match the plugin slug (translate.wordpress.org). - Changed: functions renamed with a unique
webdig_wpf_prefix to avoid conflicts with WooCommerce. - Changed: HTML removed from translatable strings.
- Added:
Requires Plugins: woocommerceheader. - Added: Portuguese (Portugal) translation; updated Spanish, French and German translations.
1.2.5
- Fixed a critical issue when verifying HPOS compatibility.
- Replaced
is_enabledmethod withwc_get_featureto check HPOS activation. - Adjusted debug logs to prevent unnecessary errors.
- Improved compatibility checks for modern WooCommerce environments.
- Tested up to WooCommerce 9.4.3 and WordPress 6.7.1.
1.2.4
- Corrected price display issue where HTML tags were rendered as plain text.
- Replaced
esc_html__with__for frontend price formatting. - Improved handling of grouped product prices.
1.2.3
- Fixed a PHP notice related to compression (
ob_end_flush). - Added configuration option to disable output compression in WordPress.
- Enhanced debugging features for compatibility testing.
1.2.2
- Improved HPOS compatibility with
FeaturesUtildeclaration. - Adjusted the code to avoid direct interactions with WooCommerce internal classes.
- Updated POT file to include new strings for compatibility logs.
1.2.1
- Added robust error handling for compatibility issues.
- Improved debugging messages for HPOS activation.
- Minor optimizations to code structure for better readability.
1.2.0
- Added compatibility with WooCommerce High-Performance Order Storage (HPOS) and Remote Logging.
- Refactored code to avoid direct interactions with
wp_postmetaandwp_posts. - Improved price display logic for grouped and variable products.
- Tested up to WordPress 6.7.1 and WooCommerce 9.4.3.
- Updated minimum PHP requirement to 7.4.
- Optimized translations and text domain handling.
1.1.0
- Updated plugin name and branding to «WebDig.Dev WooCommerce — Price From in Variable Products».
- Improved price formatting logic for variable products.
- Added compatibility with WordPress 6.7.1 and WooCommerce 9.4.3.
- Updated minimum PHP requirement to 7.4.
- Enhanced translations and text domain loading.
- Fixed minor issues in grouped product price calculations.
1.0.2
- Fixed minor bugs.
- Tested up to WordPress 6.3.1 and WooCommerce 8.1.1.
1.0.1
- Tested up to WordPress 6.3.1 and WooCommerce 8.1.1.
1.0.0
- Initial release.
- Tested up to WordPress 5.2 and WooCommerce 3.6.1.
