This text is italic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| {"name": "dev", "llms_txt": "https://shopify.dev/llms.txt"}, | |
| {"name": "api", "llms_txt": "https://shopify.dev/docs/api.txt"}, | |
| {"name": "api-admin", "llms_txt": "https://shopify.dev/docs/api/admin-graphql.txt"}, | |
| {"name": "api-customer", "llms_txt": "https://shopify.dev/docs/api/customer.txt"}, | |
| {"name": "api-storefront", "llms_txt": "https://shopify.dev/docs/api/storefront.txt"}, | |
| {"name": "app-bridge", "llms_txt": "https://shopify.dev/docs/api/app-bridge.txt"}, | |
| {"name": "cli", "llms_txt": "https://shopify.dev/docs/api/shopify-cli.txt"}, | |
| {"name": "polaris", "llms_txt": "https://shopify.dev/docs/beta/next-gen-dev-platform/polaris.txt"} | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% liquid | |
| assign app_namespace = 'app--67872686081' | |
| assign cross_sell_bundle_config = product.metafields[app_namespace].cross_sell_products.value | |
| assign active = cross_sell_bundle_config.active | |
| %} | |
| <p> | |
| <strong>Active: </strong> | |
| {{ active }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% if type == 'heading' %} | |
| <div class="col-12 mt-{{ block.mt }} mb-{{ block.mb }} tc"> | |
| <h1 class="mb-4"> | |
| {{ block.title }} | |
| </h1> | |
| <h4 class="my-3 fc-dark-gray italic uncase"> | |
| {{ block.subtitle }} | |
| </h4> | |
| <div class="{{ block.fs }} {{ block.ta }}"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*------------------------ | |
| Libraries | |
| ------------------------*/ | |
| const axios = require("axios"); | |
| const fs = require("fs"); | |
| const FormData = require("form-data"); | |
| /*------------------------ | |
| Download the file. | |
| Good article on how to download a file and send with form data - https://maximorlov.com/send-a-file-with-axios-in-nodejs/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% assign threshold = section.settings.free-shipping-threshold | times: 100 %} | |
| {% assign amount_remaining = threshold | minus: cart.items_subtotal_price %} | |
| {% assign amount_remaining_money = amount_remaining | money %} | |
| <div class="shipping-bar"> | |
| {% if amount_remaining <= 0 %} | |
| <p>{{ section.settings.free-shipping-message }}</p> | |
| {% else %} | |
| <p>{{ section.settings.approaching-message | replace: '*', amount_remaining_money }}</p> | |
| {% endif %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Disabling all apps code loaded via `content_for_header` | |
| Apps are all loaded in the header via a single script call, then the remaining assets are loaded below. This process takes place in the liquid tag `content_for_header`. | |
| 1. Open theme.liquid and locate the line which reads `{{ content_for_header }}`. | |
| 2. Now you can paste the following block of code to disable all apps on a new line before `{{ content_for_header }}`. | |
| ``` | |
| {% comment %} Leave url_to_remove as 0 to remove all apps, or set to a number to remove a specific app. {% endcomment %} |
- Download Microsoft Edge VM from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
- Download Virtualbox and import the Edge VM image.
Then in the VM:
- Install guest addons in the VM
- Download & install latest NVDA from nvaccess.org
- Download & install SharpKeys and use it to map left an alternative key (eg. Left Ctrl) to the Insert key. This is needed because Macs do not typically have an “Insert” key which is the prefix for many NVDA commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| // (c) Copyright 2016 Caroline Schnapp. All Rights Reserved. Contact: mllegeorgesand@gmail.com | |
| // See https://docs.shopify.com/themes/customization/navigation/link-product-options-in-menus | |
| // Modified by Jonathan Moore (Style Hatch) https://github.com/jonathanmoore | |
| /* | |
| Updated to work with sectioned themes | |
| - Added required methods from the deprecated options_selection.js | |
| - Triggers an initial variant change | |
| - Hides sold out variants with only one option |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var replace = require('gulp-replace'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var concat = require('gulp-concat'); | |
| gulp.task('compilesass', function() { | |
| // root SASS file (contains all your includes) | |
| return gulp.src('./sass/style.scss') | |
| // compile SASS to CSS |
NewerOlder