Tagged “shopify”
- Optimising CSS minification in Liquid• 5 min
Optimising a technique to use Liquid to minify CSS code for performance in Shopify themes.
- Prefill a Shopify discount with the Fetch API• 2 min
Set a prefilled discount in checkout with a fetch request.
- Implement a low stock notice in a Shopify theme• 5 min
A simple way to display a notice when the selected variant has a stock quantity below a specified value.
- Quick error reporting with Val Town• 6 min
Using Val Town's simple storage and notifications to rig up a lightweight error reporting system.
- Observing cart changes in a Shopify theme• 8 min
Identifying and responding to changes in a customer's cart.
- Detect subscription orders in the Shopify checkout• 3 min
How to determine whether a Shopify order includes a subscription.
- Making a Shopify Theme App Extension for Google Site Verification• 6 min
Whipping up a quick Shopify app to take advantage of the new theme app extension feature.
- Using PostCSS and Autoprefixer with esbuild• 3 min
Updating an esbuild config in a Shopify theme to utilise autoprefixer.
- Responsive images in Shopify themes• 8 min
Current solutions to handling responsive image formats in Shopify.
- Using tags to render related content in Shopify themes• 4 min
The trick I use to leverage tags to identify and display related content.
- Hiding Shopify pages from search results • 5 min
Sometimes you don't want certain resource types to be indexed by search engines.
- Refactoring a Shopify upsell widget to a Custom Element• 5 min
Often shop owners want the ability to offer a small upsell that can be easily added to an order.
- Adding VAT to 31,522 Shopify prices as quickly as possible• 5 min
Yay! Shopify finally handles tax in a way that's useful for Europeans.
- Using Jest tests to replace jQuery in a Shopify theme• 7 min
A strategy for safely removing jQuery as a dependency from custom Shopify themes.
- Shopify theme development with esbuild• 6 min
Leverage sass and bundle js imports with esbuild when using the new Shopify themes CLI.
- Quickly export Shopify data to a CSV• 1 min
A lightweight and configurable node script to export Shopify data.
See all tags.