Description
Alondra sets up tiered pricing and quantity discounts on your WooCommerce products. Each pricing group holds a list of quantity ranges with their price, plus the rules that decide when the group applies, so you can offer exclusive prices to selected products, categories, tags, users or roles.
The rules editor is built for B2B/B2C stores, retailers, wholesalers and service providers: it lives in the WordPress admin, follows the conventions you already know, and needs no code to configure.
Features
- Set fixed prices to be used for a product quantity range.
- Compatible with products and variations.
- Prices are applied on the product page and in the cart.
- Dashboard for managing prices and rules that follows WordPress design and user experience, including draft and trash.
- Define rules to apply prices when some criteria are met. You can select one or more products, any categories, tags, users or roles.
- Show the prices to customers in a table on the product page, above the “Add to Cart” button, or hide the table altogether.
- Allows customer to click on the pricing options to quickly set the quantity value to add to cart.
- Highlights active price among available options for better user experience.
- Overrides the default product price that is shown to customers with a value according to the active rules and prices.
- Caches price lookups in the WordPress object cache, so repeated lookups on a page skip the database. A persistent object cache extends this across requests.
Requirements
- WooCommerce 10.4.0 or greater. With an older version the plugin does nothing and shows a notice in the administration area.
Alondra PRO
Alondra PRO is a separate, paid plugin from the same author. Everything listed above is part of this plugin and stays that way. PRO builds on top of it and adds:
- Percentage prices for a quantity range, alongside the fixed prices.
- A priority value on pricing groups, so you decide which group wins when two of them match the same product.
- Logic operators between categories, tags and roles, and between the rule element groups themselves.
- Two more layouts for the prices: pills and list.
- A total price and a product price text that update live as the customer changes the quantity.
Visit Alondra website to learn more about it.
Source code & build tools
The plugin ships the compiled assets/js/*.js and assets/css/*.css files together with the sources and tooling they are built from, so every distributed file can be reproduced:
- JavaScript sources:
assets/js/src/(bundled by webpack, entry pointsadmin.jsandfront.js). - Stylesheet sources:
assets/css/scss/(compiled by Dart Sass, then autoprefixed by PostCSS). - Build configuration:
package.json,package-lock.json,webpack.config.js,babel.config.json,postcss.config.js. - Autoloader configuration:
composer.json,composer.lock. The plugin has no runtime dependency, so Composer only generates the class autoloader.
To rebuild the assets from the plugin directory:
npm install
npm run build
npm run dev produces the same files unminified and with source maps, and `composer install` regenerates the autoloader.
Our test suites and code quality configuration are development tools rather than part of the plugin, so they are not included here. They live in the source repository together with everything above.
Screenshots



Installation
Automatic installation
- Log into your WordPress admin panel and go to Plugins > Add New.
- Enter “Alondra” into the search field.
- Once you’ve located the plugin, click Install Now.
- Click Activate.
- Create your prices by going to WooCommerce > Tiered Pricing.
Manual installation
- Download the plugin file to your computer and unzip it.
- Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s
wp-content/plugins/directory on the server. - Log into your WordPress admin panel and activate the plugin from the Plugins menu.
- Create your prices by going to WooCommerce > Tiered Pricing.
FAQ
-
Where do I create the prices?
-
In WooCommerce > Tiered Pricing. Each group holds a list of quantity ranges with their price, plus the rules that decide when the group applies.
-
Is it possible to apply discount based on User roles?
-
Yes. You can offer discounts for individual users or for users who have a role.
-
Is it possible to offer free products to customers with this plugin?
-
Yes, you can define a row with price 0 when you define the pricing settings in the group.
-
How can I increase the value of certain products?
-
You can define a fixed price higher than the original one when you configure the row.
-
Does the plugin have a settings page?
-
No. It works with sensible defaults out of the box, and most stores never need to change them. If you do want to — whether the price table is shown, whether clicking a row sets the quantity — a theme or a small plugin can adjust them through the
alondra_default_prefsfilter:add_filter( 'alondra_default_prefs', function ( $prefs ) { // Where the prices table is rendered in the product page. Set it to // hide to leave the table out of the product page altogether. $prefs['layout_pos'] = 'before_add_to_cart_btn'; // Set to '0' to turn any of these off. $prefs['clickable_layout'] = '1'; // Click a row to set the quantity. $prefs['highlight_pricing'] = '1'; // Highlight the active row. $prefs['overwrite_product_price'] = '1'; // Replace the price shown for the product. return $prefs; } ); -
Will it work with my theme?
-
We have tested the plugin with the most popular themes and builders on the market, ensuring that the components that display the price on the front-end are displayed correctly.
-
The admin screens show outdated pricing groups. What can I do?
-
The plugin’s admin requests already ask every cache not to store them, and each one is unique so a cache cannot match it against an older copy. A few setups override that anyway — a CDN told to cache everything and to ignore query strings, or a service worker added by another plugin. If the Tiered Pricing screens keep showing data you have already changed, exclude
/wp-json/from your page cache and your CDN and then clear both. Your saved prices are not affected; only what the screen displays is. -
What happens to my prices if I uninstall the plugin?
-
Nothing. Uninstalling removes the plugin’s own settings but keeps your pricing groups, tiers and rules, so reinstalling finds them intact.
If you would rather uninstalling wiped them, the
alondra_delete_data_on_uninstallfilter opts in:add_filter( 'alondra_delete_data_on_uninstall', '__return_true' );Your pricing is then deleted for good when the plugin is uninstalled, so keep a backup. Alondra is already switched off by the time this runs, so the filter has to live somewhere that outlives it: another plugin, a must-use plugin, or your theme’s
functions.php.On a multisite network, uninstalling clears the site it runs on. Every other site in the network keeps its pricing, and there is no supported way to clear those from the network admin — removing them is a manual database job for whoever administers the network.
-
Is there a PRO version?
-
Yes. Alondra PRO is a separate, paid plugin that builds on this one. It adds percentage prices alongside the fixed ones, a priority value on pricing groups, logic operators inside and between the rule element groups, pills and list layouts for the prices, and a total and product price text that update live as the customer changes the quantity. 7-day free trial is available and 30-day money-back guarantee is offered.
-
Is multisite supported?
-
Currently Alondra plugin should be compatible with multisite out of the box, but it is still pending from being fully tested.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Alondra” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Alondra” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.3
- Added: Uninstalling can now delete your pricing groups, tiers and rules as well, if you ask it to. By default they are still kept, so reinstalling finds them intact.
- Added: Prices are now cached, so a page showing several tiered products makes fewer queries. A persistent object cache extends this across requests.
- Added: Plugin updates are now applied on their own, with no need to deactivate and reactivate the plugin afterwards.
- Changed: WordPress 6.8 or later is now required.
- Changed: Tier prices are struck through and measured against the product’s regular price.
- Changed: If an update cannot be completed, tiered pricing pauses and reports it instead of affecting your storefront.
- Changed: Activation now stops and explains the problem if the plugin cannot finish setting itself up, instead of carrying on and failing later.
- Fixed: Saving a pricing group no longer discards its prices and rules when none of its own fields changed.
- Fixed: Deleting a pricing group now always removes its prices and rules with it.
- Fixed: Prices can no longer be saved against a pricing group that no longer exists.
- Fixed: A product that is also on a WooCommerce sale no longer understates the saving or shows a negative discount.
- Fixed: Sorting the pricing group listing no longer repeats or omits groups across pages when several share the same title.
- Fixed: Dismissing a notification in the admin now keeps it hidden.
- Fixed: On a multisite network, cached prices are kept per site.
- Fixed: The tiered pricing admin screens no longer show outdated data when your site sits behind an aggressive cache or CDN.
- Fixed: Activation problems now show a readable error page with a way back, instead of a blank screen.
- Security: Pricing group actions in the admin require a valid nonce, so a crafted link can no longer trash or delete a group.
- Security: The pricing group listing output is escaped.
1.0.0
- First release.
