Skip to content

Instantly share code, notes, and snippets.


Chris Weachock cweachock

View GitHub Profile
cweachock /
Created Apr 29, 2018 — forked from PurpleBooth/
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


View shopify-section-block-schema.liquid
{% schema %}
"name": "Heading",
"settings": [
"type": "text",
"id": "section-heading",
"label": "Header",
"default": "Current product listing"
cweachock / shopfy-section-block.liquid
Last active Dec 14, 2017
Shopify Section Block Html
View shopfy-section-block.liquid
<!-- These are headings to indicate different sections -->
<center><h1>{{ section.settings.section-heading }}</h1></center>
<center><h5>{{ section.settings.section-subheading }}</h5></center>
<!-- Begin the product grid collection -->
<div class="grid collection-grid grid--uniform grid--no-gutters" style="margin-top:-50px;">
<!-- loop through the blocks in each section -->
{% for block in section.blocks %}
<!-- here we are creating a grid item for each section with a one-quarter size or about 25% of the page or container
--> <div class="grid__item medium-up--one-quarter">
<!-- if the user adds an image set it here -->