Web programming - Questions with the answers


html - How to create this title style?


Solution:I have come up with one valid for different text widths and any possible background without adding extra markup. Also, I
Continue reading

liquid - affect collection filters count in shopify


Solution:I think what you need to do is the following: Loop through all products in your collection Filter through them using your tag Assign
Continue reading

javascript - Cart toast notification - Shopify Hydrogen


Solution:To show product information in the toast notification when a product is added to the cart, you will need to pass
Continue reading

node.js - How to get URL of shop in Shopify embeded app?


Solution:All calls to your App provide a shop parameter (and now a host parameter too) ensuring you always know the shopify
Continue reading

shopify - Using two different blog listing page templates for the two different blogs in our shop


Solution:What you need to do is: in admin/themes click on the three dots and edit the code in the left pane create a
Continue reading

Shopify Storefront API error Delegate Access Token


Solution:Maybe you just need to change delegateAccessScope: to delegate_access_scope per doc, href="https://shopify.dev/apps/auth/oauth/delegate-access-tokens/create" rel="nofollow noreferrer">https://shopify.dev/apps/auth/oauth/delegate-access-tokens/create { "delegate_access_scope": [ "write_orders" ], "expires_in": 3600 }
Continue reading

html - Shopify Liquid Switch Statement Half Working...?


Solution:Your problem is solved by a simple technique of debugging. Use the common HTML comment to establish your test condition or
Continue reading

How To Display Featured Posts From Multiple Blogs in Shopify?


Solution:Have you tried the simplest of Liquid constructions like: class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> class="snippet-code"> class="snippet-code-html lang-html prettyprint-override">{-code-1} :::{% for blog in
Continue reading

javascript - Created "Buy X, Get Y Free" Script, How To Prevent Script From Running If Customer Removes Y?


Solution:It is pretty simple. If you added the free item to the cart in the first place, you used a Javascript
Continue reading

How to display different variant prices to different customers? (Shopify/Liquid)


Solution:I somehow managed to solve this. After being stuck on it for two days :P It works with something like this: class="snippet"
Continue reading