Skip to content

About

Copy-paste Liquid + CSS snippets for the most-requested Shopify theme customizations — sticky add-to-cart, variant swatches, quick view, mega menu. No apps, no subscriptions.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

🛍️ Shopify Liquid Cookbook

Copy-paste Liquid + CSS snippets for the most-requested Shopify theme customizations

Liquid License: MIT PRs Welcome Snippets

No apps. No subscriptions. No monthly fees. Just working code you paste into your theme.

Snippets • How to use • Contributing


💡 Why this exists

Every Shopify store owner eventually wants the same handful of tweaks — a sticky add-to-cart, variant swatches, a quick-view, a mega menu. The "solution" is usually a $10–30/month app for something that's 20 lines of Liquid.

This cookbook is a growing collection of battle-tested, copy-paste snippets so you can customize your theme yourself and stop renting features.

📦 What's inside

Snippet What it does Difficulty
🛒 Sticky Add-to-Cart Keeps the buy button visible as you scroll ⭐
🎨 Variant Swatches Color/image swatches instead of a dropdown ⭐⭐
👁️ Quick View Preview a product without leaving the page ⭐⭐
📂 Mega Menu Multi-column dropdown navigation ⭐⭐
🚚 Free-shipping bar "You're $X away from free shipping" ⭐
⏱️ Countdown timer Urgency for sales/launches ⭐

More added regularly — ⭐ star the repo to get notified as new snippets land.

🔧 How to use

  1. Browse to the snippet folder you want
  2. Read the short README (where to paste, what to change)
  3. In Shopify: Online Store → Themes → Edit code
  4. Paste, save, done ✅

Every snippet is standalone — take only what you need.

💡 Tip: Always Duplicate your theme before editing, so you have a one-click rollback.

🤝 Contributing

Got a snippet other store owners keep asking for? PRs welcome!

  • One folder per snippet
  • Include a tiny README: what it does, where to paste, what to edit
  • Keep it dependency-free (no apps)

If this saved you a monthly subscription, please ⭐ the repo so more store owners find it.

📄 License

MIT © Manish Kumar — use it in client work, commercial stores, anywhere.

About

Copy-paste Liquid + CSS snippets for the most-requested Shopify theme customizations — sticky add-to-cart, variant swatches, quick view, mega menu. No apps, no subscriptions.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages