Please consider leaving a donation if you appreciate this information. Lightning network now available
By default, the WooCommerce LightSpeed POS will use the item id from LightSpeed as the product sku on your WooCommerce shop. You may wish to use the custom SKU on LightSpeed instead. The good news is that when a product is imported from LightSpeed to WooCommerce the initial data associated with that product is stored in the product meta with a key of _wclsi_ls_obj so you can access this meta to get the value from the custom SKU field that is on the lightspeed account. Then, LightSpeed POS integration provides a filter that can be used to set that when updating the product from LightSpeed. See this snippet below for an example of how this might be achieved:
Not sure what to do with code snippets? See What Do I Do With These Code Snippets?
Please consider leaving a donation if you appreciate this information. Lightning network now available
Saci112 says
Hi Will,
Great solution! I have searched the internet and have not found any subject about this. Can you tell me if it is possible to use this for a another field of LightSpeed? I want to use UPC/EAN code to be imported from Lightspeed to Woocommerce.
I hope to hear from you.