Title: JeyTech Below Cost Guard for WooCommerce
Author: JeyTech
Published: <strong>October 15, 2026</strong>
Last modified: October 15, 2026

---

Search plugins

![](https://ps.w.org/jeytech-below-cost-guard/assets/banner-772x250.png?rev=3749228)

![](https://ps.w.org/jeytech-below-cost-guard/assets/icon-256x256.png?rev=3749228)

# JeyTech Below Cost Guard for WooCommerce

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

[Download](https://downloads.wordpress.org/plugin/jeytech-below-cost-guard.1.0.0.zip)

[Live Preview](https://wordpress.org/plugins/jeytech-below-cost-guard/?preview=1)

 * [Details](https://wordpress.org/plugins/jeytech-below-cost-guard/#description)
 * [Reviews](https://wordpress.org/plugins/jeytech-below-cost-guard/#reviews)
 *  [Installation](https://wordpress.org/plugins/jeytech-below-cost-guard/#installation)
 * [Development](https://wordpress.org/plugins/jeytech-below-cost-guard/#developers)

 [Support](https://wordpress.org/support/plugin/jeytech-below-cost-guard/)

## Description

A basket can remain profitable while one product sells below its cost. JeyTech Below
Cost Guard checks each product line after WooCommerce has calculated discounts, 
including fixed-cart coupons and stacked coupons.

Start in observation mode to review potential problems without stopping sales. Enable
blocking when your product costs and settings are ready.

**What it does**

 * Reads native WooCommerce Cost of Goods Sold (COGS) for simple products and variations,
   including inherited variation costs.
 * Compares final product line revenue excluding tax against unit cost times quantity
   and your optional minimum margin.
 * Handles native percent, fixed-product and fixed-cart coupons after allocation,
   including multiple coupons.
 * Validates classic checkout and Checkout Blocks on the server, then checks the
   final order before the native payment processing hooks.
 * Keeps advertised prices and coupon amounts unchanged.
 * Shows a neutral customer message without disclosing costs or margin.
 * Records merchant diagnostics in WooCommerce logs.
 * Releases temporary stock and coupon holds when rejecting an unpaid order at the
   final validation step.

**Requirements and setup**

Requires WooCommerce 10.3 or newer and its native Cost of Goods Sold feature.
 Enable
COGS under WooCommerce > Settings > Advanced > Features and enter positive unit 
costs EXCLUDING TAX for every product you want to sell while blocking is enabled.
Configure the guard under WooCommerce > Settings > Advanced > Below Cost Guard.

Blocking is strict: it also refuses products with missing or zero costs, disabled
COGS, order currencies different from the store currency, and discounts entered 
as negative fees that cannot be allocated to product lines.
 Observation is the 
default. Inspect WooCommerce > Status > Logs and select source jeytech-below-cost-
guard before enabling blocking.

**Scope**

This is a product margin floor. Shipping revenue and positive fees do not offset
a losing product line. Shipping costs, gateway fees and operating expenses are not
calculated. It is not a full profit guarantee or a legal resale-price compliance
tool.

The supported scope is standard simple products and variations, native WooCommerce
COGS, native coupons and the store currency. Cost plugins, currency conversion, 
bundles, subscriptions, deposits and third-party promotion engines require their
own compatibility validation.

Validation runs before payment on the standard WooCommerce checkout hooks. Custom
code or gateways changing charges afterwards are outside this scope. A rejected 
order can remain unpaid in the order list for review and retry; the plugin does 
not cancel it or refund paid orders.

No external service, account, subscription or telemetry is required. Logging uses
WooCommerce’s local logging system.

## Screenshots

[⌊Native WooCommerce settings for observation, blocking and minimum product margin.⌉⌊
Native WooCommerce settings for observation, blocking and minimum product margin
.⌉[

Native WooCommerce settings for observation, blocking and minimum product margin.

[⌊Classic checkout refuses a fixed-cart coupon basket with a losing product line.⌉⌊
Classic checkout refuses a fixed-cart coupon basket with a losing product line.⌉[

Classic checkout refuses a fixed-cart coupon basket with a losing product line.

[⌊Checkout Blocks shows the neutral server validation message.⌉⌊Checkout Blocks 
shows the neutral server validation message.⌉[

Checkout Blocks shows the neutral server validation message.

## Installation

 1. Install and activate with WooCommerce 10.3 or newer.
 2. Enable native Cost of Goods Sold and enter positive unit costs excluding tax.
 3. Open WooCommerce > Settings > Advanced > Below Cost Guard.
 4. Keep Observe and log selected while checking the log and representative carts.
 5. Select Block checkout payment when product costs and discounts are ready.

## FAQ

### What does the margin percentage mean?

Margin = (final product revenue excluding tax – product cost) / revenue.
 A unit
costing 80 with a minimum margin of 20% needs at least 100 in revenue excluding 
tax after discounts. Zero percent prevents covered lines from selling below their
product cost.

### Does this change my coupon?

No. The guard checks the final calculated totals. Observation logs findings. Blocking
refuses checkout payment without changing the price or coupon amount.

### What happens when a cost is missing or zero?

Observation logs a coverage problem. Blocking refuses checkout. Enter a positive
native unit cost or use observation. Zero-cost products are not covered in this 
version.

### Where are the logs?

WooCommerce > Status > Logs, source jeytech-below-cost-guard. Cost and margin findings
are merchant diagnostics and are not included in the customer error message.

### Is Checkout Blocks supported?

Yes, using native Store API validation and a final order check before payment. Classic
checkout and standard order-pay validation are also covered.

### Does it work with third-party cost or discount plugins?

No compatibility is claimed for third-party cost fields, promotion engines, bundles,
subscriptions, deposits or currency conversion. Validate your own integrations on
a staging store.

### Does observation stop sales?

No. It records findings without blocking payment and is selected by default.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“JeyTech Below Cost Guard for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

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

[Translate “JeyTech Below Cost Guard for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/jeytech-below-cost-guard)

### Interested in development?

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

## Changelog

#### 1.0.0

 * Initial Free release: final line margin checks with native COGS and native coupons,
   observation and blocking, classic checkout and Checkout Blocks.

## Meta

 *  Version **1.0.0**
 *  Last updated **18 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.7 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [checkout](https://wordpress.org/plugins/tags/checkout/)[cost of goods](https://wordpress.org/plugins/tags/cost-of-goods/)
   [discounts](https://wordpress.org/plugins/tags/discounts/)[woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/jeytech-below-cost-guard/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/jeytech-below-cost-guard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/jeytech-below-cost-guard/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/jeytech-below-cost-guard/)