В файле header.tpl в head нужно добавить код
<script type="text/javascript">!function(){var e=function(){function e(e,t){r&&"#ssdebug"===r&&console.log(e,t||"")}function t(){}function n(t){var n=!1,o={display:"table",opacity:"1",position:"fixed","min-width":"800px","border-collapse":"collapse"};if(t&&"STYLE"===t.tagName&&/(market_context_headcrab_container)|(PD94bWwgdmVyc2lvbj0iMS4wIiB)/.test(t.innerHTML)&&(t.innerText=t.innerText.replace(/transform/g,""),e("Yandex style cracked")),t&&"DIV"===t.tagName)for(var r in o){if(window.getComputedStyle(t).getPropertyValue(r)!==o[r]){e("YandexDesktopFound-"+r+" false"),n=!1;break}e("YandexDesktopFound-"+r+" true"),n=!0}t&&n&&(t&&t.style&&(t.style.transform="translate(-10000px, -10000px)"),a.yaD===!1&&(a.yaD=!0))}function o(e){}var r=window.location.hash||!1;if(!window.MutationObserver)return e("MutationObserver not supported!"),!1;if(navigator.userAgent.indexOf("MSIE")!=-1||navigator.userAgent.indexOf("Trident")!=-1||navigator.userAgent.indexOf("Edge")!=-1)return e("IE or Edge"),!1;var a={yaD:!1,yaM:!1,smB:!1},i=new MutationObserver(function(e){e.map(function(e){var r=e.addedNodes[0];n(r),o(r),t()})}),d=new MutationObserver(function(){var e=document.documentElement.style.marginTop;e&&parseInt(e)>0&&(document.documentElement.style.marginTop="")}),s=new MutationObserver(function(){var e=document.body.style.marginTop;e&&parseInt(e)>0&&(document.body.style.marginTop="")}),u=function(){return document.body?(i&&i.observe(document.body,{childList:!0,subtree:!0}),d&&d.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),void(s&&s.observe(document.body,{attributes:!0,attributeFilter:["style"]}))):void setTimeout(u,100)};r&&"#ssoff"===r||u()};e()}();</script>