Skip to main content
Version: 1.x

General Settings

The General Settings page allows you to configure core WCPOS functionality. These settings affect how products are displayed, how quantities are handled, and how barcode scanning works.

General Settings in the WP Admin

General Settings in the WP Admin

Enable POS Only Products

This setting adds visibility options to your products, allowing you to control whether they appear in your online store, POS, or both.

Performance Impact

Only enable this setting if you need to hide products from either your online store or POS. When enabled, it adds an extra database lookup for every product request.

For detailed information on using this feature, including how to set visibility on individual products and bulk editing, see POS Only Products.

Enable Decimal Quantities

This setting allows customers and staff to enter decimal quantities when adding products to the cart.

Examples of decimal quantities:

  • 0.25 (quarter unit)
  • 1.5 (one and a half units)
  • 2.75 (two and three-quarter units)

Useful for:

  • Products sold by weight (e.g., 0.5kg of coffee beans)
  • Fractional services (e.g., 1.5 hours of consultation)
  • Bulk products that can be sold in partial quantities

Automatically Generate Username from Customer Email

When enabled, WCPOS will automatically create usernames for new customers based on their email addresses during checkout. This streamlines the customer creation process and ensures consistent username formatting.

Default POS Customer

Select the default customer that will be assigned to new POS orders. Common options include:

  • Guest: Orders are not associated with any user account
  • Cashier: Orders are associated with the logged-in cashier's account
  • Walk-in Customer: Orders are associated with a specific customer account (you'll need to create this account first)

Use Cashier Account

When enabled, the cashier's user account will be used as the default customer for POS orders instead of the selected Default POS Customer.

Barcode Field

This setting determines which product field WCPOS will search when scanning barcodes or using the barcode search functionality.

Important: Clear and Refresh Required

After changing the barcode field setting, you must clear and refresh your product data in the POS for the change to take effect.

How to Clear and Refresh:

  1. Go to the Products screen in your POS
  2. Long press the sync icon (↻) at the bottom of the screen
  3. Select "Clear and Refresh" from the context menu
  4. Wait for the products to reload with the new barcode field data

This is necessary because the POS caches product data locally, and changing the barcode field setting doesn't automatically update the cached data.

Default Option

_global_unique_id - This is WooCommerce's Global Unique ID field, introduced in WooCommerce 8.2 (July 2024). It's designed to store GTIN, UPC, EAN, or ISBN codes and is the recommended option for new installations.

Other Common Options

_sku - The product SKU (Stock Keeping Unit) field. This is a good fallback option if you're not using the Global Unique ID field.

Third-Party Plugin Meta Keys

If you're using a barcode management plugin, you may need to use their specific meta key:

Plugin TypeCommon Meta KeysDescription
EAN Plugins_ean, _ean13, _ean8European Article Number codes
UPC Plugins_upc, _upc_codeUniversal Product Code
GTIN Plugins_gtin, _gtin13, _gtin14Global Trade Item Number
Generic Barcode_barcode, _product_barcodeGeneric barcode fields
WooCommerce Product Barcodes_barcode_textPopular barcode plugin
ATUM Inventory_atum_barcodeATUM inventory management

Finding Your Plugin's Meta Key

To find the correct meta key for your barcode plugin:

  1. Edit a product in WP Admin
  2. Add a barcode using your plugin
  3. Check the plugin's documentation for the meta key name
  4. Or inspect the database wp_postmeta table to see what meta key was created

Custom Meta Keys

You can also use any custom meta key that stores barcode data. Simply enter the meta key name (including the underscore prefix if applicable) in this field.

tip

Test your barcode scanning after changing this setting to ensure it's working correctly with your chosen field. Remember to clear and refresh your product data in the POS for the change to take effect.