Skip to main content
Version: 2.x

POS-Only Products

Some products belong only at the till, some only online. Switch on Enable POS only products and every product gets a POS visibility with three choices:

POS visibilityYour websiteThe POS
POS & Online (where every product starts)ShownShown
POS OnlyHiddenShown
Online OnlyShownHidden
Set in WP Admin

You set POS visibility in WP Admin. The POS only follows it: there is no control for it at the till. At the till? See In the POS for what you see there, and If something goes wrong if a product is missing.

Switch it on​

In WP Admin, go to POS > Settings > General. Under Products, switch on Enable POS only products. It saves as soon as you switch it. Every product now has a POS visibility: POS & Online for a product you haven't set, and the choice you saved for one you have, if you switched this on before.

WP Admin, POS → Settings → General, the Products section: Enable POS only products switched on, above Enable decimal quantities, Restore stock on order delete and Barcode Field
  1. Enable POS only products — on: every product gets a POS visibility in its Publish box, Quick Edit and Bulk Edit.

If every product sells in both places, leave it off. Off, POS visibility hides nothing; WooCommerce's own visibility settings still apply.

warning

Switching this off again, or deactivating WCPOS, lets your POS Only products appear on your website again, as far as their WooCommerce visibility allows. See Switch it off.

Set a product's visibility​

One product​

  1. In WP Admin, go to Products and open the product.
  2. In the Publish box, press Edit beside POS visibility.
  3. Choose POS & Online, POS Only or Online Only, and press OK.
  4. Press Update.
WP Admin, the Publish box of the Stoneware Mug product after Edit beside POS visibility: the choices POS & Online (chosen), POS Only and Online Only, OK and Cancel, and the Update button
  1. POS visibility — under Catalog visibility. It reads the product's current choice, here POS & Online.
  2. POS Only — one of the three choices, with POS & Online and Online Only.
  3. OK — puts your choice in the box. Cancel keeps the one you had.
  4. Update — saves the product. Until you press it, nothing has changed.

Choose POS Only and press OK, and the box shows what WCPOS does on Update: Catalog visibility reads Hidden, without its Edit link.

WP Admin, the Publish box of the Stoneware Mug product after choosing POS Only and OK: Catalog visibility Hidden with the note that POS Only products are never shown in the online catalog or search, and POS visibility POS Only
  1. POS visibility — reads POS Only, still unsaved.
  2. Catalog visibility — locked at Hidden while the product is POS Only. See On your website.
  3. The note — POS Only products are never shown in the online catalog or search.

From the Products list, Quick Edit on a product has the same POS visibility choice.

Many products at once​

  1. In WP Admin, go to Products and tick the products.
  2. Choose Bulk edit from Bulk actions and press Apply.
  3. Pick a choice in POS visibility. Left on — No Change —, each product keeps its own.
  4. Press Update.
WP Admin, the Products list with Stoneware Mug and Linen Tea Towel ticked and Bulk actions on Bulk edit: the top of the Bulk Edit panel, with the two products and POS visibility on — No Change —
  1. Bulk actions — set to Bulk edit, then Apply.
  2. POS visibility — leave it on No Change to keep each product's own choice. Update is at the foot of the panel, below this view.

Variations​

Each variation has its own POS visibility:

  1. In the product, open Variations and open the variation.
  2. Choose its POS visibility.
  3. Press Save changes.

You can sell every colour online and only some at the till, or keep one size for the shop floor. To move a whole variable product, set the product's own POS visibility instead: an Online Only product has no tile on the till, and a POS Only product is off your shop with every variation.

WP Admin, the Variations of the Linen Apron product with the Natural variation open: the foot of its panel with POS visibility on POS & Online, the Charcoal variation closed below it, and the Save changes button
  1. POS visibility — the last field in the open variation's panel. This one is Natural's; Charcoal, closed below it, has its own.
  2. Save changes — greyed until you change something. Press it to save the variations.

Find them again​

The Products list gains two views above the table, beside Published: POS Only and Online Only, each with its count. Click one to list just those products.

In the POS​

An Online Only product isn't on the till at all. It doesn't show in the Product Panel, a search doesn't find it, and scanning its barcode says Barcode not found. POS Only and POS & Online products sell as usual.

When you change a product's visibility, the POS picks it up the next time it checks your store for changes: an Online Only product disappears, and comes back when you change it back. To check now, press the arrow beside the product count.

The Product Panel after a search, with the In Stock filter lit, one product tile, the product count, and the sync menu open beside the count with Sync and Clear and Refresh
  1. Search products — also asks your store, but never returns an Online Only product. See Search & Filtering.
  2. Settings — includes Show out-of-stock products. See Display Settings.
  3. In Stock — hides out-of-stock products. Press its cross before you decide a product is missing. See Stock status.
  4. A product tile — POS Only and POS & Online products show here.
  5. The product count — how many products on this device match: 1 product here, Showing 20 of 259 on a full list. Press the arrow beside it to check for changes now; press and hold it for the menu shown open here: Sync, or Clear and Refresh, which clears the search and filters and downloads the products again. See The panel's footer.

On your website​

A POS Only product is hidden from shoppers:

  • It isn't listed: not in the shop, category pages, search, related products, product blocks, feeds or sitemaps.
  • It can't be opened or bought online. A direct link to its page shows your website's page-not-found, and it can't be added to the cart. Hidden in Catalog visibility on its own only keeps a product out of the shop and search; for a POS Only product, WCPOS blocks its page as well.
  • Its reviews don't show anywhere on your website, not even in a list of recent reviews. A link to it shared on another website shows no preview.
  • A POS Only variation is left out of the options on the product page. The product stays online for its other variations.
Catalog visibility, and where POS Only products still show

WCPOS hides a POS Only product by setting its WooCommerce Catalog visibility to Hidden. While the product is POS Only, Catalog visibility in the Publish box is locked at Hidden, with the line POS Only products are never shown in the online catalog or search. Move it back to POS & Online or Online Only and WCPOS puts back the catalog visibility it had before; the Publish box tells you which before you press Update. A product that was never anything but visible goes back to Shop and search results. For a different catalog visibility, change it after the update. Variations have no catalog visibility of their own in WooCommerce, so nothing is locked for them.

Hiding is a rule for shoppers only. A POS Only product stays visible where you run the shop:

  • WP Admin, including the Products list and the product editor.
  • WooCommerce Analytics, so a report filtered by a category of POS Only products shows their sales.
  • The POS itself.

Switch it off​

Switch off Enable POS only products and POS visibility no longer hides anything; WooCommerce's own visibility settings still apply. Online Only products come back to the POS on its next check for changes, and POS Only products get back the catalog visibility they had before: a product you had hidden yourself stays hidden. Each product's choice is kept, so switching it back on uses the choices you saved and hides the same products again.

Deactivating WCPOS also gives every POS Only product back the catalog visibility it had before, so it can appear on your website again.

When to use it​

  • Gift cards sold at the counter — physical cards activated at the till. Make them POS Only.
  • Online pre-orders — products not in stock yet that customers order online. Make them Online Only, so they don't clutter the till.
  • Wholesale and retail on one store — wholesale-only products Online Only for your trade customers, in-store exclusives POS Only, everything else POS & Online.
  • Downloads and online-only deals — digital products and web-only offers you don't sell at the counter. Make them Online Only.
  • In-store specials — promotional items you sell only at the till. Make them POS Only.

If something goes wrong​

An Online Only product still shows in the POS. Press the arrow beside the product count to check for changes. If it's still there, press and hold the arrow and choose Clear and Refresh.

A product is missing from the POS. Clear the search and check the filter bar, In Stock included. Still missing? Ask whoever manages your products to open it in WP Admin: its POS visibility should read POS & Online or POS Only. For a variation, they check the variation and the product it belongs to.

A product shows on one device but not another. Each device keeps its own search and filters and picks up changes only while it's online: see Product Sync.

A POS Only product still appears in your shop, categories or search.

  1. Open the product and look at Catalog visibility in the Publish box. For a POS Only product it reads Hidden.
  2. If it reads anything else, press Update once and WCPOS sets Hidden again. If it still doesn't, a plugin or custom code is changing it: see For developers.
  3. If it reads Hidden, your website is showing an old copy of the page. Ask whoever runs your website to clear its cache.

Products have no POS visibility. Enable POS only products is off. Switch it on in POS > Settings > General.

For developers​

Filters for POS Only products

POS Only products are left out of the WooCommerce Store API, which the block cart and checkout use, and the WooCommerce REST API product and variation lists (/wc/v1 to /wc/v3). WP-CLI commands such as wp wc product list still see them.

Single-product reads answer as a missing product does, with a 404, to anyone who can't edit the product: the Store API's product by id or slug, /wp/v2/product/<id>, a review of it at /wp/v2/comments/<id>, and oEmbed. Its reviews are left out of the Store API reviews list, /wp/v2/comments and the comments feed for anyone who can't edit products.

wcpos_hide_pos_only_products decides whether a product query leaves POS Only products out. It receives the default decision and the WP_Query about to run: true on the storefront, false in WP Admin, WP-CLI, WooCommerce Analytics and the POS. Return false to let a context of your own see POS Only products. The filter governs product queries only: the single-product reads and review lists above don't use it.

add_filter( 'wcpos_hide_pos_only_products', function ( $hide, $query ) {
if ( defined( 'MY_PLUGIN_EXPORTING' ) ) {
return false;
}
return $hide;
}, 10, 2 );

wcpos_pos_only_catalog_visibility sets the catalog visibility WCPOS writes for a POS Only product. It receives hidden and the product. Return one of WooCommerce's catalog visibility keys (visible, catalog, search or hidden) to apply that instead, or null to leave the product's catalog visibility to you. It only changes what WCPOS writes into Catalog visibility: the storefront rule above still applies, so pair it with wcpos_hide_pos_only_products if a POS Only product should appear somewhere online.

add_filter( 'wcpos_pos_only_catalog_visibility', function ( $visibility, $product ) {
if ( has_term( 'club-stock', 'product_cat', $product->get_id() ) ) {
return null; // I manage catalog visibility for these myself.
}
return $visibility;
}, 10, 2 );

wcpos_default_product_visibility sets the POS visibility a new product starts on in the editor. It receives '' (POS & Online) and the post; return pos_only or online_only to start new products there.

Before WCPOS 2.0 these filters were named woocommerce_pos_hide_pos_only_products, woocommerce_pos_pos_only_catalog_visibility and woocommerce_pos_default_product_visibility. The old names still work, but are deprecated since 2.0 and removed in 2.2 at the earliest. See Hook naming.