CTB — CTB theme integration

Icon Theme Integration - CTB

CTB CTB theme integration Icon Theme Integration

Step 1: Select the placeholder option in CTB Select the last option under the "position" setting in the bar configuration in the App Select the “Pin the bar to the position” option Scrolling to the very end, and click the "Save" button to save the change Step 2: Add CTB Go to Admin > Online Store > Themes Click the "Actions" button on the right-hand side, and select "Edit code" Find theme.liquid from the left-hand side file list and open it Find <div class="shifter-page Add following code after it. Save the changes. <div id="ctb_placeholder">   <script>   var ctb_adjusted = false;   $( "#ctb_placeholder" ).on( "ctb_fully_loaded", function(event, p1) {     if ((p1=='inserted' ||...

Read more →


React Theme Integration - CTB

CTB CTB theme integration React Theme Integration

Step 1: Select the placeholder option in CTB Select the last option under the "position" setting in the bar configuration in the App Select the “Pin the bar to the position” option Scrolling to the very end, and click the "Save" button to save the change Step 2: Add Part I Go to Admin > Online Store > Themes Click the "Actions" button on the right-hand side, and select "Edit code" Find theme.liquid from the left-hand side file list and open it In the file, find <body class="{% if customer %}customer-logged-in Add following code after it, and save the changes. <div id="ctb_placeholder">     <script>         var ctb_adjusted = false;         $( "#ctb_placeholder" ).on(...

Read more →


Grid Theme Integration - CTB

CTB CTB theme integration Grid Theme Integration

Step 1: Select the placeholder option in CTB Select the last option under the "position" setting in the bar configuration in the App Scrolling to the very end, and click the "Save" button to save the change Step 2: Add the bar Go to Admin > Online Store > Themes Click the "Actions" button on the right-hand side, and select "Edit code" Find header.liquid from the left-hand side file list and open it Find <header Add the following code before it, and save the changes. <div id="ctb_placeholder"></div>   Step 3: Add CSS Find theme.scss.liquid from the left-hand side file list and open it Add the following code at the very end of the...

Read more →


Timber Theme Integration - CTB

CTB CTB theme integration Timber Theme Integration

Step 1: Select the placeholder option Select the last option under the "position" setting in the bar configuration in the App Select the “Pin the bar to the position” option Scrolling to the very end, and click the "Save" button to save the change Step 2: Add the bar Go to Admin > Online Store > Themes Click the "Actions" button on the right-hand side, and select "Edit code” Find theme.liquid and open it In the file, find <div id="PageContainer" Add following code after it and save the changes. {% if template contains 'index' %}     <div id="ctb_placeholder">         <script>             var ctb_adjusted = false;             $( "#ctb_placeholder" ).on(...

Read more →


Venture Theme Integration - CTB

CTB CTB theme integration Venture Theme Integration

Step 1: Select the placeholder option Select the last option under the "position" setting in the bar configuration in the App Scrolling to the very end, and click the "Save" button to save the change Step 2: Add the bar Go to Admin > Online Store > Themes Click the "Actions" button on the right-hand side, and select "Edit code” Find header.liquid and open it In the file, find <div class="site-header__upper Add the following codes before it, and save the changes. <div id="ctb_placeholder"></div>   Enjoy the app Congratulations. You successfully integrate the app with your theme. If you cannot see the bar yet. Please double check...

Read more →