Sensible defaults for image alt text in Shopify theme sectionsAs developers we all know that images should always have alt text defined firstly for accessibility and secondly for SEO, so we tell…Aug 8, 2023Aug 8, 2023
How to change a Shopify template using URLAdding this query string parameter will allow you to test a theme template on a page or product on a live site, without your customers…May 13, 2023May 13, 2023
Shopify: How to get the size of a metafield list valueIf you are enjoying using Shopify’s metafields you’ve possibly come across the need to check the number of items in a reference list type…Mar 16, 2023Mar 16, 2023
Shopify: Putting the collection back in breadcrumbs, after fixing the SEOOne of the most common Shopify SEO tips is to remove the | within: collection filter on the collection template, so that your product links…Jan 14, 2023Jan 14, 2023
Shopify: Let customers know when products will be back in stockWhen a product goes out of stock on your Shopify store, you’ll probably have some code in your theme that shows a badge, to say the product…Dec 13, 2022Dec 13, 2022
Add related products to your blog posts using Metafields in Shopify.Like my article about linking products to other products using metafields in Shopify, this short article shows that we can use a similar…Oct 18, 20224Oct 18, 20224
Shopify: Displaying Order Attributes To Customers Post PurchaseYou may have order attributes on your Shopify orders, which have been added during the order process or afterwards using an app to let you…Aug 31, 2022Aug 31, 2022
Shopify locale aware URLsIf you are using the Shopify Markets functionality to make your store available to multiple currencies or languages. You are likely using…Aug 3, 20221Aug 3, 20221
Linking alternative products using metafields in ShopifyYou’ve seen a grid of alternative colours for products on a product description page before and in fact I’ve described how to achieve this…Jul 23, 20228Jul 23, 20228
Block direct access to cloudfront.net URLs when using an alternate domainIf you use AWS’s CloudFront as a straight forward CDN for a static website or simple app, and have an alternate domain set up for that site…Jul 14, 20221Jul 14, 20221