i installed this module Chatra https://www.zen-cart.com/downloads.php?do=file&id=2034, when i put this code
Code:
<script>
window.ChatraSetup = {
colors: {
buttonText: '#f0f0f0', /* chat button text color */
buttonBg: '#3499da' /* chat button background color */
}
};
</script>
<!-- Chatra {literal} -->
<script>
(function(d, w, c) {
w.ChatraID = 'yfz2dwnFxZgz3CTwk';
var s = d.createElement('script');
w[c] = w[c] || function() {
(w[c].q = w[c].q || []).push(arguments);
};
s.async = true;
s.src = 'https://call.chatra.io/chatra.js';
if (d.head) d.head.appendChild(s);
})(document, window, 'Chatra');
</script>
<!-- /Chatra {/literal} -->
in its respective place. i get this on bottom of screen
Code:
<script> window.ChatraSetup = { colors: { buttonText: '#f0f0f0', /* chat button text color */ buttonBg: '#3499da' /* chat button background color */ } }; </script> <!-- Chatra {literal} --> <script> (function(d, w, c) { w.ChatraID = 'yfz2dwnFxZgz3CTwk'; var s = d.createElement('script'); w[c] = w[c] || function() { (w[c].q = w[c].q || []).push(arguments); }; s.async = true; s.src = 'https://call.chatra.io/chatra.js'; if (d.head) d.head.appendChild(s); })(document, window, 'Chatra'); </script> <!-- /Chatra {/literal} -->
i ended up putting the code in tpl.main, it works but shows on every page. this did work in 1.51
here is a product page https://www.jnsflooringandsupplies.c..._Diamond_Blade
Bookmarks