Forums
Engage with the Storenvy community to get help when you need it—or just to have a good time. Start with any of the categories below.
Ever need to go in at the end of the week or even a big day and print multiple orders at once and get frustrated at how long it takes.. me too. So I made a hackey little bookmarklet to scrape the list of orders on the screen and open a tab for every one of those orders' packing slip. Then I use a firefox plugin to print all tabs at once. Here's how it's done.
First. Bookmark this very page (in firefox) and save the bookmark as something like "Print Orders". Got it. Good. Now you should see that bookmark in your bookmarks bar. If not then figure out how to get it there.
Once it's there then right click and choose properties.
Change the "location" property to the code that is on the following page.
http://futurehat.com/gearheadshirts/printorders.html
That may look like gobbelty gook.. and it is pretty nasty.. but just trust me. Once that's in the location field then click save and close that out.
Now. Go to your open orders. You may have one page or you may have several, this operation will have to be performed on every page individually.
For the next step I recommend that the only tab that you have open in that window is the open orders page because we're about to make a TON of tabs.. or a couple if you don't have many orders.
So just click that bookmark that we made and watch a new tab open for each of the orders listed on the page. Pretty cool eh? Now you can go grab the universal print plugin for firefox from https://addons.mozilla.org/en-US/firefox/addon/universal-print/ and that will allow you to print every open tab at once.
If you are a freak like me then you will print them all to PDF then combine all of those to create one big PDF for packing time so you don't have to waste paper if it's not needed.
That's it.. I'd be glad to answer questions if anyone has any.. if not.. enjoy!
2 Replies
Oh freakin bummer.. my JS line got all messed up.. let me try again.
<pre>javascript:jQuery(".view_order").each(function(){link='https://gearhead.storenvy.com'+jQuery(this).attr('href')+'/packing_slip';console.log(link);window.open(link,'_blank');});</pre>
This is just making me look dumb now.
Just go here and copy the code http://futurehat.com/gearheadshirts/printorders.html
Please log in to comment.