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
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "title": "Claude Code Settings", | |
| "description": "Configuration schema for Claude Code settings.json files", | |
| "type": "object", | |
| "additionalProperties": false, | |
| "properties": { | |
| "$schema": { | |
| "type": "string", | |
| "description": "JSON Schema reference for this configuration file" |
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
| Input.cart.line_items.each do |item| | |
| # ================================================================ | |
| # LINE ITEM PROPERTY DISCOUNT | |
| # ================================================================ | |
| # Set the line item property in Shopify theme When adding item to cart | |
| # | |
| # line item property is a key/value pair. Example: {"_someCoolPromo": "1"} | |
| # | |
| # In this example: | |
| # "_someCoolPromo" is the key we look for here and must ALWAYS start with an underscore. |
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
| {% comment %}theme-check-disable TemplateLength{% endcomment %} | |
| {{ 'section-main-product.css' | asset_url | stylesheet_tag }} | |
| {{ 'component-accordion.css' | asset_url | stylesheet_tag }} | |
| {{ 'component-badge.css' | asset_url | stylesheet_tag }} | |
| {{ 'component-price.css' | asset_url | stylesheet_tag }} | |
| {{ 'component-rte.css' | asset_url | stylesheet_tag }} | |
| {{ 'component-slider.css' | asset_url | stylesheet_tag }} | |
| <link rel="stylesheet" href="{{ 'component-cart-notification.css' | asset_url }}" media="print" onload="this.media='all'"> | |
| <link rel="stylesheet" href="{{ 'component-deferred-media.css' | asset_url }}" media="print" onload="this.media='all'"> |
touch ~/.ssh/config
Open it and modify the file.
Host *
AddKeysToAgent yes
UseKeyChain yes
-
Go to https://YOURSTORENAME.myshopify.com/admin/settings/files?limit=250
-
Open Dev Tools, and go to Console tab.
-
In Console paste the code below to download shopify-files.html file.
function fetchPageAssets() {
let images = document.querySelectorAll('img[src*=files]');
images.forEach(function(image) {
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
| <form action="/cart/add" method="post" enctype="multipart/form-data" id="AddToCartForm"> | |
| {% if collection.products_count > 0 %} | |
| {% for product in collection.products %} | |
| {% if product.available %} | |
| <div class="row"> | |
| <div class="col-xs-12 col-sm-4"> | |
| <img src="{{ product.image | default: product.featured_image | img_url: 'large' }}" alt="{{ variant.title | escape }}" /> | |
| </div> | |
| <div class="col-xs-12 col-sm-8" style="padding: 15% 40px 0"> | |
| <div class="col-xs-12 col-sm-12"> |
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
| {% comment %} Hide Secret Shipping Rates From Checkout {% endcomment %} | |
| <script type="text/javascript"> | |
| if (Shopify.Checkout.step == 'shipping_method') { | |
| $(window).load(function () { | |
| $(".radio__label__primary").each(function () { | |
| var shipMeth = $(this).data("shipping-method-label-title"); | |
| if (shipMeth) { | |
| if (shipMeth.includes("Name Of Secret Shipping Rate Here") || shipMeth.includes("Another Secret Ship Option Rate Here")) { | |
| $(this).closest(".content-box__row").remove(); | |
| $(".section__content").each(function () { |
NewerOlder