Linux 软件免费装
Banner图

LotCost - Purchase Lot Costs for WooCommerce

开发者 sammomix
更新时间 2026年11月13日 16:59
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce inventory cost of goods resale profit margin

下载

0.1.1 0.1.0

详情介绍:

If you resell second-hand or one-of-a-kind pieces (thrift and vintage, antiques, estate sales, auction lots, liquidation pallets), you buy a lot for one price and sell it piece by piece. WooCommerce can only hold a cost per product, so the margin it shows is wrong until someone works out what each piece really cost. LotCost does that sharing for you and connects it to the Cost of Goods Sold field that comes with WooCommerce 10.3 and later. How it works
  1. Record a lot: the price you paid, the shipping, other costs (fees, taxes), where you bought it and when.
  2. Pick the pieces it holds from your WooCommerce products (simple products, or the variations of a variable product). A piece can hold several identical units.
  3. Choose how the cost is shared: in equal parts, in proportion to the selling prices, or by hand (LotCost tells you how much is still to give out). The shares always add up to the lot total, to the cent.
  4. One click writes each piece's cost into WooCommerce. Orders, WooCommerce reports and anything else that reads the Cost of Goods Sold field use it from then on.
What you get LotCost itself is free and complete. LotCost Pro is a separate, optional paid add-on, sold outside this directory: it keeps a history of the costs written (with undo), adds pieces in bulk from a list of SKUs, a CSV file or a product category, and suggests selling prices from your costs. Learn more about LotCost Pro. Nothing in LotCost is limited or locked to push you towards it. Good to know

安装:

  1. Install and activate WooCommerce 10.3 or later.
  2. Install and activate LotCost.
  3. In WooCommerce > Settings > Advanced > Features, turn on Cost of Goods Sold.
  4. Open WooCommerce > LotCost.

屏幕截图:

  • A lot shared in proportion to the selling prices, with the live sharing.
  • A lot shared by hand, with the amount still to give out.
  • The Sources tab: an estimate of what has come back, by source and by lot.

升级注意事项:

0.1.1 A link to the optional LotCost Pro add-on in the Settings tab. Nothing else changes. 0.1.0 First release.

常见问题:

Do I need to turn on a WooCommerce setting?

Yes. WooCommerce ships the Cost of Goods Sold field but keeps it off by default. Turn it on in WooCommerce > Settings > Advanced > Features. Until then you can record lots and see the shared costs, but nothing is written.

What happens to orders I already have?

Nothing. LotCost only changes the cost of products, and WooCommerce records the cost on an order when the order is created. New orders use the new cost.

Which products can be pieces?

Simple products, and the variations of variable products (a shirt in size M is one piece, size L another). Other product types are not supported.

Can a piece be in two lots?

No. A product or variation has one cost in WooCommerce, so it belongs to one lot. When you try to add a piece that another lot holds, LotCost tells you which one.

How does LotCost know what has come back?

It reads no order. A piece counts as sold when it has left your stock (WooCommerce counts its stock, or its stock status is "out of stock"), and it is valued at its selling price today. A discount or a later price change is not seen, so every figure is an estimate, and pieces whose stock is not counted are set apart.

What does LotCost do with a lot that holds several identical units?

Each unit carries the same cost, rounded to the cent: three identical shirts in a lot of 1.00 cannot each cost 0.333...; the page tells you how much the rounding moves the total.

Does LotCost change my prices or my stock?

No. It only writes the Cost of Goods Sold field, and only when you press a write button.

Is there a paid version?

LotCost is free and complete. LotCost Pro is a separate, optional add-on, sold outside this directory, for merchants who want a history with undo, bulk adding of pieces and suggested prices. It needs LotCost and a license. Learn more.

Is my data sent to a server?

No. LotCost makes no external request and never reads orders or customers. Each lot is stored as a private entry in your WordPress database.

What happens when I delete the plugin?

By default your lots are kept, so nothing is lost by mistake. Turn on "Delete all LotCost data when the plugin is deleted" in the Settings tab if you want everything removed. The costs already written to WooCommerce are never touched.

Is it compatible with high-performance order storage and the block checkout?

Yes. LotCost declares compatibility with both and never reads or changes orders. It uses the standard WooCommerce product API to write costs.

更新日志:

0.1.1 0.1.0