postmeta

Download
WooCommerce POS
  • Roadmap
  • Docs
  • Demo
  • Upgrade to Pro
  • Support
  • Login

Custom Barcode Field

July 16, 2015 by kilbot 24 Comments

By default WooCommerce POS will use the SKU field as the barcode. If you wish to use a custom barcode field you can use the woocommerce_pos_product_barcode filter combined with the get_post_meta function. See below for an example of how you might use your own custom barcode field.

https://gist.github.com/kilbot/88cbd3ac5613eca90eea

Please note: a barcode must be unique for each product.

Tagged With: barcode, filters, postmeta

Search

WooCommerce POS

  • Download
  • Upgrade to Pro
  • Demo
  • Blog
  • Roadmap
  • FAQ
  • Documentation
  • Translate
  • Support
  • My Account

Connect

© 2025 · The Kilbot Factory · Terms & Conditions