Skip to content

Instantly share code, notes, and snippets.

@maliny
maliny / Groupon2Shopify.iim
Created November 10, 2011 20:50
The Goal: I needed a way for us to quickly import the hundreds of Groupon codes into our Shopify site. My Solution: Use iMacros for FireFox to read in the Groupon CSV and automate the process of creating Shopify discount codes.
VERSION BUILD=7000908
'Use groupon csv to automatically create discount codes in shopify.
'####################### ENTER YOUR SETTINGS BELOW #############################
'What is your shopify store name yourshopname.myshopify.com
SET !VAR1 https://thespicygourmet.myshopify.com
'How much is your discount? for a $15 discount enter 15
SET !VAR2 20
@maliny
maliny / Moolala2Shopify.iim
Created November 10, 2011 20:47
The Goal: I needed a way for us to quickly import the hundreds of Groupon codes into our Shopify site. My Solution: Use iMacros for FireFox to read in the Groupon CSV and automate the process of creating Shopify discount codes.
VERSION BUILD=7000908
'Use groupon csv to automatically create discount codes in shopify.
'####################### ENTER YOUR SETTINGS BELOW #############################
'What is your shopify store name yourshopname.myshopify.com
SET !VAR1 https://thespicygourmet.myshopify.com
'How much is your discount? for a $15 discount enter 15
SET !VAR2 20
@maliny
maliny / coupons
Created November 10, 2011 20:22 — forked from resistorsoftware/coupons
require 'rubygems'
require 'mechanize'
BASE = 'http://manure.myshopify.com/admin'
LOGIN = '/auth/login'
USER = 'paddy@cow.com'
PWD = 'moo-moo'
agent = Mechanize.new
page = agent.get(BASE+LOGIN)
form = page.forms.first
form.login = USER
@maliny
maliny / Groupon2Shopify.iim
Created November 10, 2011 19:35 — forked from daverad/Groupon2Shopify.iim
The Goal: I needed a way for us to quickly import the hundreds of Groupon codes into our Shopify site. My Solution: Use iMacros for FireFox to read in the Groupon CSV and automate the process of creating Shopify discount codes.
VERSION BUILD=7000908
'Use Moolala csv to automatically create discount codes in shopify.
'####################### ENTER YOUR SETTINGS BELOW #############################
'What is your shopify store name yourshopname.myshopify.com
SET !VAR1 https://thespicygourmet.myshopify.com
'How much is your discount? for a $15 discount enter 15
SET !VAR2 20
@maliny
maliny / Moolala-2-Shopify.iim
Created November 10, 2011 19:17
The Goal: I needed a way for us to quickly import the hundreds of Groupon codes into our Shopify site. My Solution: Use iMacros for FireFox to read in the Groupon CSV and automate the process of creating Shopify discount codes.
VERSION BUILD=7000908
'Use Moolala csv to automatically create discount codes in shopify.
'####################### ENTER YOUR SETTINGS BELOW #############################
'What is your shopify store name yourshopname.myshopify.com
SET !VAR1 https://thespicygourmet.myshopify.com
'How much is your discount? for a $15 discount enter 15
SET !VAR2 20