Using Slide Cart with Also Bought

Slide Cart is compatible and can be used with Also Bought. For both apps to work together, you will need to follow the steps described below.


  1. Make sure you've enabled Slide Cart's app embed toggle in your store's theme:

  1. Place the following snippet underneath the <body> tag in the theme.liquid file of your theme.
<script>
  document.addEventListener("DOMContentLoaded", function() {
    $(document).on('mouseup', '.cbb-also-bought-add-to-cart-button', function() {
      setTimeout(function() {
        window.SLIDECART_UPDATE()
        window.SLIDECART_OPEN()
      }, 500)
      setTimeout(function() {
        window.SLIDECART_UPDATE()
      }, 1000)
    })
  })
</script>

It should look like this:

If you need help or it's not working, do not hesitate to reach out.

Still need help? Contact Us Contact Us