Phil Blakemore
PB

Phil Blakemore

Shopify Plus Engineer
United Kingdom
English
Customer Rating:
5.0(1 reviews)
Starting Price:

$85.00

Consultation form not connected
Local Time: 09:08 AM

Restoring a broken Rebuy Smart Cart and Klaviyo add to cart tracking for Madison's Niche

Industry

Clothing and fashion

Shopify Plan

Advanced

Project Duration

Jun 2026 - Jul 2026

Madison's Niche is a lifestyle boutique based in Deer Park, New York, with physical stores and an online shop. It sells hand-picked women's fashion, accessories, home décor, kitchenware, gifts and baby products, and the range changes often.

Women shopping for clothing, accessories, home pieces and gifts, both online and in the boutiques, with in-store pickup and same-day local delivery.

The Challenge

Get the Rebuy Smart Cart working reliably again and make Klaviyo's add to cart data trustworthy, without breaking anything else on a live store running Impulse 7.4.0.

Rebuy was still running on a legacy widget integration that Shopify had replaced with App Blocks. A third-party performance agency was deferring and re-injecting scripts in a way that broke the cart in real time and corrupted Klaviyo's add to cart events, so abandoned cart flows were running on bad data.

Solution

I traced the conflicts on a duplicate theme, removed the legacy Rebuy code, moved the integration onto App Blocks and unwound the script injections that were causing the breakage. Klaviyo tracking was replaced with native tracking and checked before anything went live.

  • Legacy Rebuy snippets removed from the theme.

  • Rebuy Smart Cart migrated to App Blocks.

  • Conflicting deferred and re-injected scripts unwound.

  • Broken Klaviyo add to cart code replaced with verified native tracking.

  • All changes tested on a development theme before publishing.

Used Shopify apps and theme

Rebuy
Klaviyo

Result

The Smart Cart works again, Klaviyo is receiving correct add to cart events, and the script conflicts are gone with no regression to existing features.

“Great experience working with Phil. He was very responsive, quickly identified the issue on our website, and clearly explained both the problem and the solution in an easy-to-understand way. He was proactive, professional, and efficient throughout the process. I appreciated his clear communication and willingness to help improve the site's overall functionality and performance.”

Jen Roman