I needed to upload a bunch of asset file for a client yesterday but could not do it via a theme copy as they have hit their limit of 8 themes installed. So with that in mind I made a quick add on that gives us drag and drop uploads for asset files.
Grab the files, drag to browser, drink some vodka, done!
I'll need to test this a bit more (happy to break my stuff -- not yours) so expect it hitting the public version next week or so.
Never get tired of that gif.
@Caroline -- for what's been done so far it's pulled together pretty well. Darn useful and I don't think I could do site edits without it now. Metafields especially just feel easier.
There's still a couple of things that don't work neatly (due to how the views are constructed, and getting the modal windows to fire) but I'll tinker with those over time.
Starting to test the bulk addition of empty metafields. I'm just firing it from a button now but I will hook it into a form soon. Essentially this will loop through all products and add an empty metafield to the product if it does not have a matching one.
Saves you have to re-type the same thing over and over again for namespace and key. Not my idea -- this was an awesome suggestion.
@Jason, your metafields feature is saving my life right now with an important project.
We have 2 apps in the store to edit metafields, a free app and a pay one. The free one as far as I can tell does not let you edit metafields or delete them, just add more. The pay one adds a metafield onto all products, and then lets you edit the valuenof that metafield on each product one by one, that's cool but for my purpose that does not work. Also, the pay one does not add links to each product page as far as I can tell. I may just be too dumb to use those apps, not sure.
I understood your stuff right away.
Awesome to hear that it's proving useful -- and not just something that appeases my own needs. I've only got a small user base for this so the more feedback and suggestions the better.
If there was a real bonus out of this it's that clients are finding the process of editing metafields easier and less confusing. That means I can go a little metafield crazy without fear of leaving them lost on how to change stuff after the project ends. Some clients have their own custom build which adds tailored input boxes on product pages to save them having to enter the namespace or key.
Crazy question: have you figured out how to add a resource picker, that paginated widget found on many pages in the admin, it looks like the attached image.
Where I am going with this is: a product picker on the product page could let you hand-pick related products to show on each product page. Up to 3 or 4 pickers for 3 to 4 related products.
No, but you've got me curious as it's a decent idea. It would be a shame to have to recreate it so I'll poke around and see what's what. Initially, it looks like the Shopify.ResourceSearchView function is a starting place for me to check.
To be fair, I've only dug part way through the compiled (and compressed) admin2.js file as it's quite a brain melter to follow. Have to love all the variables with names like, a,b,c, etc. Some of those things are tucked away within their own private functions, along with private callbacks so I can't see a clean way to be able to fire them.
(I also have to figure out how to control the batman.js views cache, and the modal box content but that's a side issue)
|an hour ago|
|an hour ago|
|2 hours ago|