Concatenate (Add) Two Variables And convert to Barcode

0

Hi, is it possible to concatenate two variables and then convert all of that to a barcode?

For example, {{shipment.order_number | barcode: 'code128'}} will add the order number as a barcode on my packing slip. But I want to be able to add or prepend a letter or other text before the order number, and then have all of that be converted to one barcode.

For example, this is how I imagine it somehow working:

{{shipment.order_number + 'TestString '| barcode: 'code128'}}

If the order number were 1234, then the resulting barcode would be created from a string that was 1234TestString

Does that make sense?

0

Hi Spencer,

Thank you very much for posting in our forums. I will be happy to log your request however, would you be able to share more information regarding the type of information you would want to add to the barcode?

Any use-case information you can provide will help us to understand your needs better.

Thank you.

Comment actions Permalink

Add a Comment

Please sign in to leave a comment.