How to Use all_products in a Shopify Theme
For this week’s advanced Liquid Shopify tutorial, we’ll be looking at a way to access product information without having to loop over a collection or be on a product detail page. We can achieve...
For this week’s advanced Liquid Shopify tutorial, we’ll be looking at a way to access product information without having to loop over a collection or be on a product detail page. We can achieve...
Previously, we often embed image into article content or article excerpt, after that we will use a code snippet get a first image from that and made featured image for this article.
1 2 3 4 5 6 7 8 9 | {% assign featured_image = article.excerpt_or_content | escape %} {% if featured_image contains '<img' %} {% assign featured_image = featured_image | split: 'src="' %} {% assign featured_image = featured_image[1] | split: '"' %} {% assign featured_image = featured_image[0] | remove: '//cdn' %} {% assign featured_image = featured_image | remove: 'http:'; %} {% assign featured_image = featured_image | remove: 'https:' %} {{ featured_image | prepend:'//cdn' | img_tag}} {% endif %} |
But...
Today I will guide for you create constant music player for your store on Shopify Platform. DEMO We will use SCM Player at site www.scmplayer.net. After access this website and only 3 steps: Step...
Today, I received a request from the client. The client requirements check “Accepts Marketing” option because it’s not working. Website of my client have “Accepts Marketing” option in Register page. When registering if the...