Dynamic Variant Image Swatches
Implementing a system where variant-specific images are displayed as swatches on the collection page, requiring the product card to dynamically update as variants are selected.
Challenge 01 of 08Case studyAccessories · Shopify
Black Chili Messer is a Shopify-based e-commerce platform offering high-quality knives and culinary tools. The project involved building the website from scratch using the Impact theme and implementing custom functionalities to enhance the user experience. The main focus was on displaying variant-specific images on the collection page and providing a seamless way to notify customers when products are back in stock.
Overview
Development of Black Chili Messer’s Shopify Store with Variant Swatches and Custom Functionalities.
Project challenges
The problems standing between the client and a product built for growth.
Implementing a system where variant-specific images are displayed as swatches on the collection page, requiring the product card to dynamically update as variants are selected.
Challenge 01 of 08Developing a custom button that integrates with Klaviyo to allow customers to sign up for email alerts when products are back in stock, ensuring the process is user-friendly and efficient.
Challenge 02 of 08Creating reusable custom sections from a Figma design, ensuring they are versatile enough to be used across various pages without compromising on the design integrity.
Challenge 03 of 08Implementing a feature where a second product image appears on hover, enhancing the interactive experience and visual appeal of the product listings.
Challenge 04 of 08Ensuring that all custom sections and elements maintain a consistent look and feel throughout the site, aligning with the brand’s visual identity.
Challenge 05 of 08Writing clean, structured code in Liquid, CSS, and JavaScript, along with Klaviyo API integration, to facilitate future scalability and easy maintenance.
Challenge 06 of 08Seamlessly integrating third-party services like Klaviyo without disrupting the user experience or the aesthetic flow of the website.
Challenge 07 of 08Ensuring the site remains fully responsive across all devices, particularly focusing on mobile devices where a significant portion of users shop.
Challenge 08 of 08Our solution

Built reusable custom sections according to the Figma design provided by the client. Enabled these sections to be deployed across multiple pages, maintaining design consistency and flexibility.
Developed a custom functionality for displaying variant images as swatches on the collection page. Ensured the product card dynamically updates to show the selected variant’s image and displays a hover image for improved interactivity.
Integrated Klaviyo to create a custom button that allows customers to subscribe for email notifications when a product is back in stock. Automated email notifications to streamline communication and drive conversions.
Used well-structured code written in Liquid, CSS, JavaScript, and Klaviyo API to ensure scalability and easy maintenance.
Our strategy
8 pillars that guided every design and development decision.
Engaging with the client to thoroughly understand their brand vision and functionality needs to deliver a tailored e-commerce solution.
Utilizing a modular approach in development to create reusable components that can be easily managed and updated.
Implementing an iterative development process with continuous testing and refinement based on client feedback to ensure all functionalities meet the desired outcomes.
Integrating all custom settings into Shopify’s native customization capabilities, allowing the client to easily manage and update the website.
Focusing on optimizing the website’s performance to handle high traffic volumes and ensure fast loading times for an enhanced user experience.
Incorporating SEO best practices in coding and site structure to enhance the visibility of the website in search engine results.
Prioritizing a user-friendly design that enhances customer engagement and increases conversion rates through intuitive navigation and interactive elements.
Providing comprehensive documentation of the development process, codebase, and integration points to facilitate easy maintenance and future upgrades by the client or other developers.
Results
The custom swatches feature dynamically updates product card images, providing customers with a seamless and interactive shopping experience.
The back-in-stock notification feature integrated with Klaviyo ensured timely updates to customers, increasing the likelihood of conversions.
Custom sections allowed the client to maintain design consistency and easily reuse components across the website.
Clean and maintainable code ensured the website remains scalable and responsive for future growth.
Inside the build
Hover to pause. Click any screen to view it larger.



What we delivered
Ongoing success
Related case studies
FAQ
Planning something similar? Here are quick answers on how we work, timelines and support.
We’re a full-service technology company specialising in Shopify and ecommerce. We design, build and grow online stores, custom web and mobile apps, AI solutions and enterprise software for brands around the world.
We have offices in Alpharetta, Georgia (USA) and Mohali, Punjab (India). With teams in two time zones, your project keeps moving around the clock - and we work with clients worldwide.
Book a free consultation or request a quote through our contact form. We’ll set up a call to understand your goals, then send you a proposal covering scope, timeline and cost.
Both. We work with new brands launching their first store, growing businesses that need to scale, and enterprises that need complex custom systems. We shape our approach and team around your stage and budget.
Yes - Shopify is our core specialism. We handle custom theme development, Shopify Plus, custom Shopify apps, Liquid development, Hydrogen headless builds, Shopify Markets and third-party integrations.
Yes. We migrate stores from WooCommerce, Magento, BigCommerce and custom platforms. We move your products, customers and order history, and use a 301 redirect strategy so you keep your search rankings.
Yes - speed optimisation is one of our most requested services. We audit your theme and apps, remove what you don’t need, optimise images and code, and improve your Core Web Vitals so pages load faster and rank better.
Yes. Our conversion rate optimisation (CRO) service looks at where shoppers drop off - product pages, cart and checkout - then redesigns and tests those moments. Our clients have seen up to a 76% increase in store sales.
Yes. We can revamp your current store’s design and user experience while keeping your products, customers and SEO intact.
We build custom AI software, AI agents and automated workflows, conversational AI experiences, and AI search optimisation so your brand shows up in tools like ChatGPT and Perplexity. We also offer AI cost monitoring to keep your API spend under control.
Yes. We build custom web applications, iOS and Android apps, cross-platform apps with Flutter and React Native, and progressive web apps - from planning and design through development, testing and launch.
Our stack includes Shopify, React, Angular, Vue, Next.js, Node.js, PHP, Python, .NET, Flutter, AWS, Azure and Google Cloud, along with databases such as MySQL, PostgreSQL and MongoDB.
Every project follows seven steps: Discuss, Analyze, Structure, Design, Development, Testing and Launch. You’ll have clear milestones and regular updates at every stage.
Every project is quoted based on its specific requirements. After a free consultation, we send you a clear, itemised proposal with no hidden costs.
You’ll receive regular progress updates throughout the project and can review the work at each milestone before we move on to the next stage.
Every project goes through our rigorous testing process - manual and automated testing across devices and browsers - before launch. If a defect is found in work we’ve delivered, we fix it at no extra cost.
Yes. We offer ongoing store maintenance and support covering updates, monitoring, backups, security checks and new features as your business grows.
Still have a question? Talk to an expert
Let's work together
Tell us about your project and we'll show you how we'd approach it.
Get a quote
Let's connect and explore how we can make your next project a success.
It only takes a minute.
Your details are safe with us. No spam.
Free download
Access ready-to-use templates to plan, scope, and execute your AI initiative with clarity and confidence.
Enter your details to download the template.
Your details are safe with us. No spam.
Free download
Access practical frameworks and tools to understand, evaluate, and implement blockchain solutions with confidence.
Enter your details to download the playbook.
Your details are safe with us. No spam.
Before you go
See why brands trust Bytecode to build, scale and look after their digital products.
Share your requirements and our experts will map out the right plan for your business.
Your details are safe with us. No spam.
Trusted by brands like
Book a meeting
Book a meeting with one of our experts to discuss your requirements and solutions tailored to your needs.
Ready to help you code your next success!Pick a slot and we'll take it from there.
Choose a slot and get your invite straight away.
See available times and book instantly.
You have unsaved changes. Do you really want to close?