Item label template: try printing UPC/EAN before falling back to systemID?

I'd like to edit my item ticket template to default to using user generated fields instead of the system ID when generating the barcode. I can get the upc field to print as a string on the ticket, but not as the UPC.

I've read this post, which implies that some version of what i'm trying to do is possible, but I haven't seen any examples with if statements.

https://community.lightspeedhq.com/en/discussion/comment/4240#Comment_4240

Below is a pseudocode version of what I'm trying to do:

if upc: print upc
elif EAN: print EAN
elif Custom SKU: print custom sku
else print systemID

Is this functionality possible? if so can anyone point me in the right direction?


Sign In or Register to comment.