Title: CostGator Margin Audit for WooCommerce
Author: Feriman
Published: <strong>October 23, 2026</strong>
Last modified: October 23, 2026

---

Search plugins

![](https://ps.w.org/costgator/assets/banner-772x250.png?rev=3762755)

![](https://ps.w.org/costgator/assets/icon-256x256.png?rev=3762562)

# CostGator Margin Audit for WooCommerce

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

[Download](https://downloads.wordpress.org/plugin/costgator.1.0.0.zip)

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

 [Support](https://wordpress.org/support/plugin/costgator/)

## Description

CostGator scans your WooCommerce catalog and shows where a price, a sale or a coupon
can make you lose money on the product itself.

Click **Scan My Store** under WooCommerce > CostGator and get a clear list of:

 * **Products selling below cost.** The current price, including running sales, 
   is lower than the unit cost.
 * **Scheduled sales at risk.** A sale that has not started yet would push the price
   below cost or below your margin threshold.
 * **Low margin products.** Above cost, but below the minimum margin you set (10%
   by default).
 * **Risky percentage coupons.** Coupons that would leave eligible products below
   cost or below your threshold. Product, category and sale item restrictions are
   respected.
 * **Missing cost information.** Products whose profitability cannot be checked.

**Promotion Preflight.** Planning a 25% store-wide sale? Enter the discount and 
see which products would drop below cost before you launch it.

#### Read-only and private

 * The audit never changes prices, products, orders or coupons.
 * No data leaves your site. The plugin makes no external requests and has no tracking.

#### Where costs come from

 * WooCommerce native Cost of Goods Sold (WooCommerce > Settings > Advanced > Features),
   including variation cost inheritance and additive variation costs.
 * If a product has no native cost, the plugin reads the cost fields of the Cost
   of Goods plugins by SkyVerge (`_wc_cog_cost`) and WPFactory (`_alg_wc_cog_cost`).
   Developers can add more meta keys with the `costgator_cost_meta_sources` filter.

#### How the calculation works

 * Margin is gross margin: (net price – cost) / net price.
 * If your prices include tax, they are converted to net with your store base tax
   rates and the product tax class before comparison. Costs are assumed to be net
   of tax and in your store currency.
 * Only product price and cost are compared. Shipping, payment fees, marketing and
   other costs are not included, so this is not a full profit calculation.
 * Coupon checks are potential risks. Minimum spend, customer restrictions and coupon
   combinations are not evaluated. Fixed amount coupons are not analyzed in this
   version.

#### Trademarks

WooCommerce is a registered trademark of Automattic Inc. This plugin is not affiliated
with or endorsed by Automattic or WooCommerce.

### Support

Ask questions and report problems in the [support forum](https://wordpress.org/support/plugin/costgator/).
Please include your WooCommerce version and where your product costs come from.

## Screenshots

[⌊Scan results: products selling below cost, scheduled sales at risk and low margin
products.⌉⌊Scan results: products selling below cost, scheduled sales at risk and
low margin products.⌉[

Scan results: products selling below cost, scheduled sales at risk and low margin
products.

[⌊Risky coupons and products with missing cost information.⌉⌊Risky coupons and products
with missing cost information.⌉[

Risky coupons and products with missing cost information.

[⌊Promotion Preflight: see which products a planned discount would push below cost
or below your margin threshold.⌉⌊Promotion Preflight: see which products a planned
discount would push below cost or below your margin threshold.⌉[

Promotion Preflight: see which products a planned discount would push below cost
or below your margin threshold.

## Installation

 1. Install and activate the plugin. WooCommerce must be active.
 2. Enable Cost of Goods Sold under WooCommerce > Settings > Advanced > Features and
    enter your product costs, or use a supported cost plugin.
 3. Go to WooCommerce > CostGator and click Scan My Store.

## FAQ

### Does it change anything in my store?

No. It only reads products and coupons. It stores the last scan result and your 
threshold setting in the options table, and removes them on uninstall.

### Why does a product with a cost of 0 appear as missing cost?

The WooCommerce native Cost of Goods Sold feature stores a zero cost on simple products
as empty, so a zero cost and a missing cost cannot be told apart. To keep the results
consistent, a cost of 0 is treated as missing for every cost source.

### How large a catalog can it handle?

The scan runs in small batches from your browser, which keeps each request short
and lowers the risk of server time limits. It was tested with more than 12,000 products
and variations. Keep the page open until the scan finishes.

### Which products are checked?

Published simple products and the enabled variations of published variable products.
Drafts, private products, disabled variations, external and grouped products are
skipped.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“CostGator Margin Audit for WooCommerce” is open source software. The following 
people have contributed to this plugin.

Contributors

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

[Translate “CostGator Margin Audit for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/costgator)

### Interested in development?

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

## Changelog

#### 1.0.0

 * First stable release. No functional changes since 0.1.0.

#### 0.1.0

 * First release.

## Meta

 *  Version **1.0.0**
 *  Last updated **9 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.5 or higher **
 *  Tested up to **7.1.3**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [cost of goods](https://wordpress.org/plugins/tags/cost-of-goods/)[coupons](https://wordpress.org/plugins/tags/coupons/)
   [margin](https://wordpress.org/plugins/tags/margin/)[profit](https://wordpress.org/plugins/tags/profit/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/costgator/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/costgator/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/costgator/)