Here's what I did to get things working.
Yep, over at: https://developer.apple.com
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
| [ | |
| {name: 'Afghanistan', code: 'AF'}, | |
| {name: 'Åland Islands', code: 'AX'}, | |
| {name: 'Albania', code: 'AL'}, | |
| {name: 'Algeria', code: 'DZ'}, | |
| {name: 'American Samoa', code: 'AS'}, | |
| {name: 'AndorrA', code: 'AD'}, | |
| {name: 'Angola', code: 'AO'}, | |
| {name: 'Anguilla', code: 'AI'}, | |
| {name: 'Antarctica', code: 'AQ'}, |
| {% layout settings.customer_layout %} | |
| <div id="template"> | |
| <div id="customer"> | |
| <div class="template_header"> | |
| <h2 class="title">Customer Login</h2> | |
| </div> | |
| {% form 'customer_login' %} | |
| {{ form.errors | default_errors }} |
| {% paginate collection.products by 20 %} | |
| <!-- the top of your collections.liquid --> | |
| <!-- START PRODUCTS --> | |
| {% for product in collection.products %} | |
| <!-- START PRODUCT {{ forloop.index | plus:paginate.current_offset }} --> | |
| <div class="product" id="product-{{ forloop.index | plus:paginate.current_offset }}"> | |
| {% include 'product' with product %} | |
| </div> | |
| <!-- END PRODUCT {{ forloop.index | plus:paginate.current_offset }} --> |
| <script> | |
| // (c) Copyright 2016 Caroline Schnapp. All Rights Reserved. Contact: [email protected] | |
| // See https://docs.shopify.com/themes/customization/navigation/link-product-options-in-menus | |
| var Shopify = Shopify || {}; | |
| Shopify.optionsMap = {}; | |
| Shopify.updateOptionsInSelector = function(selectorIndex) { | |
| {% assign collection = collections.future-empire %} | |
| <h1>Products</h1> | |
| {% for product_type in collection.all_types %} | |
| <section class="group"> | |
| <h2>{{ product_type }}</h2> | |
| {% for product in collection.products %} | |
| {% if product.type == product_type | handleize %} | |
| <a href="{{ product.url }}" title="{{ product.title }}"> | |
| <figure> | |
| <img src="{{ product.featured_image | product_img_url: 'medium' }}" alt="{{ product.title }}"> |
| <!-- Solution brought to you by Caroline Schnapp --> | |
| <!-- See this: http://wiki.shopify.com/Related_Products --> | |
| {% assign image_size = 'compact' %} | |
| {% assign heading = 'Other fine products' %} | |
| {% if product.metafields.recommendations.productHandles %} | |
| <h3>{{ heading }}</h3> | |
| <ul class="related-products"></ul> |