Ultimate Cart Drawer + Upsells & Cashier

Follow

Overview

To ensure Ultimate Cart Drawer + Upsells by Sellify works with Bold Cashier, please follow these steps:

  1. Duplicate themes, to create a backup copy.
  2. From your Shopify admin, select Online Store.

    select_online_store.png

  3. Select Actions.

    select_actions.png

  4. Select Edit code.

    select_edit_code.png

  5. Under "Layout", select theme.liquid.

    Select_theme.liquid__1_.png

  6. Find the closing head tag.

    find_the_closing_head_tag.png

  7. Copy and paste the following code directly above the </head> tag:
    <script>
        window.addEventListener('Sellify::UCD::CartVisible', function() {
          var checkoutBtn = document.querySelector('#sellify-ucd-cart-container button[form="ucd-checkout-form"]')
          var footer = document.querySelector('#sellify-ucd-cart-container .ucdcart__footer')
          var form = document.querySelector('form#ucd-checkout-form')
          footer && form.appendChild(footer)
          checkoutBtn && form.appendChild(checkoutBtn)
        })
     </script>
  8. Select Save.

    select_save.png

3 out of 3 found this helpful

Comments

0 comments

Please sign in to leave a comment.