d
Topic
Posts:
266
Last edited May 16, 2013

TextMate Shopify Bundle This post is outdated

Hey

I've put together a shopify textmate bundle which allows downloading/uploading of theme assets from within textmate. Next best thing to having FTP access. Thought some people might find it useful. 

You can read more about the full details here: http://github.com/meeech/shopify.tmbundle

Windows People: The bundle v1.0.5 is E-texteditor compatible. readme for the e-texteditor version for more info. A better option might be to have a look at Sublime Text 2 and the Shopify bundle created for that.

There's also a good page on the Wiki

But in a nutshell, offers:

  • Download Theme: Will download the entire theme from Shopify. Useful when you just getting started to download the whole Theme.
  • Update Current File From Shopify : Will replace the contents of the file you are working on with the file from Shopify.
  • Update Selected Files from Shopify : Will fetch the files you have selected in the Project Window from Shopify.
  • Send Asset to Shopify ( ⌘U ): Will save the document you are working on, and upload to shopify. Used for text assets.
  • Send Selected Files to Shopify : Will upload any files you have selected in the Project Panel to Shopify. This is what you want to use to upload a bunch of files at once.
  • Remove assets from Shopify: Will remove the selected assets from Shopify server. Certain .liquid files cannot be removed (index, theme, page, product, blog, collection
  • Switch Shop : Now supports config for multiple shops on one project, allowing you to easily switch between them.  
  • Open Wiki Liquid Page (TM Only)
  • Open Store Admin In Default Browser (Textmate only)

feedback welcome.

Thanks

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
i
Replies
Posts:
1108
July 20, 2010

Wow, that is very cool!

Now I really wish I had a Mac!!

Take a look at our Apps: www.bookthatapp.com ♥ www.searchifyapp.com ♥ www.productsassistant.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
July 20, 2010

Tha bomb!

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
3766
July 20, 2010

Any plans to add Liquid syntax highlighting?

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
Posts:
266
July 20, 2010

Thanks.

@HunkyBill - Not really. A liquid bundle already exists. Use Get Bundles to install it

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
Last edited July 20, 2010

Oh, @gavin: http://www.e-texteditor.com it will work with most bundles.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
1108
July 20, 2010

@Jamie thanks for the link. Will check it out.

Take a look at our Apps: www.bookthatapp.com ♥ www.searchifyapp.com ♥ www.productsassistant.com
Posts:
3766
July 20, 2010

I love it when companies make products like e-texteditor, The Power of TextMate for Windows. Anyone who codes with Textmate OSX even a little... knows it has it's share of annoyances/bugs/busted things. Did they lovingly make sure the Windows version has those too :)

 

 

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
Posts:
266
July 20, 2010

I haven't used e-texteditor myself, but the bundle scripts are all php. so provided they have an environment to support that, they should work. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
17
Last edited July 20, 2010

Nice work meeech. Definitely will check this out.

Bubalicious Baby Boutique - www.bubalicious.com.au
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
July 20, 2010

Did they lovingly make sure the Windows version has those too :)

I can assure you they are all included at no extra charge :P

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
320
July 20, 2010

Very cool, I'm going to give this shot a little later this week Meeech

I run the online stores SilkArtificial.com and SnapFlyers.com | Shopify cheat sheet cheat.markdunkley.com Follow me twitter.com/markdunkley
Posts:
494
Last edited July 28, 2010

Thank you, mr. meeech!

Tetsu

www.tetchi.ca | www.twitter.com/t3tchi
Posts:
320
August 18, 2010

This is really awesome Meeech.

We wrote a few more instructions on our wiki http://wiki.shopify.com/Shopify_Textmate_Bundle

I run the online stores SilkArtificial.com and SnapFlyers.com | Shopify cheat sheet cheat.markdunkley.com Follow me twitter.com/markdunkley
Posts:
5840
August 18, 2010

Hey Mark, do you think we could add a link to that cartoon in your (awesome) wiki? :-) love it.

 

Caroline from http://11heavens.com ∴ mllegeorgesand AT gmail DOT com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
August 18, 2010

LOL. I missed the testu toon! :P

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
Last edited August 18, 2010

Ah very awesome. Thanks.

I will update the readme to link to that page of the wiki.

One suggestion: Might be worth mentioning Get Bundles bundle, and suggesting people just use that.

The reason I suggest that is it makes it much easier to have the most up-to-date copy. ie: When I resolve these 2 issues: http://github.com/meeech/shopify.tmbundle/issues then people will get the updated copy automatically. 

 

Unfortunately, get bundles seems to just be a svn checkout: http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/

(Don't know if it comes with TM by default (it didn't exist when I first got TM))

Also, thats also the easiest way i know to get the Liquid bundle.

thanks,

m

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
August 19, 2010

Hey. For those following, bundle has been updated.

Download full theme now ignores .css files when the .css.liquid file exists. You can read more about the relationship between .css and .css.liquid files here: http://forums.shopify.com/categories/2/posts/40499

Added a new command to allow downloading of the rendered .css from a .css.liquid file. ie: Using this new command on your theme.css.liquid will download a copy theme.css.

Added more friendly messaging if you don't have any of the required variables set.

thanks,

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
mattmikulla Shopify Partner mattmikulla.com
Posts:
390
August 21, 2010

Super awesome @meeech.

Can anyone point me in the direction on how to create a sandbox shopify store so I can work on a shop using an existing database? I believe you need to be in the partner program.

I'm hoping your textmate bundle can really help in making design updates easier since vision isn't updated and doesn't support product databases.

 

Fine Art and Photography by Matt Mikulla --> http://mattmikulla.com
Posts:
266
August 21, 2010

Hi matt. 

Yes, I think to make a test store, you need to join the partner program. From what I recall, it's pretty easy to join, you just sign up. 

Once you've done that, just export your products from your real store, and import them into your test store. The biggest issue you may face is that test stores are limited to 100 SKUs.

hope that helps, 

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
mattmikulla Shopify Partner mattmikulla.com
Posts:
390
August 30, 2010

@meeech. Just installed the bundle. You freakin' rock.

Fine Art and Photography by Matt Mikulla --> http://mattmikulla.com
Posts:
5840
August 30, 2010

Matt, Meeech and all.

We have been trying to better organize our tutorials. (And, by doing so, it motivates me to add more tuts, and to see more clearly where the lacks are.) Meeech's bundle tutorial by Mark was added to the Design tools section: http://wiki.shopify.com/Tutorials#Anatomy_of_a_Shopify_theme_and_Design_tools

Caroline from http://11heavens.com ∴ mllegeorgesand AT gmail DOT com
khedaywi Shopify Partner www.khedaywi.com
Posts:
27
August 30, 2010

Awesome work! Many many thanks!

www.khedaywi.com | www.IndestructibleDog.com
mattmikulla Shopify Partner mattmikulla.com
Posts:
390
August 30, 2010

I noticed the tutorial section is getting much better. Well done.

Fine Art and Photography by Matt Mikulla --> http://mattmikulla.com
Ss Shopify Expert www.reconfigure.ca
Posts:
93
September 09, 2010

Oh man this is awesome! Seriously, wow.

http://reconfigure.ca
Posts:
3766
September 23, 2010

Chipping in a Thanks!

Nice Textmate bundle! Hydrozen mentioned it to me, and it twigged me to try it out. Nice workflow with Textmate and theme editing. Might try and do same for Vim now as I am on a Vim kick again. 

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
Posts:
266
September 23, 2010

@ss thanks

@hunkybill thanks, should be easy enough to port over to vim. its just some php.

If anyone who does more theming than i has some features suggestions/requests, let me know. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
September 23, 2010

@Mitchell FYI I just got two iMacs in large part so that I could put your package to work. Still getting my head around everything textmate, trying to get git installed and talking nicely with my github acct etc. and then your bundle will get installed. Wish me luck! :-) 

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
September 23, 2010

@jamie cool. let me know if you need a hand or have any q's. 

I also recommend first bundle you get is the getbundles bundle for textmate, and then use that to install the shopify bundle, as well as the liquid bundle. You can find instructs for installing getbundles here: http://al3x.net/2008/12/03/how-i-use-textmate.html

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
nero Member
Posts:
3
October 08, 2010

Hi Meeech,

 

Any instructions on how to enter the API key and other data in E?  I can't seem to find it anywhere.

 

Thanks.

Posts:
266
October 11, 2010

Hi Nero,

Unfortunately not. I don't have any experience with E. 

Just have reports that E is much like textmate, but for PC.

If E. doesn't support setting project variables in the same fashion, you could in theory modify the file Support/vars.php - lines 4,5,6 hold the values for the API, store, password, so you could hard code yours for the project you are currently working on.

If you find a better way to work with it for e, let us know.

hope that helps, 

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
nero Member
Posts:
3
October 13, 2010

Thanks for the info Meech.

The truth is that I've barely scratched the surface on E's capabilities and only have basic bundles.

Would this be the correct format?

$api_key =  'Api Key obviously';
$password = 'The pwd from the API, not the store password I assume';
$store = 'everything after the @ in the example URL';

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 13, 2010

You can set project variables in e in pretty much the same way. Just click on settings in project view.

http://www.e-texteditor.com/wiki/index.php/Projects

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
October 13, 2010

perfect.

thanks jamie.

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 13, 2010

No Problem. If/when I have time I still have a laptop with e on it and I can see if I can get the bundle working. No promises on time line though.

http://shopifyplus.com ::: http://twitter.com/bacchus
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
Last edited October 15, 2010

Hi Mitchell!

I have a question. I can upload single selected liquid files or assets just fine, but when I cmd+shift+u to upload a batch of selected files to the server I get a bunch of warnings and failures:

<!-- p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Lucida Grande'} -->

Warning: file_get_contents(Themes/Blue-River-Flies/templates/page.liquid): failed to open stream: No such file or directory in /private/tmp/temp_textmate.gQvREo on line 23 Sending asset: templates/page.liquid...

Uploaded: templates/page.liquid

Warning: file_get_contents(/Users/admin/Documents/Shopify): failed to open stream: No such file or directory in /private/tmp/temp_textmate.gQvREo on line 23 Sending asset: Documents/Shopify...

*Error: Could not upload Documents/Shopify.

404

 

Have I missed a step in set-up or configured something wrong? Other than that I have this running great for about 10 projects. Can't thank you enough for creating this and along with Caroline pushing me into my Mac. Plus Mark can't make fun of me anymore :-)

 

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
October 15, 2010

Hey Jamie, 

can you try making your project only the one folder for the theme itself and see if that problem persists. 

It looks like you are trying to upload from 2 different spots, and I suspect it's confused.

I'm attaching a pic of how my theme is setup with a project.

The textmate project was created by dragging the klocko folder initially onto textmate.

let me know if that doesn't help, maybe we can try something else to figure it out. 

Screen shot 2010 10 15 at 2.00.29 pm thumb
meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 15, 2010

I will try re-creating this project starting with the base theme folder.

So my basic workflow:

  • create project
  • drag folder to project pane, then download full theme to get my overwrite?

Off question, what TM theme are you using? I am not happy with mine after staring at it for 60 hours this week.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
October 15, 2010

Instead of drag folder to project pane, just drag folder onto textmate icon, and it will open as a new project. 

i use lowlight theme, with some tweaks (like the row highlight color) and recently switched to the font monofur

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
nickboyce Shopify Partner
Posts:
3
October 26, 2010

Thanks for the work on this meeech - it really streamlines the development process.

I had the same problem @Jamie did when my project folder had a space in the name. i.e. if the folder was called "Test Project", it would try to look for a folder called "Test" and a folder called "Project".

Solved by removing the space!

 

Posts:
266
October 27, 2010

nick - thanks.

I'll  look to fix that, since it shouldn't cack out when there's a space in the folder name. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 29, 2010

Hi Mitchell!

I know you're doing this simply because you love us, it's great as is but I'm still going to make a request ;P

Is there anyway to upload my project and have it simply overwrite what is in the theme altogether? Maybe I am fighting it here, but what I would like to do is when I delete an asset have that reflected on the server. An "upload entire theme" sort of function.  I'm assuming this isn't possible or would be difficult to implement and therefore isn't there, but I'm asking all the same :-)

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
October 29, 2010

Hey Jamie, 

Actually, I encourage feature requests from people who use it day in and day out. :) you'll have a better idea of pain points in the workflow.

It's actually doable, i'll add it to the list. Basically the reverse of Download Full Theme. Though, for simplicity sake, i might make it more explicit, and require you pick the folder and it will then replace that. 

I'll add it to the list (i'll prolly only have time to look at this next week) 

http://github.com/meeech/shopify.tmbundle/issues/issue/8

general note: can always submit feature reqs to the issue tracker on github. i'm ok with that.

m.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 29, 2010

Also I'm still getting warnings and I am not sure why. I cmd+s then cmd+u and get a no-no beep. So I hit cmd+shft+u and get the error even though the file uploads to assets in the end. eg:

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px 'Lucida Grande'}

Warning: file_get_contents(/Users/admin/Documents/Shopify): failed to open stream: No such file or directory in /private/tmp/temp_textmate.Tomr0h on line 23 Sending asset: Documents/Shopify...

*Error: Could not upload Documents/Shopify.

404

Warning: file_get_contents(Themes/Fifi-Deli/assets/js_ddpng.js): failed to open stream: No such file or directory in /private/tmp/temp_textmate.Tomr0h on line 23 Sending asset: assets/js_ddpng.js...

Uploaded: assets/js_ddpng.js

Done.

 

 

http://shopifyplus.com ::: http://twitter.com/bacchus
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 29, 2010

general note: can always submit feature reqs to the issue tracker on github. i'm ok with that.

Cool! I'll do it there :P

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
October 29, 2010

re: error Only thing I can think of offhand is that its too nested? 

Can you open an issue on github with this info, and a screenshot of your project window, and we'll work on solving it?

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 29, 2010

Will do! :-)

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
November 01, 2010

Hey Jamie. Found the bug. Its been resolved. If you use getbundles, you can just force the update. Was basically how I was exploding out the names. Should be ok now with space in the folder name. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
November 01, 2010

Thanks for the update Mitchell! I'll update right now before I start working. I'll keep you posted on github.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
November 02, 2010

hey

Added ability to remove selected files from Shopify server using the bundle. 

@jamie: It's not a sync full theme function, but will allow you now to remove files via the bundle. Hope that helps.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
November 02, 2010

That's a great addition Mitchell. Thanks! I'll be using it today.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
12
November 09, 2010

Thank you meech! I didn't realize this was such a recent addition -- I used to copy and paste : )

Blog: http://yuji.wordpress.com -- Bamboo iPhone Cases: http://www.grovemade.com
Ss Shopify Expert www.reconfigure.ca
Posts:
93
November 12, 2010

Added ability to remove selected files from Shopify server using the bundle and getbundles...

Good shit, you rock man.

http://reconfigure.ca
Posts:
671
November 27, 2010

Has anyone got this working with e-texteditor (or intype) for windows? I am failing!

I'm a million different people
Posts:
266
November 29, 2010

Hi Ricky, 

I haven't heard of anyone getting that working yet. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
November 29, 2010

I have been too busy to crank up the dell laptop and experiment with it Ricky. Sorry. Worth a shot though. Almost all bundles worked for me so I think there's a good chance you'll be fine.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
5
December 23, 2010

Hi guys,

I hope this is the right place to ask this.  I have installed the textmate bundle. However, every time I run "Get full theme" I get the following error (I have replaced my key and password for security reasons):

Getting theme asset list...

Error: Assets list not returned. Could just be a temporary error. Feel free to try again.

Req Url: http://[api_key]:[api_password]@https://stephentashkaya.myshopify.com/admin/assets.json

If I paste the URL above into a broswers it resolves to this: http://https//stephentashkaya.myshopify.com/admin/assets.json

If I remove the second (malformed) https// and use this URL instead: https://stephentashkaya.myshopify.com/admin/assets.json the assets are returned correctly.

Is there something wrong with my setup or is this a know issue?

Thanks,

Stephen

Posts:
266
December 24, 2010

hi stephen,

I think the problem may be that for your SHOPIFY_STORE value you are putting https://stephentashkaya.myshopify.com

try just putting stephentashkaya.myshopify.com

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jay Ward Member
Posts:
7
December 25, 2010

I have created a few improvements to this bundle.  If anyone is interested I would be happy to share the changes.

  • Growl Support.  Transfer functions will now notify via Growl of success or failure in addition to the tooltip.
  • Two sets of credentials.  If the environment variable "SHOPIFY_THEME" is set to "test", it will pull API credentials from the alternate variables "SHOPIFY_API_KEY_TEST", "SHOPIFY_PASSWORD_TEST", and "SHOPIFY_STORE_TEST".  This is useful if you use a development shop to test your changes.  By simply checking or unchecking the SHOPIFY_TEST environment variable in the preferences, you can switch which shop the files are uploaded to.

 

Posts:
266
December 25, 2010

Hi jay, 

if you want to post them to a fork on github i can look to merge them in.

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
taulant Member
Posts:
26
Last edited December 27, 2010

I'm also trying to get the bundle to work on a PC with e-texteditor, but with no success.  I already have it working with TextMate on my Mac but sometimes I can only work from a PC, so getting this to work would be great.

I downloaded the bundle from github as a zip file and copied it to the e-texteditor Bundles folder. 

Then I set up the Project environment variables (shopify api keys).  I can see the Shopify Bundle under Bundles but when I try to "Download Full Theme", I get the following error message:

PHP Warning: require_once(C:\Users\xxxxx\AppData\Roaming\e\InstalledBundles\meeech-shopify.tmbundle\Support\vars.php): 
failed to open stream: No such file or directory in C:\Users\xxxxx\AppData\Roaming\e\tmcmd on line 3 PHP Fatal error:
require_once(): Failed opening required
'C:\Users\xxxxx\AppData\Roaming\e\InstalledBundles\meeech-shopify.tmbundle\Support\vars.php'
(include_path='.;C:\php5\pear') in C:\Users\xxxxx\AppData\Roaming\e\tmcmd on line 3

It would be great if we can get this to work for e-texteditor on a PC since not everyone uses a Mac.

Has anyone been able to get this to work?

 

Posts:
3766
December 27, 2010

Looks like you have a problem using PHP and not necessarily the bundle from Meech... have you tried debugging your PHP first? File not found problems are pretty easy to fix. Find the file and put it in the right place. 

 

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
taulant Member
Posts:
26
December 28, 2010

@HunkyBill  Do I need to have a running local install of PHP for this Bundle to work on the e-texteditor? 

Not sure if I'm missing something here, but all I tried to do is run Meech's bundle after copying the files to the e's Bundles folder and setting up the api environment variables.  No custom php or anything on my end.  Looks like it's breaking here

include_path='.;C:\php5\pear'

maybe i need a local pear install?  again, no idea, but it would be great if someone got this to work on a PC and could share their success story.  And even better, with instructions appended to the current TextMate wiki :)

Happy Holidays!

Posts:
266
December 28, 2010

Hi Taulant,

looks like you are making some progress - since its complaining about a require, means you have php part working at least :)

The file its complaining about comes as part of the bundle.

Based on the error, it looks like e uses tmcmd to run the bundle script.

For some reason, its saying the vars.php file doesn't exist.

I dont think there's anything pear you are missing.

You could try adding the bundle support folder to your path, but dunno if that would really help.

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
December 28, 2010

Ok, so I've spent a few hours in my windows vm, playing with etext editor.

I think its doable to get the bundle working under windows, but i'm caught in a bit of a catch 22 with one aspect.

means I'll probably have to change how I'm doing some things, so probably won't see a windows compat release today. 

if anyone has any cygwin experience, and can field a q or two, that would be helpful

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
Last edited December 29, 2010

merry festivus (well, for the windows users).

so pretty much spent the day getting an e compatible version of the bundle together - its ~90% of the way there - all functionality is working, just have to clean up, write the guide for windows users, cross t's, dot i's... should be out in the next few days, depending on my schedule.

pic of theme downloaded via e-texteditor: https://skitch.com/meeech/rghua/ie7-pre-flash-running

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
January 02, 2011

update: the e-texteditor compat version has been made live.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
315
January 02, 2011

you're the best meeech.

Cheers

Alex

www.spicydesign.ca  http://experts.shopify.com/spicydesign
taulant Member
Posts:
26
January 03, 2011

thank you so much @meeech for your time and dedication in making this windows compatible!  it's definitely a huge plus that the bundle is compatible in two platforms now. 

happy new year!

Dorgo Member
Posts:
5
Last edited January 10, 2011

Hi Meech,

Any chance you could provide instructions on how to get PHP working with this?

e-texteditor installed or updated my existing cygwin installation.
I already have php, installed with xampp.

Trying to run any of the bundle commands I get:-

"/usr/bin/env: php: No such file or directory"

thob Member burg.cx
Posts:
203
Last edited January 12, 2011

Hi,

 

I'm getting the same error message like stephen101 while wanting to download the theme

 

Getting theme asset list...

Error: Assets list not returnedd. Could just be a temporary error. Feel free to try again.

Req Url: http://[]:[]@burg.myshopify.com/admin/assets.json

 

Any idea what's wrong?

 

Thanks Thomas

 

Thomas N. Burg | http://twitter.com/thobu | http://facebook.com/burgWeine
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
January 11, 2011

Thomas double make sure that you have not added any "http://" or "https://" to your SHOPIFY_STORE parameter. If you are using chrome, it does not display it, but it does copy it when you c/p.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
January 12, 2011

@dorgo,

unfortunately, there's not much help i can offer  beyond whats here:

https://github.com/meeech/shopify.tmbundle/blob/master/readme-windows.markdown

i'm not a windows user, so the best i was able to do was take a 'fresh' windows xp and do what i did. :/  

My best guess would be that cygwin isn't aware of your xampp php install, so thats why /usr/bin/env php fails. not sure how you would go about fixing that.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Dorgo Member
Posts:
5
January 12, 2011

Hmm yeah, I thought it was something like that.

I tried installing php via cygwin ports but it keeps failing.

some sort of path parameter in cygwin that i need to add the path to php?

Posts:
266
January 12, 2011

I couldn't say. :/

I went and installed PHP from here: http://windows.php.net/download/ - the VC6 x86 Thread Safe was what I used.

Can i suggest try posting on this thread: 

http://forums.shopify.com/categories/1/posts/45560

maybe other pc people will see that, and might have some advice.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
thob Member burg.cx
Posts:
203
January 12, 2011

@Jamie double-checked still the same error.

 

Thomas N. Burg | http://twitter.com/thobu | http://facebook.com/burgWeine
Posts:
266
January 12, 2011

@thob -  I am assuming you are using textmate? if you want to generate me an API key/pw , i can try to  download your theme to diagnose what may be wrong. if you decide to go that route, you can email to mitchell.amihod@gmail.com 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
thob Member burg.cx
Posts:
203
January 16, 2011

Ooops, mea culpa. Everything works. I had Little Snitch running and it didn't permit any connections on port 80 ;-(

Thomas N. Burg | http://twitter.com/thobu | http://facebook.com/burgWeine
Posts:
1
January 17, 2011

@Dorgo --

I don't know if you were able to get the bundle working with E yet or not, but if not, I was running into the same problem and was able to fix it by adding the path to xampp's PHP to my environment variables in Windows.

So (in Windows 7 anyway), it's under Control Panel > System & Security > System > Advanced System Settings > Environment Variables

In my case, I tacked on c:\xampplite\php to PATH in both my user variables and system variables and then the bundle works.

I hope that helps somebody.

Posts:
266
February 20, 2011

Update

Added some new functionality to the bundle.

The big one is Config File/Shop Switching.

Config file / Shop Switching support. You can now have multiple shop info in a project and switch between them. This should make life easier for people who work in a dev shop, and then have to deploy to a 'live' shop - see readme for details. 

Also added:

  • Open Store Admin In Default Browser (Textmate only) Exactly what it says.
  • Wiki: Liquid (TM Only) Opens the Shopify Liquid wiki page.

let me know if there's questions.

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
February 20, 2011

The big one is Config File/Shop Switching

This is great Mitchell! You just made my life so much easier. I have 4 shops that have test bed shops and this will super speed up my workflow. Thanks for the addition.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
February 20, 2011

coo.

let me know if you have any problems, or where i can make things clearer in the docs. that was one of my biggest concerns - not being able to explain it well - but I figure its for the more advanced users, and the old method still works.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
jburdi Member
Posts:
34
February 28, 2011

Hey guys - I finally got everything working for this on my windows machine. I had to go with an older version of the bundle, for some reason the newest version was giving me a bunch of errors.  Anyway, I'm happy to finally have it working.

My one issue is that html syntax highlighting is only working for theme.liquid.  All of the files in templates have no highlighting at all.  Any ideas?

jburdi Member
Posts:
34
February 28, 2011

Nevermind, I've figured it out.  I'm new to e, so I'm still learning my way around.  In the bottom bar I just clicked on "Plain-text" and changed it to HTML.

Posts:
266
March 01, 2011

@jburdi - cool. Unfortunately, for a few of reasons, I won't be able to support e-texteditor anymore (however, the bundle is open up on github, so maybe someone will fork it and support windows/e-texteditor). If you could post whats the last version that worked for you, that should help others out. 

thanks

m

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
March 05, 2011

update: this should be the final e-text compat version: https://github.com/meeech/shopify.tmbundle/zipball/v1.0.5

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
32
March 05, 2011

Meech, You are a legend, appreciate all your hard work, you have no idea how much time this saves me.

Accept donations?

Posts:
266
Last edited March 06, 2011

hey charles. thanks for the kind words. 

I do accept donations :)  

Via flattr https://flattr.com/thing/136430/Shopify-Textmate-Bundle&nbsp;

(they don't have much traction in north america yet, but I really like them - good system)

or via paypal - mitchell.amihod@gmail.com

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
March 24, 2011

New minor update - now will show you which shop / settings you are working on. resolved this issue: https://github.com/meeech/shopify.tmbundle/issues#issue/15

as usual, let me know if you have any problems

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
April 01, 2011

new update - support for Pages. more details here: http://forums.shopify.com/categories/1/posts/48132

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
April 01, 2011

Downloading now. Thanks Mitchell!!!

http://shopifyplus.com ::: http://twitter.com/bacchus
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
April 01, 2011

Just sent you a case of beer via paypal. Thanks for the continued updates!

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
April 01, 2011

thanks jamie! much appreciated. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
147
April 13, 2011

This is fully sick - cant believe I've been using Shopify all this time and not seen it lol, #fail. Took me a while to figure how to get the liquid bundle installed though - this was much easier than the whole git thing. Thanks for your efforts

Winners - 2008 McFarlane Prize for Excellence in Australian Web Design: http://mcfarlaneprize.com/ Finalists - 2007 McFarlane Prize for Excellence in Australian Web Design: http://mcfarlaneprize.com/ HQ: http://www.propellerglobal.com/ | Domains &amp; Hosting: http://domains.propellerglobal.com/ Shopify Stores: http://shop.proplaster.com.au | http://www.thekhalsaraj.com | http://www.productivegardens.com.au | http://www.elephantrose.com.au | http://www.stradbrokeweddings.com.au | http://www.solution-central.com.au
Posts:
266
April 13, 2011

Thanks Damien.

Sucks you lost time trying to get the liquid bundle. Hopefully one day I will find the time to integrate the liquid language into the bundle itself. Just isn't a priority since the solution out there is 'good enough' for now..  :)

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
mattmikulla Shopify Partner mattmikulla.com
Posts:
390
May 02, 2011

Not sure what happened but I can no longer upload files. So I started over and tried to set it up for multiple shops, which would be ideal for me.

Could you elaborate on this requirement in the setup instructions:

Requires json_decode / json_encode functions. Built into php 5.2 + greater.

Would my project need to be stored in a specific location to access the above?

Fine Art and Photography by Matt Mikulla --&gt; http://mattmikulla.com
Posts:
266
May 02, 2011

Hi Matt.

no, shouldn't require any special location for that. If you are able to download the files, then it should already be setup correctly. 

Do you get any sort of error message when trying to upload?

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
13
May 12, 2011

The Wiki article page disappeared : http://wiki.shopify.com/Shopify_Textmate_Bundle

I was following the instruction, and it suddendly vanished.
Erreur 6 (net::ERR_FILE_NOT_FOUND) : 

Any other place to follow instructions ?

Thanks,

 

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
May 12, 2011

It's coming up fine for me.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
13
May 12, 2011

It's works fine for me now. Sorry

Posts:
3
May 25, 2011

Anyone use Coda? I know a lot of developers do. I'd love the TextMate bundle to be converted into a syntax mode for that.

namastekid {{ http://www.namastekid.com }}
Posts:
266
May 25, 2011

@namastekid I don't have a recent version of coda, but from their literature page, seems like it might be doable.

You can try running the bundle through the Coda Plug-In Creator import function and see what happens. Not sure what 'syntax mode' is.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
brand-x Member
Posts:
4
Last edited June 07, 2011

I'd been using the bundle with a single shop with no issues, but have run into a problem trying to set things up for multiple shops.

For shop 'x' my .shopify-tmbundle file reads:

api_key="corret-api-key"
password="correct-password"
store="x.myshopify.com"

But when I try to upload, I get this error:

Warning: Invalid argument supplied for foreach() in /Users/me/Library/Application Support/TextMate/Pristine Copy/Bundles/Shopify.tmbundle/Support/config.php on line 107

Sending to

Sending asset: layout/theme.liquid...
*Error: Could not upload layout/theme.liquid to .

This domain isn’t set up yet.
Symlink your application to . first.

503
Done.

Any help would be appreciated!

 

 

Posts:
266
June 07, 2011

Hey brand-x 

Can you contact me via email to dig into this further? mitchell.amihod@gmail.com

Is that what your full file looks like? because it should be more like

 

 

use="default"

[default]

api_key="xxxx"

password="yyy"

store="klocko-and-sons3230.myshopify.com"

[live]

api_key="zzz"

password="qqq"

store="foo.myshopify.com"

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
brand-x Member
Posts:
4
June 07, 2011

Using your syntax, it's working - I had done a little editing I shouldn't have!

Thanks

Posts:
266
June 07, 2011

Great. glad it helped. 

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
4
July 09, 2011

Great Work by Meeech & Shopify!

but i couldn't get it worked. I am using Windows 7. E installed. meeech-shopify.tmbundle-v1.1.5-0-g25024de downloaded, extracted, renamed (as per instructions), but still i can't get the files copied into E.

Where i am doing wrong?

 

Posts:
266
July 10, 2011

Hi meetwebsurgeon

You need this version for etexteditor: https://github.com/meeech/shopify.tmbundle/zipball/etext.editor.final

The latest versions will not work with e-text editor. There is further instructions in the readme: https://github.com/meeech/shopify.tmbundle/blob/master/readme-windows.markdown

let me know if you are still having problems after that.

m

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
4
Last edited July 22, 2011

Thanks M

I think i am very close to solution for Windows OS.

1. I extracted shopify bundle & directly copied the files in E-Textmate bundles folder. I can see, shopify bundle now, in editor.

2. Then, for environmetal variables, E-Textmate > Edit > Settings > Environment, & created 3 environmental variables. (I assume, there should be no problem if i am using a testing store url here)

3. Added C:\wamp\bin\php\php5.3.0 in PATH variable in Windows Global Environmental variables (I am using wamp)

4. This is where i got stuck. When i go to download theme via E, it shows up a warning message:

Warning: include(C:\Program Files\e\Bundles\Shopify.tmbundle\Support\config.php): failed to open stream: No such file or directory in C:\Program Files\e\Bundles\Shopify.tmbundle\Support\vars.php on line 2 Warning: include(): Failed opening 'C:\Program Files\e\Bundles\Shopify.tmbundle\Support\config.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\e\Bundles\Shopify.tmbundle\Support\vars.php on line 2 Fatal error: Class 'mConfig' not found in C:\Program Files\e\Bundles\Shopify.tmbundle\Support\vars.php on line 3 PHP Warning: include(C:\Program Files\e\Bundles\Shopify.tmbundle\Support\config.php): failed to open stream: No such file or directory in C:\Program Files\e\Bundles\Shopify.tmbundle\Support\vars.php on line 2 PHP Warning: include(): Failed opening 'C:\Program Files\e\Bundles\Shopify.tmbundle\Support\config.php' for inclusion (include_path='.;C:\php5\pear') in C:\Program Files\e\Bundles\Shopify.tmbundle\Support\vars.php on line 2 PHP Fatal error: Class 'mConfig' not found in C:\Program Files\e\Bundles\Shopify.tmbundle\Support\vars.php on line 3

ANY IDEA?

Capture thumb
Posts:
266
July 22, 2011

i think you are using the wrong version of the bundle. the windows version doesn't use config.php

use this one:

https://github.com/meeech/shopify.tmbundle/zipball/etext.editor.final


meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
4
July 26, 2011

HURRRRRAH...

Thanks Meeech!

Posts:
4
July 26, 2011

Yes!

Your solution really worked for me. One last question: Can we also see the preview of what we are building in E in a side window like vision ?

It shows me broken images & code snippets.

Capture thumb
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
Last edited July 26, 2011

You just need to set the location bar on the preview pane to the live site page. Only downfall here is E only previews in IE :(

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
July 26, 2011

yeah - what jamie said. no way to do preview of the .liquid pages in E. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
hsl Shopify Partner
Posts:
19
August 13, 2011

Hi,

I love the fact that shopify now supports multiple themes, and that you can edit a none live version, is it also possible use textmate to edit a theme that is not live?

Thanks,

Harold

Posts:
154
August 14, 2011

Regarding the ability to edit a 'non-live' theme atually I asked a similar question very recently on a different thread and from meeech's response it doesn't sound like it is a feature that is available just yet...

HolgaDirect - All your Holga Cameras and Accessories in one Place! : http://shop.holgadirect.com
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
August 14, 2011

⬆ ditto to Rick, you won't see this for a while. Mitchell has to wait for this feature to be exposed in the API.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
200
August 15, 2011
James MacAulay, Shopify Developer
Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
August 15, 2011

Awesome James! :-)

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
August 15, 2011

grazi!

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
154
August 15, 2011

Great! Does that mean we now could have the TextMate development environment working with an unpublished theme? Now that's getting close to a really Awesome development environment :-)

HolgaDirect - All your Holga Cameras and Accessories in one Place! : http://shop.holgadirect.com
Posts:
5840
August 15, 2011

Hi Rick, yup, totally ^.

Caroline from http://11heavens.com ∴ mllegeorgesand AT gmail DOT com
Posts:
154
August 16, 2011

Great! Thanks Shopify dudes!

HolgaDirect - All your Holga Cameras and Accessories in one Place! : http://shop.holgadirect.com
Posts:
12
August 18, 2011

wahoolife.com/admin/assets.json returns the asset feed but I still get the error:

 

Getting theme asset list...

Error: Assets list not returned. Could just be a temporary error. Feel free to try again.

Req Url: http://xxxxxxxxxx:xxxxxxxxxx@wahoolife.com/admin/assets.json

 

any ideas?

Live a WahooLife.com
Posts:
266
Last edited August 18, 2011

@jyates: need to use the shopify url, not your custom url.

ie: should look something like this: klocko-and-sons3230.myshopify.com

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
seans9tcu Member
Posts:
6
August 22, 2011

I'm getting the error:

Error: Assets list not returned. Could just be a temporary error. Feel free to try again.

I'm using mystore.myshopify.com and I have the correct API Key and Password. What gives?

 

Posts:
266
August 22, 2011

Hey Sean,

Hard to say.

If you want to generate me an API Key/Password, I can test it out on my end and see if I get a different result. 

mitchell.amihod@gmail.com

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
3
August 24, 2011

Hi Meeech,

Thanks and congrats on the awesome TM bundle -- it makes a huge difference when working with Shopify.

I just wanted to raise a query about one thing I'm not sure about ... apologies if it's been answered elsewhere already, but I couldn't find anything. I suspect I'm just missing something obvious.

The TM bundle is fantastic for editing the theme itself (layout, styling, assets, etc) and pages. But unless I'm missing something, it doesn't let me edit product descriptions. We're at the point of populating our store with a lot of product descriptions and we really (really really) don't like using the built-in online Shopify HTML editor. We'd like to be able to edit the descriptions locally, then upload the descriptions easily similar to the way your TM bundle does.

This may be intentionally outside the scope of the TM bundle, but if it is ... what do people usually do when editing product descriptions? Is there a simple method available that I'm missing? 

Cheers,

Andrew.

Posts:
5840
August 24, 2011

Hi Andrew,

Export your products as a .csv file, edit said file, and re-upload it. That's how you can edit your products' description offline in the editor of your choice.

Caroline from http://11heavens.com ∴ mllegeorgesand AT gmail DOT com
Posts:
3
August 24, 2011

Thanks Caroline, that's actually what I've been doing but I was hoping there would be a more streamlined way. Having to pull the description out of the CSV file and the process of doing the Import from the Shopify admin panel is a lot more bumpy than the smooth workflow using the TextMate bundle. 

Thanks for the quick response!

Regards,

Andrew.

hsl Shopify Partner
Posts:
19
August 25, 2011

sweet! thx! :)

Posts:
266
August 25, 2011

Hi Andrew. 

What you describe is definitely doable - was just never sure how big demand would be for that feature. If you can contact me ( mitchell.amihod@gmail.com ) we can discuss it a bit more in-depth. I'd like to to know more about your use case. 

Thanks

m

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
hsl Shopify Partner
Posts:
19
November 02, 2011

Hi Meech,

Any update on a new version that supports multiple templates? :-)

Cheers,

Harold

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
November 02, 2011

There is a test branch from Rofish you can help test and leave feedback: https://github.com/ROFISH/shopify.tmbundle/commit/6c16ebcdacc0919d9d54e215c54cef377dec0dd7

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
5
Last edited November 06, 2011

Hi Guys

Im using Windows environment, got the bundle setup in e, but when I go to download full theme, at the very end it tells me that access is denied.

any idea what I'm doing wrong?

cheers

Posts:
5
November 06, 2011

by the way, I'm very new to shopify, website building and html/css environment. but I would like to understand how it all works instead of simply paying people.

cheers

hsl Shopify Partner
Posts:
19
November 06, 2011

Hi Jamie,

Thanks will try it out tonight :-)

Cheers,

Harold

Posts:
266
November 08, 2011

@vlad just checking- you installed the pc final version of the bundle? the latest one won't work. 

@hsl what jamie said. :) i haven't put it in main yet. sorry for the delay.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
rachel Member
Posts:
4
December 02, 2011

So far so good with the Textmate bundle - makes life so much easier! I am struggling with one thing, however. The syntax highlighting for css.liquid files... has anyone succeded in getting this to work? Is it even possible?

Thanks!

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
Last edited December 02, 2011

Just toggle it with the dropdown at the bottom.

http://shopifyplus.com ::: http://twitter.com/bacchus
rachel Member
Posts:
4
December 02, 2011

ah, thank you Jamie! I was hoping it could auto detect it like it does with standard css files, but this will do!

Thanks again :)

rachel Member
Posts:
4
December 02, 2011

This mode also caused me to lose my auto 'send asset to Shopify' shortcut :/

Posts:
266
December 03, 2011
meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
rachel Member
Posts:
4
Last edited December 05, 2011

thanks, meeech! Makes sense now that you have to add both types of css in the bundle editor. 

I do have another question for you...

I am using two machines (work and home) to update my cart's theme - I noticed when I opened all my files this morning on my work computer that they did not auto update from the changes I made this weekend on my home computer (I didn't really expect them to but hey you never know). I looked around for a way to download the theme again, or at least download the files that have been updated, but can't find anything for it. Is there a feature for this?

 

Thanks again!

Posts:
266
December 06, 2011

Hi Rachel,

You want to use the Download Full Theme command - this will download all the files from shopify again.

Make sure any work you have done that hasn't been uploaded on your local machine is backed up!

hope that helps,

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Velin Member velin.dk
Posts:
2
Last edited December 08, 2011

Love this bundle, thank you so much for all the work and effort you have put into this Meeech.

You have saved me a lot of hours and hair.

 

Edit: For css.liquid syntax highlighting, you can add the filetype as described here:

http://yuji.wordpress.com/2010/12/29/textmate-css-file-type-for-css-liquid-extensions/

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
December 08, 2011

Nice Velin! Beautiful.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
266
December 09, 2011

thanks velin

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
1
Last edited December 19, 2011

@Jeremy Bise

Your solution to the "/usr/bin/env: php: No such file or directory" problem worked perfectly for me, thank you!

And @meeech, awesome bundle, thanks for your great work.

Adrian W Member
Posts:
1
December 19, 2011

I've managed to download and install the Bundle ok, but it's not quite working as planned. I've downloaded the Theme just fine, but if I try to run the Upload to Shopify (Command-U or Command-Shift-U) functionality, simply trying to upload the same file I've downloaded, it fails.

After some testing, I've worked out that it's to do with the length of the file. When the Content-Length in the HTTP Header is greater than 1000, it fails, however if I try to upload the file with just a small amount of content in it, it works fine. Any idea what might be causing this?

Thanks heaps for your help.

Posts:
266
December 19, 2011

Hey adrian - 

I haven't head of this problem before. If you open a ticket on github, we can back and forth there and try to find a solution.

https://github.com/meeech/shopify.tmbundle/issues

m

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
jtolman Member
Posts:
19
January 31, 2012

First of all, thanks for your hard work on this. It's a little disheartening that Shopify doesn't develop such an editing solution on their own, but it's even more heartening that you take your own time to develop this.

 

I was curious if there is any update on when offline themes might be supported, or if not openly supported, if there is a workaround? I am using a developer shop right now, but that's not ideal since font scripts and apps like Shopify Assistant won't work (or I don't know how to easily make them work) and I can't test the full functionality very easily.

jtolman Member
Posts:
19
Last edited January 31, 2012

^^^ Idiot. A quick CMD+F found that this feature was updated to the API and there is a fork on github with this feature added. Leaving the post so someone else is less likely to make the same oversight.

 

I may come back with issues. I'm not too familiar with github or more importantly bundles for textmate so we'll see if I'm able to install the alternate version without issue.

jtolman Member
Posts:
19
January 31, 2012

Got the fork installed and it is working fine for me. Very nice!

Posts:
266
February 05, 2012

@jtolman Glad it's working out for you. I just haven't had time to integrate in the solution that was provided - been working on an app that will allow working with themes that is editor independant. Bundle is in definite need of some cleaning, which i will (hopefully) be able to do in a bit.

As an aside, since there's no way to have forums send a notification when there's a new message, I sometimes don't see the msgs right away. I'm usually around in the ##shopify-lounge irc channel on freenode, so feel free to pop in if anyone has questions re: bundle.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
February 13, 2012

This post might be of interest to some people following this thread: http://forums.shopify.com/categories/1/posts/78534

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
spacetrader Shopify Partner
Posts:
3
February 18, 2012

Thanks Meeech for this incredible job!

I'm a first time Textmate user and I'm getting the following error message when I try to download full theme:

PHP Warning: mkdir(): Permission denied in /private/tmp/temp_textmate.pxQc8P on line 59 Fetching templates/search.liquid...

What I have already tried:

-Checked /private/tmp permissions:

 

sh-3.2# ls -la /private/ |grep "tmp"

drwxrwxrwx  14 root  wheel   476 18 Fev 16:43 tmp

-Variables via preferences

-Installed Liquid

-Installed shopify.tmbundle via Get Bundle

-Installed shopify.tmbundle via download and double-click

-Installed MAMP

-Create a config file .shopify-tmbundle and saved on Project Directory

-Create a config file .shopify-tmbundle and just saved (it goes to root dir /)

I think I'm lost...

 

Any help?

 

 

 

Posts:
5840
Last edited February 18, 2012

Hi there,

PLEASE PLEASE post any question about the Shopify Textmate bundle here: https://github.com/meeech/shopify.tmbundle/issues/new

Meeech is not notified when anyone posts a question for him in these forums here. He visits every once in a while but not regularly.

Also, you should always do the following:

- Look if that question was already addressed here: https://github.com/meeech/shopify.tmbundle/issues (do a search)

- Read the FAQ: https://github.com/meeech/shopify.tmbundle/wiki/FAQ and readme: https://github.com/meeech/shopify.tmbundle#readme and intro: http://meeech.github.com/shopify.tmbundle/

Caroline from http://11heavens.com ∴ mllegeorgesand AT gmail DOT com
spacetrader Shopify Partner
Posts:
3
February 18, 2012

Thank you for your prompt response!

The question is posted!

Haven't found nothing similar to my issue neither on Google or any one of the links you provided... :-(

That what makes me think I'm doing something terrible beginner...

I'll keep trying.

spacetrader Shopify Partner
Posts:
3
February 18, 2012

I have dived in the code to help someone help me… :-)

 

First I echoed the vars "API Key" and "Password" and they are correct!

 

Then I find the line where I'm getting the error:

 

mkdir($folderPath);

 

The $folderPath var is made of "TM_PROJECT_DIRECTORY" and "$fileinfo['dirname']"

 

TM_PROJECT_DIRECTORY is empty!

 

So at the moment I'm trying to discover why, any help?

 

Just to double-check:

create a new folder in your OS where you'd like to store your project assets and other files, and create a new file inside of the folder. Open that project folder in TextMate and open the new file, then go to Bundles > Shopify > Download Full Theme. 

 

Thanks!

 

Also posted on github:

https://github.com/meeech/shopify.tmbundle/issues/52

 

Posts:
266
February 18, 2012

re: checking TM_PROJECT_DIRECTORY - you can get the TM Vars for the project like this:

Open the project. make sure a file in the project is open (remember - to make a project, you must drag the folder to textmate, then Save As Project). 

Then, in Bundles look for Bundle Development > Show TM_* Variables

I'll reply to your perm error in the ticket.

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
Posts:
266
February 18, 2012

issue was resolved. see ticket for more info if anyone else having this issue. https://github.com/meeech/shopify.tmbundle/issues/52

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
dreamgrowers Shopify Partner dreamgrowers.net
Posts:
14
March 11, 2012

I'm able to download all the theme folders, but it seems to default the download all directories to my home directory. 

How do I change the location?

I followed the instructions very closely here: 

http://wiki.shopify.com/Shopify_Textmate_Bundle

But there's a step that's unclear to me:

If you want to download your current theme, create a new folder in your OS where you'd like to store your project assets and other files, and create a new file inside of the folder. Open that project folder in TextMate and open the new file, then go to Bundles > Shopify > Download Full Theme. Your theme assets will download to your project folder.

I can easily create a new folder, but the part create a new file inside of the folder.  does not make sense to me. This is not an option in Mac OS X to create a file and in Textmate if I create new file, it doesn't give an option to specify where... If I create a new file and save as > new location, it will save an untitled text file there, but still when I download, it goes to my home folder. 

Would you mind clarifying this step as I think this is my issue, but maybe there's some other place where I would configure the download location.

Thanks!!!

 

 

Posts:
266
March 12, 2012

Hi Dreamgrowers, 

The reason you need to make a new file in the folder is a textmate limitation - it doesn't let you run bundle commands unless there is an open file.

so,

* create the folder

* do you save as to location and put the text file in that folder

* drag the folder onto textmate icon - this will make a new project

* File > Save project (so you can reopen it later)

* open the textfile you just made, from the project sidebar

* Then try to download

let me know if that helps.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
dreamgrowers Shopify Partner dreamgrowers.net
Posts:
14
March 15, 2012

Yes! That worked perfectly to get the project downloaded to the right location. Thank you!

But, when I open up that project I saved (to reopen it later)...it just opens that original empty text file and not all the newly downloaded directories and files for the project.

Can you explain how to open the whole project I just downloaded in a way that allows me to sync with shopify?

So close...and I really appreciate it!

Posts:
266
March 16, 2012

thats weird. should open the whole project.

just make a new one once you have it working - drag the folder with all the files onto textmate and save it as a project, you should be good to go.

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
will Member
Posts:
2
March 27, 2012

Hi Meeech,

Firstly, thanks a lot for putting this bundle together and sharing with everyone.

I have managed to download the tm and liquid bundles and have connected Textmate to my live Shopify store using the API key and following the instructions posted on the Wiki:

http://wiki.shopify.com/Shopify_Textmate_Bundle

I have also created a Shopify partner account as suggested in one of the threads to create test stores (and have generated a separate API key and password for this shop). I want to duplicate my live store and then use Textmate to test various changes before pushing the new code to the live site. I have downloaded the entire theme from the live shop (screenshot) into a new folder but have not done so for the test site.

At the moment, I have only entered the API key, password and shop name for the live site in the Textmate preferences.

However, I am still confused as to how to add another store to Textmate and use newconfig to enable switching as explained in your readme article here: 

https://github.com/meeech/shopify.tmbundle#readme

I thought I had created a new config (as detailed) with the API keys and passwords for both sites but now can't seem to find the original file and when I try to 'switch shop' I get the message: "You do not seem to be using a config file" which is surprising as it looks like I have a config folder in the live site's theme folder (see screenshot.) Is this a different thing?

I also don't understand what is meant by project shell and global shell variables which seems to be offered as an alternative to using the config file in shopify's wiki section. Would this be a better solution? If so, how do you create the project specific shell variables (via the i button) with the relevant variables and values for the test and live shops to be able to switch between the two? 

Apologies for the long message but any help would be great.

Thanks

 

will Member
Posts:
2
March 27, 2012

Hi Meeech,

Thanks for creating this bundle. I was wondering if you could give a bit more detail in how to set up Textmate to control both my live site and also a test shop that i have created in the partner site.

I basically want to clone the live site and then use textmate to make changes to the test site before making any definitive changes to the live site.

I have downloaded the live site's theme and have entered the API key, password and shop name in the Textmate preferences and it seems to be responding when I make changes. I have tried to set up the new config with both the test and live shop's APIs and passwords but can't seem to find the original file. 

The Wiki also talks about local and global shell variables as an alternative to the config file and I was wondering whether this would be a better alternative for what I am trying to do?  

Thanks

Will

Posts:
266
April 09, 2012

Hi Will

Sorry for the late reply but I have no way of knowing there's new message unless I rememeber to check forum.

The reason you probably aren't seeing the config file is you have OS X setup to hide 'hidden' files, which include any file that start with .

Try under the SHopify bundle menu - Config > Edit will open it up.

m

 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
HandHugs Shopify Partner handhugs.com
Posts:
73
May 22, 2012

How did you get it to work with unpublished themes? I cant see an option for that anywhere?

theredprince Member
Posts:
4
June 30, 2012

Hey meeech, just wanted to say thanks for your awesome TextMate integration, been using it from the start and for that reason can't imagine not using it now! Works like a dream, especially for handling multiple site access.  

Tyler Tringas Shopify Partner
Posts:
35
July 10, 2012

A few quick ones:

1. Meeech, awesome work, very much appreciated.

2. I put together a screencast on setting up Textmate for Shopify from scratch in case anybody finds it useful. Love to hear some feedback:

http://shopifycasts.com/products/getting-started-with-textmate

3. @HandHugs, you need a slight variation of the theme to work with unpublished themes.There's a link in the show notes of above screencast.

4. Meeech, any plans to merge changes from ROFISH that adds the theme_id support? I've been using it with no problem for quite some time.

Posts:
266
July 13, 2012

@theredprince - Thanks.

@tyler - thanks for putting together a screencase on it.

re: #4 yes, i always planned to. Just got caught up in other work, and figure those who want it can find it. I had slightly different plans for adding theme_id picking & support, so never got around to pulling in Ro's work. Good to know its been working for you. 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
jaeon Member
Posts:
1
July 18, 2012

Hi Meech,

Thanks for the bundle. I have managed to get everything to work (using e-text editor) except for uploading multiple assets. Uploading works fine initially after setup but after awhile it starts to give me error :

Sending asset: assets/xxx...
*Error: Could not upload assets/xxx.
100
Sending asset: assets/xxx1...
*Error: Could not upload assets/xxx1.
100
Sending asset: assets/xxx2...
*Error: Could not upload assets/xxx2.
100
Done.

Any idea why this would happen?

Posts:
266
July 27, 2012

@jaeon sorry. no idea, and unfortunately, i can't support e-texteditor. :/ 

meeech | http://www.twitter.com/meeech | http://mitchell.amihod.com
axiom11 Member
Posts:
20
Last edited August 04, 2012

Is there any reasons my uploads aren't making any changes? I upload a file, like the stylesheet, everything goes fine, but the changes aren't reflected in the template editor in shopify admin. I can't figure it out, has anyone else had this problem?

Downloading a file is fine though, if i make changes locally and update from shopify, I get shopify's version downloaded straight away.

Help appreciated.

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
August 04, 2012

Should be fixed now. Was nothing to do with the bundle.

http://shopifyplus.com ::: http://twitter.com/bacchus
axiom11 Member
Posts:
20
August 06, 2012

Thanks, was worried I'd screwed up. 

Posts:
14
October 02, 2012

Hey Guys,

I've been using the TM bundle during development and with no issue and such a time saver.

From 3 days ago I kept getting an error in my upload like this:

 

Sending asset: layout/theme.liquid...
*Error: Could not upload layout/theme.liquid to default.Done

But the selected asset are indeed upload and it's working. I have not been able to figure out why the error pops up as it's still working.

Any ideas ?

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
Last edited October 02, 2012

Hi Sofus!

I would post this in the github project where Meeech will see it quicker.

https://github.com/meeech/shopify.tmbundle/issues


http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
14
October 02, 2012

wicked cheers Jamie.

Jamie Chief Officer of Funness shopify.com/plus
Posts:
5852
October 03, 2012

Mitchell has updated the bundle. Please use the getbundles bundle to update to the latest version.

http://shopifyplus.com ::: http://twitter.com/bacchus
Posts:
3
December 23, 2012

Is this currently working with TextMate 2 installed via git? Seems like the bundle locations have changed and this is causing some issues.