color picker to text schema – Shopify
I'm trying to add a color picker to a change the color of a heading but I can't workout how to add a relation between heading and color picker. this currently doesn't save as its not valid Json, but this…
I'm trying to add a color picker to a change the color of a heading but I can't workout how to add a relation between heading and color picker. this currently doesn't save as its not valid Json, but this…
I am trying to get the weight of a product based on what was entered for that product as weight. From there use an IF statement to show the shipping fee or Free Shipping. Here is the code I currently…
I am on the product info page and would like to know if its possible to get the current collection that the product is in so that i can do some stuff. How can i get the current collection? I…
I was trying to add additional custom field in the checkout screen and here is my code: <div class="additional-checkout-fields" style="display:none"> <div class="fieldset fieldset--address-type" data-additional-fields> <div class="field field--optional field--address-type"> <h2 class="additional-field-title">ADDRESS TYPE</h2> <div class="field__input-wrapper"> <label> <input data-backup="Residential" class="input-checkbox" aria-labelledby="error-for-address_type" type="checkbox" name="checkout[Residential]"…
var first = 'one', second = 'two.png'; image = first + second; console.log('js image: ' + image); image = '{{ image | asset_url }}'; console.log('liquid image: ' + image); Produces in the console: js image: onetwo.png liquid image: I cannot…
Error When making a call to the shopify ajax api I am getting an error shown in the developer tools console. Uncaught SyntaxError: Unexpected token : Clicking on this error in the javascript console oddly shows the response which is…
I am looping through all collections, and creating a preview item with each collection title, image and link. But I have 15 collections I would like to exclude. Currently I am using 'contains' to exclude the 15 I don't want,…
I'm doing some URL verification between a Shopify site and my app. On Shopify, in a .liquid file, I'm creating an HMAC value using Shopify's built in hmac_sha256 string filter. I'm using a secret key and a Twitch user ID…
I need to insert a code that contain double curly braces (Its a Shopify liquid object) That code i need to insert looks like this { collection.products_count }}, The purpose of that code is that when you insert it on…
First of all, I use Plate CMS(runs on shopify liquid), this is creating the sections you can see in the image above. Now im struggeling with a small problem. I want to loop all 6 sections but only 4 of…