Linux 软件免费装
Banner图

Patchwork Locations – Multi-Location Inventory for WooCommerce

开发者 patchworkstudio
更新时间 2026年11月30日 15:31
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

multi location store locations stock management warehouse inventory management

下载

1.0.2

详情介绍:

When you sell from more than one place (shops, a warehouse, a back room), one stock number per product isn't enough. Patchwork Locations keeps stock per location, lets customers choose their location at checkout, and makes sure every order takes stock from the right place. Stock per location Each product and variation that tracks stock gets a quantity per location, right on the product's Inventory tab. WooCommerce's own stock quantity becomes the total across your locations, so your theme, feeds, reports and other plugins keep working exactly as before. Stock that comes off the right location This is the part that has to be right, so it's built around one rule: your locations always add up to WooCommerce's stock. Whenever WooCommerce changes a product's stock, the change lands at the order's location: Nothing is counted twice, and products you haven't put in a location are left completely alone. A location choice at checkout Customers choose their location at checkout, as a required or optional field, with your own label ("Pickup store", "Ship from", …). It works with both the block checkout and the classic checkout, and it's shown on the order and in the order emails. Locations that don't serve customers, such as a warehouse, can hold stock without appearing at checkout. With only one location open to customers, it's assigned without asking. Orders by location Each order shows its location on the orders list, with a filter to see one location's orders. On the order screen, the Patchwork box shows where it's from and lets you change it, and each product shows its stock at every location. Give each location its own colour and you can tell them apart at a glance: on the orders list, on each order, and next to the stock figures on your products. (Colours are only shown in your admin, never to customers.) One dashboard Patchwork Locations lives in the Patchwork menu, with your locations, settings and an activity log. It works with WooCommerce High-Performance Order Storage (HPOS) and classic order storage. Works with Patchwork Split With Patchwork Split, split orders keep their location, items you can't supply go back to the right location, and merging (Split Pro) only combines orders from the same location. More from Patchwork Patchwork builds practical WordPress plugins and custom fixes.

安装:

  1. Install from Plugins → Add New (search for "Patchwork Locations"), or upload the patchwork-locations folder to /wp-content/plugins/.
  2. Activate it. WooCommerce must be active.
  3. Go to Patchwork → Locations and click Add location for each shop, warehouse or store room.
  4. On the same page, choose your default location, and tick "Put the stock … into the default location" to split your existing products by location in one go.
  5. Move stock between locations on each product's Inventory tab.

屏幕截图:

  • Customers choose their location at checkout (block checkout).
  • The orders list: each order's location in its own colour, and a filter by location.
  • An order's location in the Patchwork box: change it and the order's stock moves with it.
  • Patchwork → Locations: your locations and their colours, the default location, splitting existing products, and the checkout field.

常见问题:

How do I manage stock for multiple locations in WooCommerce?

Add your locations under Patchwork → Locations, then enter each location's quantity on the product's Inventory tab. WooCommerce's stock quantity becomes the total of your locations, and orders take stock from their own location.

What happens to WooCommerce's own stock quantity?

It stays, as the total across all locations. That's what keeps themes, product feeds, reports and other plugins working. On a product that's split by location, the total is set from the location fields.

Which location does an order take stock from?

The location the customer chose at checkout, or the one you set on the order. Orders with no location use your default location.

What happens when an order is cancelled or refunded?

The stock goes back to the order's location: all of it on cancellation, and the restocked items on a refund.

Can customers choose a pickup store at checkout?

Yes. Customers choose a location at checkout, and you can call the field "Pickup store". Note that the location is recorded on the order; it doesn't add a shipping method. For a free pickup option at checkout, use WooCommerce's own Local pickup alongside it.

Does it work with the WooCommerce block checkout?

Yes, and with the classic checkout.

What if stock is changed by an import or another plugin?

The difference goes to your default location, so your locations always add up to WooCommerce's stock. You can then move it to the right location on the product screen.

What happens if I delete a location?

Its stock moves to your default location (or, if you delete the default, to the next location), so nothing is lost.

Do I have to split every product by location?

No. Products you haven't put in a location work exactly as they do without the plugin. A one-click option in the settings puts all of them in your default location at once.

Does it stop customers ordering something their location doesn't have?

Not in this version. Customers can order anything WooCommerce lets them order, and a location can go below zero, like WooCommerce's stock does with backorders.

Can I move stock between locations?

Yes: change the quantities on the product's Inventory tab. The total stays the same when you move stock from one location to another.

Does it work with HPOS?

Yes. High-Performance Order Storage and classic (posts) storage are both supported.

Does it work with variable products?

Yes, both variations with their own stock and variable products that manage stock for all their variations.

更新日志:

1.0.2 1.0.1 1.0.0