Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A demo Shopify application that uses micropayments, metafields, and background jobs.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MIT-LICENSE
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
README.textile

No Hablo

No Hablo is a demo Shopify application that uses micropayments, metafields, and background jobs. It will translate each of your product descriptions to a new language.

This app is meant as a learning tool and not to be used in production. Mostly because it uses Google Translate for the translations and since I only speak English I can’t comment on the quality of Google Translate results.

Points of interest

As this app is meant as a learning tool for Shopify developers, here are a few points of interest:

  1. login_controller.rb:23
    Here we create a Shop object local to this application when the user logs in for the first time.
  1. shop.rb:11
    Read the comment for the gist.
  1. translation_controller:42 and payment_notification_controller
    These two pieces together show how to handle the creation of a charge, subsequent redirection to the confirmation and updating of local data.
  1. translation.rb:8
    This method is called by DJ in a background task. It illustrates how to initialize and de-initialize the API with the shop’s site string in a background task.

How to get it started


git clone git://github.com/jstorimer/no-hablo.git
cd no-hablo
sudo rake gems:install
rake db:migrate


Go to your Shopify Partners account and create a new application.
Stick the new Api Key and Secret into config/shopify.yml
./script/server

Something went wrong with that request. Please try again.