Cost of Goods by PixelYourSite / Configuration / Shipping Cost Configuration

Shipping Cost Configuration

Last updated: February 12, 2026

You can assign a cost to each shipping method (Flat rate, Free shipping, Local pickup, etc.). This lets the plugin calculate shipping profit, not just product profit.

Shipping profit (simple idea):
Shipping charged to customer − Shipping Cost of Goods = Shipping profit

Setup

  1. Go to WooCommerce → Settings → Shipping
  2. Open the right Shipping Zone, then Edit a shipping method (example: Flat rate)
  3. In the method settings, find Shipping Cost of Goods
  4. Set:
    • Type
      • Fix = a fixed internal cost for this shipping method (e.g. packaging + courier fee)
      • Percent = cost as a % of the shipping amount charged
    • Value
      • If Fix, enter something like 4.50
      • If Percent, enter something like 30 for 30%
  5. Click Create and save / Save changes

How fallback works

If you don’t set a cost for a shipping method, the plugin will use the Global Rule from WooCommerce → Settings → Cost of Goods by PixelYourSite (your global shipping cost type/value), depending on your global “Shipping cost” setting.


Quick examples

Fix

  • Customer pays shipping: $10
  • Shipping COG (Fix): $4
  • Shipping profit: $6

Percent

  • Customer pays shipping: $10
  • Shipping COG (Percent 40%): $4
  • Shipping profit: $6

Tip

Set per-method shipping costs when different methods have different real costs (e.g. “Express” costs you more than “Standard”). This makes shipping profit reporting much more accurate.