| 开发者 | sammomix |
|---|---|
| 更新时间 | 2026年11月13日 16:59 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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.
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.
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.
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.
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.
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.
No. It only writes the Cost of Goods Sold field, and only when you press a write button.
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.
No. LotCost makes no external request and never reads orders or customers. Each lot is stored as a private entry in your WordPress database.
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.
Yes. LotCost declares compatibility with both and never reads or changes orders. It uses the standard WooCommerce product API to write costs.