Mike Fallows

  1. Adding an SVG favicon with dark mode support
    • 5 min

    Updating my favicon and adding support for dark mode.

  2. Optimising CSS minification in Liquid
    • 5 min

    Optimising a technique to use Liquid to minify CSS code for performance in Shopify themes.

  3. Avoiding a DOMContentLoaded gotcha with readyState
    • 2 min

    I recently hit a race condition when a script was loading faster in some browsers.

  4. Prefill a Shopify discount with the Fetch API
    • 2 min

    Set a prefilled discount in checkout with a fetch request.

  5. Implement a low stock notice in a Shopify theme
    • 6 min

    A simple way to display a notice when the selected variant has a stock quantity below a specified value.

  6. Quick error reporting with Val Town
    • 6 min

    Using Val Town's simple storage and notifications to rig up a lightweight error reporting system.