Title: Flx Modernize
Author: rickey29
Published: <strong>September 24, 2026</strong>
Last modified: September 24, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/flx-modernize.svg)

# Flx Modernize

 By [rickey29](https://profiles.wordpress.org/rickey29/)

[Download](https://downloads.wordpress.org/plugin/flx-modernize.0.0.2.zip)

 * [Details](https://wordpress.org/plugins/flx-modernize/#description)
 * [Reviews](https://wordpress.org/plugins/flx-modernize/#reviews)
 *  [Installation](https://wordpress.org/plugins/flx-modernize/#installation)
 * [Development](https://wordpress.org/plugins/flx-modernize/#developers)

 [Support](https://wordpress.org/support/plugin/flx-modernize/)

## Description

Flx Modernize adds a **sale savings badge** (for example, “Save 25%”) next to the
price on any simple WooCommerce product that’s currently on sale. It’s computed 
locally, on your own site, from that product’s own regular and sale price — there’s
no external service to configure, no account to create, and nothing to set up beyond
activating the plugin.

#### Available now

 * **Sale savings badge.** On a supported product’s page, when the product is on
   sale, Flx Modernize shows the percentage saved next to WooCommerce’s own price
   display. It’s **active immediately after activation** — no configuration required—
   and can be turned off at any time from **Settings > Flx Modernize**.
 * Supports simple WooCommerce products. Variable, grouped, and external products
   are left untouched (no badge shown, no error).
 * Presentation only: it never changes the product’s actual regular price, sale 
   price, cart total, checkout calculation, or order data. It only adds one small,
   additive HTML element next to the price WooCommerce already renders.
 * Fails closed: if a product’s price data is missing, ambiguous, or of a type this
   release doesn’t yet support, no badge is shown and WooCommerce’s native price
   output is completely unaffected.

#### Optional

Separately, Flx Modernize can **optionally** attempt to render a small, curated 
set of supported product pages through an external service called Flx Render, which
you would configure and operate yourself. This integration:

 * is **disabled by default**;
 * requires you to configure a `FLX_MODERNIZE_RENDER_URL` yourself — no publicly
   available compatible endpoint currently exists, and none is bundled with this
   plugin;
 * always falls back to WordPress/WooCommerce’s own native rendering, unmodified,
   on any failure or when no endpoint is configured;
 * is completely independent of the sale savings badge above — the badge works identically
   whether or not this integration is configured or enabled.

#### Not yet supported

Flx Modernize does not yet modernize the Shop archive, Cart, Checkout, or My Account
pages, does not support variable products, and does not replace your active theme.
These are part of the broader Flx Modernize roadmap and are out of scope for this
release.

#### Settings page

**Settings > Flx Modernize** shows the plugin version, whether the sale savings 
badge is active, whether the optional Flx Render integration is enabled, and whether
a Flx Render endpoint is configured. Each feature has its own enable/disable checkbox—
no code editing required.

#### Default behavior

The sale savings badge ships **enabled by default**: after you activate Flx Modernize,
any simple product you already have on sale will show the badge immediately. This
is safe to enable by default because the badge is strictly additive (it never alters
price, cart, checkout, or order data) and only ever appears on the product’s own
page, next to the price WooCommerce already displays. The optional Flx Render integration
remains **disabled by default**, since it requires you to configure and operate 
a separate external service.

#### Configuration precedence

Both features also support wp-config.php constants for environments that need to
force a setting regardless of the stored option:

 * `FLX_MODERNIZE_SAVINGS_BADGE_ENABLED` (boolean) overrides the sale savings badge
   checkbox.
 * `FLX_MODERNIZE_EXPERIMENT_ENABLED` (boolean) overrides the Flx Render integration
   checkbox.

If a constant is defined, it always wins over the Settings page checkbox. If not
defined, the Settings page checkbox controls behavior.

## Installation

 1. Upload the `flx-modernize` folder to `/wp-content/plugins/`, or install it through
    the WordPress plugin screen.
 2. Activate the plugin. Any simple product already on sale will now show a sale savings
    badge on its product page.
 3. Optionally, visit **Settings > Flx Modernize** to turn the badge off, or to enable
    and configure the optional Flx Render integration.
 4. Optionally, for the Flx Render integration only, define in `wp-config.php`:
 5. define( ‘FLX_MODERNIZE_RENDER_URL’, ‘https://your-render-endpoint.example.com’ );
    
    define( ‘FLX_MODERNIZE_EXPERIMENT_PRODUCT_IDS’, array( 12, 34 ) ); // your own 
    product IDs define( ‘FLX_MODERNIZE_EXPERIMENT_ENABLED’, true ); // overrides the
    Settings page checkbox

None of this is required for the sale savings badge, which works without any configuration.

## FAQ

### Does this do anything after I just install and activate it?

Yes. Once activated, any simple product you have on sale immediately shows a sale
savings badge on its product page — no configuration needed. The optional Flx Render
integration remains off until you choose to enable and configure it.

### Will this change my prices, cart, or checkout?

No. The sale savings badge is presentation-only: it reads a product’s existing regular
and sale price to compute a percentage, and appends a small badge next to the price
WooCommerce already shows. It never writes to product, cart, checkout, or order 
data.

### What if a product isn’t supported?

The badge only appears for simple products that are genuinely on sale with a lower
sale price than regular price. Variable, grouped, and external products, and any
product with missing or ambiguous price data, are left completely alone — no badge,
no error, no change to what WooCommerce would otherwise render.

### What is Flx Render?

Flx Render is a separate, externally hosted rendering service that this plugin can
optionally call for a small, curated set of products, entirely independent of the
sale savings badge. It is not included with this plugin, and no publicly available
compatible endpoint currently exists. Without it configured, or if a request fails,
Flx Modernize always falls back to WordPress/WooCommerce’s own native rendering.

### Is this plugin finished?

This is an experimental release: the sale savings badge is a small, complete, standalone
feature, but the broader Flx Modernize roadmap (Shop, Cart, Checkout, My Account,
variable-product support, and more) is still in progress. See the plugin’s GitHub
repository for current scope and status.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Flx Modernize” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ rickey29 ](https://profiles.wordpress.org/rickey29/)

[Translate “Flx Modernize” into your language.](https://translate.wordpress.org/projects/wp-plugins/flx-modernize)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/flx-modernize/), check
out the [SVN repository](https://plugins.svn.wordpress.org/flx-modernize/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/flx-modernize/) 
by [RSS](https://plugins.trac.wordpress.org/log/flx-modernize/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.0.2

 * New: sale savings badge for simple, on-sale WooCommerce products — a locally-
   computed, standalone modernization feature that requires no external service 
   and is enabled by default.
 * Settings > Flx Modernize now shows and controls the sale savings badge and the
   optional Flx Render integration as two independent toggles.
 * Added `uninstall.php` to remove this plugin’s own stored options when deleted
   from wp-admin.
 * Updated readme and in-admin copy to lead with the plugin’s actual, current functionality.

#### 0.0.1

 * Initial experimental release: Settings > Flx Modernize admin page (enable/disable
   toggle, status, current functionality and limitations), capture diagnostics, 
   verified price-representation filter, and render-attempt/native-fallback scaffold
   for a small set of supported products.

## Meta

 *  Version **0.0.2**
 *  Last updated **17 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [price](https://wordpress.org/plugins/tags/price/)[product page](https://wordpress.org/plugins/tags/product-page/)
   [sale badge](https://wordpress.org/plugins/tags/sale-badge/)[storefront](https://wordpress.org/plugins/tags/storefront/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/flx-modernize/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/flx-modernize/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/flx-modernize/reviews/)

## Contributors

 *   [ rickey29 ](https://profiles.wordpress.org/rickey29/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/flx-modernize/)