CTB

Countdown Type A Use Case

CTB CTB use cases

Type A is good for any generic promotions, such as Halloween, Thanksgiving, Christmas, anniversary, annual sales, etc Here are the steps Under "Start Time and End Time:", define the start and end time, so the bar is valid to display during this period Under "Countdown Timer Type:", select Type A For the example in the screenshot, the bar is valid to display from 12AM Oct 20th, 2016 to 12AM Oct 23th, 2016; the actual countdown time is 72 hours (3 days).

Read more →


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 →