Web programming - new questions and answers


shopify - Cannot see Theme App Extension in theme builder


Solution:Quick troubleshooting guide: Have you built and deployed your extension using CLI? Did you enabled preview in partner panel? You can try setting
Continue reading

Shopify cart/update.js endpoint not updating the correct lineitem


Solution:In that case (multiple lines with same variant id in the cart) is better to use {-code-1} instead of {-code-2}:
Continue reading

html - My Background image is not working/appearing


Solution:The problem here is the space between the url and the opening parenthesis on the background-image property. Replace: {-code-1} With (removed space): {-code-2} If you remove
Continue reading

ruby - Shopify CLI - Error: cannot load such file --wdm


Solution:I had the same problem. I upgraded to the latest version of Shopify CLI (3.32.1) and the problem got solved. Use the
Continue reading

ruby - How to display array values in Shopify Script Editor?


Solution:So to clarify -- my initial issue was that the output I was receiving was the following : {-code-1} --
Continue reading

Showing shopify shipping rates based on weekday


Solution:Typically what we have done for a decade or so is install a custom carrier service for that purpose. By doing
Continue reading

Resetting a Liquid Variable in Shopify


Solution:From href="https://shopify.dev/api/liquid/tags/{-code-1}" rel="nofollow noreferrer">Shopify’s documentation: Variables that are created with {-code-1} are independent from those created with {-code-2} and capture. Instead of
Continue reading

html - Click on image div should appear JavaScript


Solution:something like from your code that maybe the blocks has not only one block, so if you just use the {-code-1},
Continue reading

if statement - Liquid Hide Featured image and show placeholder


Solution:One thing that jumps out at me is 'featured-image'. Usually schema ID's will use underscores, not hyphens. It might help to
Continue reading

css - How do I change the size of inputted text in a jQuery delivery date picker on a Shopify site?


Solution:This can be solved by just setting your desired font-size for this element in your CSS: class="lang-css prettyprint-override">{-code-1} Maybe you have other
Continue reading