App reviews, troubleshooting, and recommendations
Hey folks! We would like to have a barcode generated in our Order Printer template so that staff can easily scan the barcode at the point of sale in order to access the order and mark it as picked up / fulfilled. The barcode currently is generated using a 3rd party website, and is just the 1D version of the order number. We learned the website doesn't allow commercial use of this and wants to charge an amount that we find isn't worth it. So, we were wondering if anyone knows of any options for this fairly simple thing. I'm a little surprised honestly that Shopify doesn't provide this feature natively, but maybe they will in a future update.
Here is the current line of code we need to replace in our template:
<img src='https://barcode.tec-it.com/barcode.ashx?data={{ order.order_number }}&code=&translate-esc=false&unit=Px&imagetype=gif&rotation=270&qunit=Px&quiet=10&modulewidth=2&height=80" alt="BARCODE" border="0" width="30" height="80'>
Note that it points to the barcode.tec-it.com website, feeds in the order number to it, and gets the 1D barcode in return. Also note that we need 1D version, not 2D (our scanners are old and can't read QR codes).
Hoping that someone has a solution out there.
Cheers!
Solved! Go to the solution
This is an accepted solution.
This is what we ended up replacing it with. For the moment at least. We'll probably fiddle around with the size and orientation some. But this inside of Order Printer is working now.
<img src='https://bwipjs-api.metafloor.com/?bcid=code128&text={{ order.order_number }}&includetext&scale=1'>
Hi @PunkOuter 👋 you'd be looking for an app that can at minimum generate barcode-images with predictable filenames in the files admin when an order is created/updated.
i.e. {{ 'order' | append: order.order_number | file_img_url }} .
or supplant everything with custom pdfs generated from HTML that can use free barcode-fonts*.
As this isn't just "code" you need to replace this is IMAGE GENERATION.
charge an amount that we find isn't worth it.
Unless you have some sort of internal development team or the budget to hire out having to roll your own dynamic barcode generation stack and maintain it then this can turn into a charge you'll find isn't worth it even more-less.
https://github.com/topics/barcode-images
It's either trying find a suitable replacement api, building custom, or just use the thing that already provides value in facilitating business processes so you don't have to burn the time re-inventing it.
https://www.google.com/search?q=1D+barcode+image+generation+api
Very roundabout workarounds,
Maybe if the hardware printer is advanced enough barcode fonts might work as part of the template??? 🤔 . Or doing something like using excel, etc to generate the barcode images then upload them to the shopify files admin and reference them by a filename convention that uses the order number.
*doubtful but maybe in apps like mechanic use file generators to make pdfs but it needs to be able to extract an image from inside the pdfs.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Thanks for the quick reply, but most of that went right over my head, haha. I was hoping there was already a solution provided by Shopify (or an app) as generating a barcode from a few numbers looks to be something a million websites allow people to do for free via their public websites. I guess what you are saying is it's not easy to do? To take in a string of numbers, convert that to a barcode, and return it as an image like in my example? If so, that's a bummer!
Actually, the search link you helped showed a Reddit thread where someone else had a solution (not specifically for Shopify users, but I was able to modify it some to get it working for our Order Printer app made by Shopify. So all is well. Thank you very much!
@PunkOuter Great to hear barcodes are a miasma to work out.
You can respond to your own post with elaboration/links for future merchants and mark that as a solution!
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
This is what we ended up replacing it with. For the moment at least. We'll probably fiddle around with the size and orientation some. But this inside of Order Printer is working now.
<img src='https://bwipjs-api.metafloor.com/?bcid=code128&text={{ order.order_number }}&includetext&scale=1'>
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024