कस्टम बारकोड फ़ील्ड
डिफ़ॉल्ट रूप से WCPOS बारकोड के रूप में SKU फ़ील्ड का उपयोग करता है।

WCPOS Pro उपयोगकर्ता WP Admin > POS > Settings > General में एक बारकोड फ़ील्ड का चयन करके किसी भी उत्पाद मेटा फ़ील्ड का उपयोग कर सकते हैं।

कस्टम बारकोड मेटा फ़ील्ड को woocommerce_pos_barcode_meta_key फ़िल्टर का उपयोग करके भी सेट किया जा सकता है।
functions.php
/**
* Custom product meta field to use as barcode
*
* By default WCPOS will use the SKU field- '_sku'
* You can change the meta key using the following WordPress filter
*
* Below are meta fields from popular barcode plugins
* '_ywbc_barcode_value' - YITH WooCommerce Barcodes Premium
*/
function my_custom_pos_barcode_meta_key(){
return '_barcode'; // change for your custom meta key
}
add_filter('woocommerce_pos_barcode_meta_key', 'my_custom_pos_barcode_meta_key' );
खतरा
एक बारकोड प्रत्येक उत्पाद के लिए अनिवार्य रूप से अद्वितीय होना चाहिए।