Set SKU as barcode field
-
Hi there,
I wanted to use the SKU attribute as the barcode used in Zettle.
Checked your documentation and the other threads and used Code Snippets to run the following script with priority 10:add_filter('zettle-pos-integration.barcode.value', function (string $barcode, \WC_Product $product): string { return $product->get_meta('_sku'); }, 10, 2); add_filter('zettle-pos-integration.barcode.standard-input-ui-enabled', '__return_false');
Nevertheless the SKU still can’t be used as the barcode and in the Zettle App the barcode field on products is still empty. What am I missing?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Set SKU as barcode field’ is closed to new replies.