Automatic qualification
The cart continuously evaluated whether the customer's current products met the promotional requirements.
Only eligible products contributed toward the threshold.
CUSTOM SHOPIFY CART EXPERIENCE
Metalbird needed more than a basic free-product promotion. The experience had to recognize qualifying customers, add the correct gift automatically, allow customers to change their selection, and stay synchronized as the cart changed.
I designed and developed a custom Shopify cart experience that managed the promotion from qualification through gift selection, then later collaborated with the Kefi development team to transition the experience into Metalbird's new cart system.

01/The Challenge
At first glance, the requirement sounded straightforward:
Give customers a free product when their cart qualifies.
The main challenge wasn't adding the gift.
It was maintaining a predictable customer experience across every cart state.
02/The Approach
Rather than spreading promotion-specific logic throughout the theme, I encapsulated the experience in a reusable cart component.
The component listened for cart changes and re-evaluated the promotion whenever products or quantities changed.
That made the behaviour easier to manage:
Cart changes ↓ Check eligibility ↓ Qualified? ↙ ↘ Yes No ↓ ↓ Manage Remove free gift promotion
This separation also made the experience easier to migrate when Metalbird later changed its cart architecture.
03/The Solution
The cart continuously evaluated whether the customer's current products met the promotional requirements.
Only eligible products contributed toward the threshold.
Once the requirements were reached, the default promotional product could be added automatically.
Customers didn't need to manually activate the promotion.
Instead of locking customers into the automatically selected product, the interface presented multiple gift options.
Customers could switch gifts without manually removing and re-adding products.
Additional safeguards prevented the cart from containing multiple promotional products.
The promotion responded to products being added or removed, quantity changes, gift changes, and the cart falling below the threshold without requiring the page to reload.
04/Evolving the Solution
Later, Metalbird adopted Kefi as part of a new theme and cart experience.
Rather than maintaining two separate implementations, I worked alongside the Kefi developer to transfer the existing interface and promotional logic into the new system.
This preserved the customer experience while allowing Metalbird to move the promotion into its new cart infrastructure without rebuilding the interaction from scratch.
05/Outcome
The project transformed a potentially fragile promotion into a structured customer experience.
06/PROJECT GALLERY
A closer look at how the promotional cart experience responds as customers qualify for and interact with their free gift.





07/Technical Implementation
The implementation focused on keeping the promotional experience modular, maintainable, and compatible with the existing cart.
I built the initial functionality as a reusable Web Component without Shadow DOM, allowing it to integrate naturally with Shopify's theme markup, styling, and existing cart behaviour.