Tandem Mechanics - Selling in Packs

Case Study: Byerly Parts
Industry: Aviation
Main Challenge: Sell Items in Tandem

Everyone loves airplanes! We especially. Few years ago I had a chance to fly a small one which made me very excited when we came across a project for Byerly Parts. These guys sell various airplane parts like breaks, pistons and of course fuel pumps. The main idea was to have "core" charges added whenever a "trigger" item was added to cart. 

Byerly Parts Kaleido

To make things even more interesting each core item is associated with multiple trigger items. To make things simple, when items A, B, C or D are added to the cart, always add a single core item. Adding items proved to be quite simple. There is a spectacular JavaScript library for Shopify, called CartJS that made our life much easier. All we needed to do is interrupt the add to cart flow, inject our script and voila, all done. Well, it was a bit more complex than that. We had to figure out the current variant, the associated core variant and add it to the cart. Coupled with the magic of our add-on called Add Free Gift we were able to achieve 100% what our client wanted, automatically.

Byerly Parts Kaleido Shopify Experts

That was the end of the easy part and where the real fun began. The trouble with the cores is that it was a one to many ratio so if any of the triggers were changed in the cart, the number of cores had to be changed dynamically as well. Fairly straight forward. However, it did require figuring out the number of cores, triggers and assigning listeners to each trigger in order to know when the number has changed. Oh, and cores were not editable in the cart. Hint: Disabled input field didn't work (calculations were wrong at checkout) so we opted to use read-only which worked like magic!

Byerly Parts Kaleido Shopify Experts

To make things even easier, we added a realtime trigger update when the number of core was changed (or a core was removed) with a brief delay which proved to save some time (and will increase the checkout rate) as it will save the buyer one click. We did something similar with a product breaks setup we did recently and everyone seems to love it - hint hint, patent time :)

We love challenges like these. Bit of thinking, bit of tinkering and ultimately we make things happen. Have a project and think Shopify can't do it? Think again.



  • There are no comments yet. Be the first one to post a comment on this article!

Leave a comment

Please note, comments must be approved before they are published