| 开发者 |
fernandot
ayudawp |
|---|---|
| 更新时间 | 2026年8月6日 04:44 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2+ |
| 版权网址: | 版权信息 |
/wp-content/plugins/Yes! The plugin uses WooCommerce's standard price hooks, so it works with any properly coded WooCommerce theme.
Absolutely! Go to Marketing > Lowest Prices in your admin dashboard to customize the prefix text, spacing, and display options.
Both are plain text fields in Marketing > Lowest Prices. The prefix goes before the amount ("From $40", "Starting at $40") and the suffix goes after it ("$40 / month", "$40 per person"). There is a third field for the prefix of the highest price, used in the "Up to $60" and "From $40 up to $60" modes, so each text translates on its own. Leave any of them empty to show nothing. There is also a checkbox to add a space between the prefix and the price, on by default. It exists because a text field cannot store a trailing space, so writing "From " would be saved as "From". Turn it off for symbol prefixes like "~" or for languages that do not separate words with spaces. One caveat about the suffix: if what you want is a tax notice like "VAT included", use the WooCommerce price suffix in WooCommerce > Settings > Tax instead. It already does that, with its own tax placeholders, and using both would show two suffixes in a row.
By default, the plugin won't show the "From" prefix when all variations have the same price. You can change this behavior in the settings.
Simply clear the prefix text field and save. No prefix will be displayed before the price.
By default it works on both shop pages and individual product pages - anywhere WooCommerce displays variable product prices. In Marketing > Lowest Prices you can restrict it to shop and archives only, or to product pages only. Related products and upsells shown inside a product page count as listings.
The regular price is kept crossed out next to the lowest price, the same way WooCommerce does it, so your customers can see there is a discount. You can turn this off in the settings if you would rather show the sale price on its own.
Yes. In Marketing > Lowest Prices you can choose to show the highest price instead of the lowest, both prices with your own text ("From $40 up to $60"), or both with a separator ("$40 – $60"). Each text has its own field, so they translate independently.
Yes! The plugin follows WordPress internationalization standards and translations are loaded automatically from WordPress.org.
Yes! The plugin includes full compatibility with WooCommerce High-Performance Order Storage.
No. This plugin only changes how variable product prices are displayed. It is a presentational feature: it does not track price history and it does not display the prior price (the lowest price applied during the 30 days before a price reduction) required by Directive (EU) 2019/2161, known as the Omnibus Directive. Despite the similar name of some compliance plugins, this one serves a different purpose.
If your store needs to comply with those rules, use a plugin built for it, such as Omnibus - show the lowest price, WC Price History or FleekCode - Omnibus Price Tracker. They work alongside this plugin without conflict: this one decides which price replaces the WooCommerce range, and the other one adds the lowest price of the last 30 days. When one of them is active you will see a notice in the settings page confirming it.
Two things help here. Products on sale keep their regular price crossed out, so a price reduction stays visible instead of showing only the reduced price. And the ayudawp_lowest_price_html filter lets you place the price history message exactly where you want it:
add_filter( 'ayudawp_lowest_price_html', function ( $html, $product ) { return $html . '<span class="my-prior-price">' . my_prior_price( $product ) . '</span>'; }, 10, 2 );
Yes, with the ayudawp_lowest_price_html filter. It receives the final price HTML, the product object and the plugin options.