Slide Cart & Cart Drawer ‑ TCC Integration Guide

The app - Slide Cart & Cart Drawer ‑ TCC is developed by AppHQ. Here's the step to refresh the cart drawer after a bundle is built:

  1. Add a new liquid file - byob-custom-liquid.liquid in the code editor
  2. Copy and paste the content to the file
    <script>
      function afterBYOBAddtoCart(variants, variant_id) {
        window.SLIDECART_UPDATE();
      }
    </script>
    {% schema %}
      {
        "name": "BYOB Custom Liquid",
        "settings": [],
        "presets": [
          {
            "name": "BYOB Custom Liquid",
            "category": "BYOB Bundles APP"
          }
        ]
      }
    {% endschema %}
  3. Add the new section - BYOB Custom Liquid in our custom product template in the theme editor

  4. Hit the save button and it's done

Reference:

Still need help? Contact Us Contact Us