Setting up Shopify on Theme Kit

The Shopify documentation is very thorough. That said, however extensive documentation is, there is always room for confusion. Let’s take the set up for ThemeKit. You’ve created your private app in both your development site in your Shopify partners account, and also the live site What issues might confuse you. Let’s work through them; Theme …

Read more

Shopify – Close Drawer On Scroll

It’s obviously a design decision that’s been taken at some point – when you open the cart drawer on Timber scrolling is disabled. Can’t say I agree with it though, it’s more usual UX to have a minicart or drawer close when the user starts scrolling. To re-enable scrolling you need to remove; From assets/timber.scss.liquid. …

Read more

Shopify – Updating Cart Drawer When Open

Note: This applies to themes built on Timber, it may not work on your theme. This was easy to fix, but only because user Benecke who opened an issue on GitHub was good enough to come back later and update what he did to actually fix the issue. The only thing worse than not doing …

Read more

Exclude Variant Images in Shopify

To my chagrin, I cannot now find the post where I got this code – unknown generous developer, I apologise. This kind of illustrates a point though – I got lucky finding that post. If you are reading this, you got lucky finding this post. In terms of organisation, curation and outright findability, Shopify University …

Read more

Advanced Custom Fields in Shopify

If you’ve spent any time developing WordPress themes you’ll more than likely have come across Advanced Custom Fields by Ellion Condon. Being a hater of content builder plugins I remember being resistant to it when I was first shown it by another developer. In the end I bought the Pro licence and I’ve used it …

Read more

Update cart contents counter after Ajax update

A short post that will hopefully be helpful to somebody – I’ve had to write this because Shopify have an annoying policy of closing old forum threads when it’d be more useful to keep them open and have them updated. This thread; https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/how-do-i-update-the-cart-counter-immediately-via-ajax-268966 Has an outdated solution for the problem. Problem If you enable the …

Read more