From 8a3b1bbc7794665a5a286cc20d6173adab07e8e1 Mon Sep 17 00:00:00 2001 From: Bernard Polidario <71621723+bbbpppolly@users.noreply.github.com> Date: Mon, 11 Oct 2021 03:00:03 +0200 Subject: [PATCH] Hello World, Elizabeth --- README.md | 2 + assets/application.css.liquid | 2 + assets/application.js | 1 + config/settings_data.json | 6 +++ config/settings_schema.json | 10 +++++ layout/theme.liquid | 44 ++++++++++++++++++++ locales/en.default.json | 8 ++++ templates/404.liquid | 2 + templates/article.liquid | 41 ++++++++++++++++++ templates/blog.liquid | 22 ++++++++++ templates/cart.liquid | 46 +++++++++++++++++++++ templates/collection.liquid | 18 ++++++++ templates/collection.list.liquid | 17 ++++++++ templates/customers/account.liquid | 26 ++++++++++++ templates/customers/activate_account.liquid | 17 ++++++++ templates/customers/addresses.liquid | 39 +++++++++++++++++ templates/customers/login.liquid | 28 +++++++++++++ templates/customers/order.liquid | 32 ++++++++++++++ templates/customers/register.liquid | 21 ++++++++++ templates/customers/reset_password.liquid | 20 +++++++++ templates/gift_card.liquid | 27 ++++++++++++ templates/index.liquid | 10 +++++ templates/list-collections.liquid | 17 ++++++++ templates/page.contact.liquid | 14 +++++++ templates/page.liquid | 2 + templates/product.liquid | 29 +++++++++++++ templates/search.liquid | 22 ++++++++++ 27 files changed, 523 insertions(+) create mode 100644 README.md create mode 100644 assets/application.css.liquid create mode 100644 assets/application.js create mode 100644 config/settings_data.json create mode 100644 config/settings_schema.json create mode 100644 layout/theme.liquid create mode 100644 locales/en.default.json create mode 100644 templates/404.liquid create mode 100644 templates/article.liquid create mode 100644 templates/blog.liquid create mode 100644 templates/cart.liquid create mode 100644 templates/collection.liquid create mode 100644 templates/collection.list.liquid create mode 100644 templates/customers/account.liquid create mode 100644 templates/customers/activate_account.liquid create mode 100644 templates/customers/addresses.liquid create mode 100644 templates/customers/login.liquid create mode 100644 templates/customers/order.liquid create mode 100644 templates/customers/register.liquid create mode 100644 templates/customers/reset_password.liquid create mode 100644 templates/gift_card.liquid create mode 100644 templates/index.liquid create mode 100644 templates/list-collections.liquid create mode 100644 templates/page.contact.liquid create mode 100644 templates/page.liquid create mode 100644 templates/product.liquid create mode 100644 templates/search.liquid diff --git a/README.md b/README.md new file mode 100644 index 00000000..fe519748 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# Elizabeth +# Shopify Theme Development Course Project Files \ No newline at end of file diff --git a/assets/application.css.liquid b/assets/application.css.liquid new file mode 100644 index 00000000..50801b59 --- /dev/null +++ b/assets/application.css.liquid @@ -0,0 +1,2 @@ +// Put your styles in this file. +// Note: "@import" rules aren’t supported. diff --git a/assets/application.js b/assets/application.js new file mode 100644 index 00000000..9d96df8a --- /dev/null +++ b/assets/application.js @@ -0,0 +1 @@ +// Put your application javascript here diff --git a/config/settings_data.json b/config/settings_data.json new file mode 100644 index 00000000..7d914118 --- /dev/null +++ b/config/settings_data.json @@ -0,0 +1,6 @@ +{ + "current": "Default", + "presets": { + "Default": { } + } +} diff --git a/config/settings_schema.json b/config/settings_schema.json new file mode 100644 index 00000000..2222269a --- /dev/null +++ b/config/settings_schema.json @@ -0,0 +1,10 @@ +[ + { + "name": "theme_info", + "theme_name": "Themekit template theme", + "theme_version": "1.0.0", + "theme_author": "Shopify", + "theme_documentation_url": "https://github.com/Shopify/themekit", + "theme_support_url": "https://github.com/Shopify/themekit/issues" + } +] diff --git a/layout/theme.liquid b/layout/theme.liquid new file mode 100644 index 00000000..82276157 --- /dev/null +++ b/layout/theme.liquid @@ -0,0 +1,44 @@ + + +
+{{ 'general.404.subtext_html' | t }}
diff --git a/templates/article.liquid b/templates/article.liquid new file mode 100644 index 00000000..9d2475be --- /dev/null +++ b/templates/article.liquid @@ -0,0 +1,41 @@ +{% assign number_of_comments = article.comments_count %} +{% if comment and comment.created_at %} + {% assign number_of_comments = article.comments_count %} +{% endif %} + +{{ article.content | strip_html | truncatewords: 100 }}
+ {% endif %} +no matches
+ {% endfor %} + {% if paginate.pages > 1 %} + {{ paginate | default_pagination }} + {% endif %} +{% endpaginate %} diff --git a/templates/collection.list.liquid b/templates/collection.list.liquid new file mode 100644 index 00000000..7161b438 --- /dev/null +++ b/templates/collection.list.liquid @@ -0,0 +1,17 @@ +{% paginate collection.products by 2 %} +no matches
+ {% endfor %} + {% if paginate.pages > 1 %}{{ paginate | default_pagination }}{% endif %} +{% endpaginate %} + diff --git a/templates/customers/account.liquid b/templates/customers/account.liquid new file mode 100644 index 00000000..26a2377d --- /dev/null +++ b/templates/customers/account.liquid @@ -0,0 +1,26 @@ + + +{% if customer.default_address %} +{{ customer.default_address.address1 }}
+ {% if customer.default_address.address2 != "" %} +{{ customer.default_address.address2 }}
+ {% endif %} +{{ customer.default_address.city}}, {% if address.province_code %}{{ customer.default_address.province_code }}, {% endif %}{{ customer.default_address.country }}
+{{ customer.default_address.zip }}
+{{ customer.default_address.phone }}
+{% endif %} + +You haven't placed any orders yet.
+ {% endif %} + {{ paginate | default_pagination }} + {% endpaginate %} +Payment Status: {{ order.financial_status }}
+{{ order.billing_address.name }}
+{{ order.billing_address.company }}
+{{ order.billing_address.street }}
+{{ order.billing_address.city }}, {{ order.billing_address.province }}
+{{ order.billing_address.country }} {{ order.billing_address.zip }}
+{{ order.billing_address.phone }}
+ +Fulfillment Status:{{ order.fulfillment_status }}
+{{ order.shipping_address.name }}
+{{ order.shipping_address.company }}
+{{ order.shipping_address.street }}
+{{ order.shipping_address.city }}, {{ order.shipping_address.province }}
+{{ order.shipping_address.country }} {{ order.shipping_address.zip }}
+{{ order.shipping_address.phone }}
+ +{{ line_item.title | link_to: line_item.product.url }} | +{{ line_item.sku }} | +{{ line_item.original_price | money }} | +{{ line_item.quantity }} | +{{ line_item.line_price | money }} | +