Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DotYork Workshop

DotYork Workshop

Slides from my workshop on Wednesday 8th April 2015

Keir Whitaker

April 08, 2015
Tweet

More Decks by Keir Whitaker

Other Decks in Technology

Transcript

  1. 2014 $4.7 million paid to app developers $4.2 million paid

    to theme developers 41,000 connections made between merchants and Shopify Experts shopify.com/2014
  2. Sell online, in store and on the move Shopify mobile

    app Order management Customer management Discount engine Reporting tools Shipping and fulfilment Gift cards 70+ payment gateways 24/7 support 600+ 3rd party apps (MailChimp, Facebook)
  3. Flexible theme based system Sass support Custom templates Timber framework

    Mac theme sync tool / Ruby Gem Deploy from Git Repos (via Beanstalk) Free workshops and tutorials All assets pushed to CDN Unlimited dev shops (100% free sandboxes) Partner & Expert programmes & Forums 24/7 Partner Support 20% Revenue Share
  4. assets -- site.css.liquid -- site.js.liquid config -- settings.html layout --

    theme.liquid snippets -- footer.liquid -- header.liquid templates -- 404.liquid -- article.liquid -- blog.liquid -- cart.liquid -- collection.liquid -- gift_card.liquid -- index.liquid -- list-collections.liquid -- page.liquid -- password.liquid -- product.liquid -- search.liquid
  5. /thisisntarealurl ! 404.liquid /blogs/<blog-name>/<article-id-handle> ! article.liquid /blogs/<blog-name> ! blog.liquid /cart

    ! cart.liquid /collections ! list-collections.liquid /collections/<collection-handle> ! collection.liquid /collections/<collection-handle>/<tag> ! collection.liquid / ! index.liquid /pages/<page-handle> ! page.liquid /products ! list-collections.liquid /products/<product-handle> ! product.liquid /search?q=<search-term> ! search.liquid
  6. Filters {{ product.title | upcase }} {{ 'logo.png' | asset_url

    | img_tag: 'Site Logo' }} {{ 'capitalize me' | capitalize }} {{ article.published_at | date: "%a, %b %d, %y" }} {{ 'style.css' | asset_url | stylesheet_tag }}
  7. Logic {% if product.available %} Show Add to cart button

    here {% else %} Display message! {% endif %}
  8. Loops {% for image in product.images %} <img src="{{ image

    | product_img_url: 'medium' }}" /> {% endfor %}
  9. Layouts <html> <head> {{ content_for_header }} <title>{{ shop.name }} -

    {{ page_title }}</title> {{ 'screen.css' | asset_url | stylesheet_tag }} </head> <body> {{ content_for_layout }} </body> </html>
  10. 1. Create a dev store 2. Add products, variants and

    images 3. Create collections 4. Add products to collections 5. Upload a starter theme 6. Add shop variables to theme.liquid 7. Use Liquid to output collection images 8. Use Liquid to output featured images 9. Use Liquid to output product images of all sizes 10. Create a snippet and include it using Liquid logic 11. Create theme settings JSON file 12. Output theme settings in a micro template
  11. Using the online theme editor add in the name &

    description of your store (using the variable shop) to the footer in theme.liquid
  12. Using Liquid add code to output the collection image for

    each collection in list-collections.liquid
  13. Now change this to add in the first image in

    a large format and the rest as thumbnails
  14. Add in a liquid logic statement to check for your

    products handle and show your new snippet if true
  15. 1. Store setup 2. Customisation 3. Design & Build 4.

    Theme store 5. App Store 6. Revenue share
  16. And finally… First one of you to launch a store

    within 3 months will get a year free on the Unlimited plan