SlideShare a Scribd company logo
1 of 62
Download to read offline
Creating Custom Shopify Themes
presented at general assembly
shopify & growth spark
ross beyeler
Growth Spark Founder
Shopify Design Ambassador
the team
Growth Spark
Some of Our Shopify Work
Tonight’s Agenda
agenda
Working with Shopify
Workshop Setup
Shopify Basics
BREAK
Customizing Shopify
Challenge 1
Challenge 2
Challenge 3
Challenge 4
Q&A
share away!
share with your friends

@shopify
@growthspark
#shopifyu
What is Shopify?
what is shopify?
Easy to use, theme based
hosted e-commerce platform
Founded in 2006
~350+ Employees
100,000+ stores
$4B+ Customer Sales
Working with
Shopify
Shopify is 100% free!
For Designers and Developers
working with shopify
working with shopify
50% of theme designers made $20k+
{many made $100k+}
Workshop
Setup
Join the Partner Program
bit.ly/sfwd-bos
workshop setup
Setup your Shopify Dummy Store
workshop setup
Download the Workshop Content
bit.ly/sfwd-stuff
workshop setup
Shopify
Basics
shopify basics
Managing Content
shopify basics
Products
Collections
Pages
Posts
Navigation
shopify basics
Managing Sales
shopify basics
Customers
Orders
Discounts
Gift Cards
Reports
shopify basics
Managing Settings
shopify basics
Themes
Apps
Settings
Break Time!
presented at general assembly
shopify & growth spark
Customizing Shopify
customizing shopify
Theme Structure
customizing shopify
HTML
CSS
JS
Liquid
Theme structure
customizing shopify
Theme structure
assets
site.css.liquid
site.js.liquid
config
layout
theme.liquid
snippets
footer.liquid
header.liquid
templates
404.liquid
article.liquid
blog.liquid
cart.liquid
collection.liquid
index.liquid
list-collections.liquid
page.liquid
product.liquid
search.liquid
customizing shopify
Theme structure
/thisisntarealurl
/blogs/<blog-name>/<article-id-handle>
/blogs/<blog-name>
/cart
/collections
/collections/<collection-handle>
/collections/<collection-handle>/<tag>
/
/pages/<page-handle>
/products
/products/<product-handle>
/search?q=<search-term>
404.liquid
article.liquid
blog.liquid
cart.liquid
list-collections.liquid
collection.liquid
collection.liquid
index.liquid
page.liquid
list-collections.liquid
product.liquid
search.liquid
customizing shopify
Liquid
customizing shopify
Output
{{ product.title }}
{{ product.description }}
{{ product.handle }}
customizing shopify
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 }}
customizing shopify
Logic
{% if product.available %}
Show Add to cart button here
{% else %}
Display message!
{% endif %}
customizing shopify
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>
Shopify Challenges
Add Quantity Box to
Product Detail Page
challenge #1
challenge #1
Adding Quantity Box to Product Detail Page
Go to http://bit.ly/add-quantity-box
In the snippets folder, locate product.liquid.
Copy/Paste snippet code from the workshop file
challenge #1
Snippet Code
<label for=”quantity”>Qty: </label>
<input min=”1” type=”number” id=”quantity”
name=”quantity” value=”1” />
<style>#quantity { padding:5px; width:35px; border:
1px solid #555; }</style>
Add a Short Description
to the Collections Page
challenge #2
challenge #2
Add Short Description to Collections Page
Resources: http://bit.ly/shopify-documents
In the snippets folder, locate product-loop.liquid.
Add the product description tag located in the
workshop folder.
	 <div class=”description”>
	 {{ product.description }}
challenge #2
Add Short Description to Collections Page
Resources: http://bit.ly/shopify-documents
Now using a filter, shorten/truncate to X number
of characters.
	 <div class=”description”>
{{ product.description | truncatewords: 50 }}
</div>
Add Text on Hover
challenge #3
challenge #3
Add Text on Hover
Go to http://bit.ly/shopify-resource
Locate the css and copy from the gist located in
the workshop folder
In the snippets folder, locate the
product-loop.liquid page
5
4
challenge #3
Adding Quantity Box to Product Detail Page
Enclose your image tag within a div with the
class of reveal.
<div class=”reveal”>IMAGE TAG</div>
What do you want to reveal on hover? Example:
product title, product price
challenge #3
Snippet Code
<div class=”hidden”>
<div class=”caption”>
<div class=”centered”>
<p>{{ product.title }}</p>
<p>{{ product.price | money }}</p>
</div><!-- end of .centered -->
</div><!-- end of .caption -->
</div><!-- end of .hidden -->
Add a Stock Level Indicator
challenge #4
challenge #4
Add a Stock Level Indicator
To see the changes, go back to the products page and track inventory.
Create a statement to show an alert when there
is only one product left in the inventory
	 {% for variant in product.variants %}
	 {% if variant.inventory_quantity == 1 %}
	 only {{variant.inventory_quantity}} left!
	 {% endif %}
	 {% endfor %}
presentation
Download our Resources Guide
http://growthspark.com/shopify/
Thank you!
ross@growthspark.com / @growthspark
any questions?
the end!

More Related Content

Viewers also liked

How Shopify Scales Rails
How Shopify Scales RailsHow Shopify Scales Rails
How Shopify Scales Rails
jduff
 

Viewers also liked (10)

Building an E-Commerce Business with Shopify
Building an E-Commerce Business with ShopifyBuilding an E-Commerce Business with Shopify
Building an E-Commerce Business with Shopify
 
SEO with Shopify
SEO with ShopifySEO with Shopify
SEO with Shopify
 
Shopify (An e-Commerce) PPT
Shopify (An e-Commerce) PPTShopify (An e-Commerce) PPT
Shopify (An e-Commerce) PPT
 
Growth Strategies
Growth StrategiesGrowth Strategies
Growth Strategies
 
Shopify
ShopifyShopify
Shopify
 
How to Install Magento 2 [Latest Version]
How to Install Magento 2 [Latest Version]How to Install Magento 2 [Latest Version]
How to Install Magento 2 [Latest Version]
 
20 Tips to Improve Sales on your Ecommerce Site
20 Tips to Improve Sales on your Ecommerce Site20 Tips to Improve Sales on your Ecommerce Site
20 Tips to Improve Sales on your Ecommerce Site
 
How Shopify Scales Rails
How Shopify Scales RailsHow Shopify Scales Rails
How Shopify Scales Rails
 
Shopify Retail Tour - Mailchimp Email Marketing
Shopify Retail Tour - Mailchimp Email MarketingShopify Retail Tour - Mailchimp Email Marketing
Shopify Retail Tour - Mailchimp Email Marketing
 
SEO for Ecommerce: A Comprehensive Guide
SEO for Ecommerce: A Comprehensive GuideSEO for Ecommerce: A Comprehensive Guide
SEO for Ecommerce: A Comprehensive Guide
 

Similar to Shopify Theme Development for Web Designers and Developers

Similar to Shopify Theme Development for Web Designers and Developers (20)

Shopify Theme Building Workshop
Shopify Theme Building WorkshopShopify Theme Building Workshop
Shopify Theme Building Workshop
 
When Out of the Box Isn’t Good Enough: What You Need to Know About Building C...
When Out of the Box Isn’t Good Enough: What You Need to Know About Building C...When Out of the Box Isn’t Good Enough: What You Need to Know About Building C...
When Out of the Box Isn’t Good Enough: What You Need to Know About Building C...
 
Awesome e commerce-shopify
Awesome e commerce-shopifyAwesome e commerce-shopify
Awesome e commerce-shopify
 
Advanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & EfficiencyAdvanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & Efficiency
 
Advanced CSS Troubleshooting
Advanced CSS TroubleshootingAdvanced CSS Troubleshooting
Advanced CSS Troubleshooting
 
Wordpress and Your Brand
Wordpress and Your BrandWordpress and Your Brand
Wordpress and Your Brand
 
WordCamp Ireland - 40 tips for WordPress Optimization
WordCamp Ireland - 40 tips for WordPress OptimizationWordCamp Ireland - 40 tips for WordPress Optimization
WordCamp Ireland - 40 tips for WordPress Optimization
 
Styling WooCommerce
Styling WooCommerceStyling WooCommerce
Styling WooCommerce
 
Rapid application development
Rapid application developmentRapid application development
Rapid application development
 
Complete guide for shopify seo
Complete guide for shopify seoComplete guide for shopify seo
Complete guide for shopify seo
 
Writing your own WordPress themes and plugins
Writing your own WordPress themes and pluginsWriting your own WordPress themes and plugins
Writing your own WordPress themes and plugins
 
10 PHP Snippets to Increase WooCommerce Sales
10 PHP Snippets to Increase WooCommerce Sales10 PHP Snippets to Increase WooCommerce Sales
10 PHP Snippets to Increase WooCommerce Sales
 
Alex Podopryhora - Selling across multiple channels made easy
Alex Podopryhora - Selling across multiple channels made easyAlex Podopryhora - Selling across multiple channels made easy
Alex Podopryhora - Selling across multiple channels made easy
 
Shopify Partner Social
Shopify Partner SocialShopify Partner Social
Shopify Partner Social
 
Mẫu slide dành cho y tế
Mẫu slide dành cho y tếMẫu slide dành cho y tế
Mẫu slide dành cho y tế
 
Mẫu slide sáng tạo cho ngành y tế_Nhận làm slide Miss Huyền 0984990180
Mẫu slide sáng tạo cho ngành y tế_Nhận làm slide Miss Huyền 0984990180Mẫu slide sáng tạo cho ngành y tế_Nhận làm slide Miss Huyền 0984990180
Mẫu slide sáng tạo cho ngành y tế_Nhận làm slide Miss Huyền 0984990180
 
B2C-Commerce-Developer Dumps
B2C-Commerce-Developer DumpsB2C-Commerce-Developer Dumps
B2C-Commerce-Developer Dumps
 
Faster WordPress Workflows
Faster WordPress WorkflowsFaster WordPress Workflows
Faster WordPress Workflows
 
The Capitalist in the Co-Op: The Art & Science of the Premium WordPress Business
The Capitalist in the Co-Op: The Art & Science of the Premium WordPress BusinessThe Capitalist in the Co-Op: The Art & Science of the Premium WordPress Business
The Capitalist in the Co-Op: The Art & Science of the Premium WordPress Business
 
Custom Fields & Custom Metaboxes Overview
Custom Fields & Custom Metaboxes OverviewCustom Fields & Custom Metaboxes Overview
Custom Fields & Custom Metaboxes Overview
 

More from Growth Spark

More from Growth Spark (8)

Strategies for Successfully Defining and Winning Client Projects
Strategies for Successfully Defining and Winning Client ProjectsStrategies for Successfully Defining and Winning Client Projects
Strategies for Successfully Defining and Winning Client Projects
 
Scaling Your Agency
Scaling Your AgencyScaling Your Agency
Scaling Your Agency
 
Strategies for Building a Successful E-Commerce Business
Strategies for Building a Successful E-Commerce BusinessStrategies for Building a Successful E-Commerce Business
Strategies for Building a Successful E-Commerce Business
 
Discovering Dollars - Determining Whether Your Idea is a Business
Discovering Dollars - Determining Whether Your Idea is a BusinessDiscovering Dollars - Determining Whether Your Idea is a Business
Discovering Dollars - Determining Whether Your Idea is a Business
 
Prototyping - A Conversation about your Assumptions
Prototyping - A Conversation about your AssumptionsPrototyping - A Conversation about your Assumptions
Prototyping - A Conversation about your Assumptions
 
Getting Started with WordPress (Startup Institute Summer 2013)
Getting Started with WordPress (Startup Institute Summer 2013)Getting Started with WordPress (Startup Institute Summer 2013)
Getting Started with WordPress (Startup Institute Summer 2013)
 
Getting Started with WordPress
Getting Started with WordPressGetting Started with WordPress
Getting Started with WordPress
 
Selling WordPress: Roping, Scoping and Closing Deals
Selling WordPress: Roping, Scoping and Closing DealsSelling WordPress: Roping, Scoping and Closing Deals
Selling WordPress: Roping, Scoping and Closing Deals
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Shopify Theme Development for Web Designers and Developers