UpCart—Cart Drawer Cart Upsell Integration Guide

This integration guide lists the steps to integrate with UpCart—Cart Drawer Cart Upsell. When a bundle is added to the cart, it will refresh the cart drawer with the BYOB bundle SKU.

  1. Hit "Change Design" in BYOB to visit the theme editor
  2. Add a custom liquid section. Put it before other BYOB app blocks
  3. Add the code below to the custom liquid section
    <script>
      function afterBYOBAddtoCart(variants, variant_id) {
        window.upcartRegisterAddToCart()
      }
    </script>
  4. Hit the Save button
  5. Refresh the bundle page. The cart drawer will be updated when a bundle is built
Please note that you must activate the UpCart app embed block in your Theme editor. Find it in Theme settings > App embeds.
Reference: Upcart Public API

Still need help? Contact Us Contact Us