{strip} {$html_class_array = []} {$_color_scheme_class = 'color_scheme_'|cat:str_replace('img/themesettings/','',str_replace('.png','',$theme_settings.color_scheme))} {if $theme_settings.color_scheme}{$html_class_array[] = $_color_scheme_class}{/if} {if $theme_settings.font_size}{$html_class_array[] = $theme_settings.font_size}{/if} {if $theme_settings.font_family}{$html_class_array[] = $theme_settings.font_family}{/if} {if $wa->globals('isMyAccount')}{$html_class_array[] = 'my'}{/if} {$current_app = waRequest::param('app')} {$current_action = waRequest::param('action')} {$current_module = waRequest::param('module')} {$is_homepage = false} {if $current_app == "shop" AND $current_action == "" AND $current_module == "frontend"} {$is_homepage = true} {/if} {$is_category_page = false} {if $current_app == "shop" AND $current_action == "category"} {$is_category_page = true} {/if} {$is_product_page = false} {if $current_app == "shop" AND $current_action == "product"} {$is_product_page = true} {/if} {if $theme_settings.cookies_consent} {/if} {literal}{/literal} {if $is_homepage} {$homebanners = shopSpecialofferPlugin::getHomeOffers()} {if $homebanners} {$homebanner_first = true} {foreach $homebanners as $homebanner} {if $homebanner_first AND isset($homebanner.homebanner) AND $homebanner.homebanner} {$homebanner_first = false} {/if} {/foreach} {/if} {/if} {$title = $wa->title()} {$title_begin = mb_strtoupper(mb_substr($title, 0, 1, 'UTF-8'), 'UTF-8')} {$title_end = mb_substr($title, 1, mb_strlen($title), 'UTF-8')} {$title_begin}{$title_end} {if class_exists(shopCustom)} {shopCustom::preventIndexation()} {/if} {include file="`$wa_active_theme_path`/hreflang.html" inline} {$page_params = waRequest::param()} {$get_params = waRequest::get()} {if (isset($page_params.module) AND $page_params.module == "forgotpassword") OR (isset($page_params.norobots) AND $page_params.norobots == 1 AND isset($page_params.seofilter_filter_url) AND $page_params.action == "category") OR isset($get_params.sort) OR isset($get_params.nomobile)} {/if} {if (isset($category) AND $category.id == 29557)} {/if} {if $page_params.action == "category" AND (isset($get_params.page) AND $get_params.page > 1) AND !$products} {/if} {if $wa->blog} {$rss = $wa->blog->rssUrl()} {if $rss} {/if} {/if} {if $is_homepage OR $is_category_page OR $is_product_page} {include file="above-the-fold-styles.html" inline} {if $is_homepage} {include file="above-the-fold-home.html" inline} {/if} {if $is_category_page} {include file="above-the-fold-category.html" inline} {/if} {if $is_product_page} {include file="above-the-fold-product.html" inline} {/if} {include file="`$wa_active_theme_path`/head-styles-optimize.html" inline} {if $wa->shop && $wa->shop->currency() == 'RUB'} {/if} {else} {include file="`$wa_active_theme_path`/head-styles.html" inline} {if $wa->shop && $wa->shop->currency() == 'RUB'} {/if} {/if} {$wa->css()} {if waRequest::get('force') == "jquery"} {else} {/if} {if $wa->shop} {shopStickyanglePlugin::getCode()} {/if} {$wa->block("shop.seo_pagination")} {* WEBDL start 1009014 *} {$get_params = waRequest::get()} {if !$canonical AND $get_params AND $page_params.action == "category"} {$canonical_url = $wa->currentUrl(true, true)} {/if} {* WEBDL end 1009014 *} {* canonical code *} {if $page_params.action == "page" AND $page.canonical != ""} {else if !$get_params AND $page_params.action != "category" && !empty($canonical)} {else} {/if} {* canonical code end *} {* roistat call-tracking *} {*} {*} {* roistat call-tracking end *} {$wa->head()} {* Choose lang *} {$current_locale = mylangLocale::currentLocale()} {literal} {/literal} {* Google Optimize *} {*} {*} {* End Google Optimize *} {if $wa->currentUrl() == '/'} {/if} {* Push SenPulse *} {* End Push SenPulse *} {literal}{/literal}
{$wa->block("free_phone_number")} [`Select city`] {if $current_locale == "ru_RU"} {$wa->block("cities")} {else} {$wa->block("cities_uk")} {/if}
{if $action == "search"} {literal} {/literal} {/if}
{$in_comparison = $wa->shop->inComparison()} {$compare_class = "compare-link compare-link--empty"} {if count($in_comparison) > 0} {$compare_class = "compare-link compare-link--less"} {/if} {if count($in_comparison) >= 2} {$compare_class = "compare-link"} {/if} {if $in_comparison[0] == 0} {$compare_class = "compare-link compare-link--empty"} {/if} {if $wa->isAuthEnabled()} {$fav_count = shopFavoritesPlugin::countProducts($products)}
{if $wa->user()->isAuth()}
{if $fav_count > 0}{$fav_count}{else}0{/if}
{else} {/if}
{/if}
{if $wa->shop} {$cart_total = $wa->shop->cart->total()} {$cart_count = $wa->shop->cart->count()} {$cart_items = $wa->shop->cart->items()}
[`Cart`]
{foreach $wa->shop->cart->items() as $item}
  • {* fix image sku *} {$ip = $wa->shop->product($item.product_id)} {if $ip.skus[$item.sku_id].image_id}{$item.product.image_id = $ip.skus[$item.sku_id].image_id}{/if} {* /fix image sku *} {$wa->shop->productImgHtml($item.product, '80x80', ['default' => "`$wa_theme_url`img/mini-dummy.png"])}
    {$item.product.name|escape} {$item.total = $wa->shop->cart->getItemTotal($item.id)} {wa_currency_html($item.total, $wa->shop->currency())} {$item.quantity} шт.
  • {/foreach}
    {* $item.total = $wa->shop->cart->getItemTotal($item.id) *} [`total_basket`]:
    {wa_currency_html($cart_total, $wa->shop->currency())}
    [`place_an_order`] [`go_to_cart`]
    {/if}
    [`Catalog`] {if ($current_app == "blog" && $current_action != "post") OR $current_action == "search" OR $current_action == "compare" OR $current_action == "favorites" OR $current_action == "myOrders" OR $current_action == "myOrder" OR $current_action == "myAffiliate" OR $current_action == "myProfile" OR $current_module == "signup" OR $current_module == "login" OR $current_module == "forgotpassword"} {else} {/if}
    Плитка и сантехника Keramis {if ($current_app == "blog" && $current_action != "post") OR $current_action == "search" OR $current_action == "compare" OR $current_action == "favorites" OR $current_action == "myOrders" OR $current_action == "myOrder" OR $current_action == "myAffiliate" OR $current_action == "myProfile" OR $current_action == "brands" OR $current_action == "brand" OR $current_module == "signup" OR $current_module == "login" OR $current_module == "forgotpassword"} {else}
    {include file="`$wa_active_theme_path`/langselector.html"}
    {/if}
    [`Catalog`]
    {if $current_locale == "ru_RU"} {$wa->block("mob_menu")} {else} {$wa->block("mob_menu_uk")} {/if}
    [`city`]
    [`Select city`]
    [`change_city`]
    {if $current_locale == "ru_RU"} {$wa->block("city_mob")} {else} {$wa->block("city_mob_uk")} {/if}
    [`Catalog`]
    {$categories = shopDlstaticPlugin::getTopCategories()} {if $wa->mylang AND $current_locale != "ru_RU"} {$categories = $wa->mylang->categories($categories)} {/if} {if !$categories} {$categories = $wa->shop->categories(0, 2, true)} {/if} {if $categories}
    {foreach $categories as $c} {$cat = $wa->shop->category($c.id)}
    {if $c.childs}
    {/if}
    {/foreach}
    {/if}
    {$wa->block("mob_free_phone")}
    {if $is_homepage}
    {if $homebanners} {/if}
    {else}
    {/if} {* Roistat Start *} {*} {*} {* Roistat End *} {* BEGIN BITRIX24 WIDGET INTEGRATION WITH ROISTAT *} {*} {*} {* END BITRIX24 WIDGET INTEGRATION WITH ROISTAT *} {* Google Tag Manager *} {* End Google Tag Manager *} {$gtm = shopCustom::getGTMData()} {if $gtm} {literal} {/literal} {/if} {$promo = siteCustom::getPromoCode()} {$promocode = $promo.promocode} {$send_promocode = $promo.send_promocode} {if $send_promocode AND $promocode} {literal} {/literal} {/if} {$no_preload = true} {if $action == "product"} {$no_preload = true} {/if}
    {include file="`$wa_active_theme_path`/main.html" inline}
    [`login`]
    {$wa->authAdapters()} {$wa->loginForm()}
    {if $theme_settings.cookies_consent} {/if} {$wa->js()} {* links active plugins JS *} {include file="`$wa_active_theme_path`/head.html" inline} {literal} {/literal} {literal} {/literal} {$thisUrl = $wa->currentUrl()} {if $action == "checkout" AND $checkout_current_step == "success"} {if isset($gtm)} {if count($gtm.transactionProducts) > 1} {literal} {/literal} {else} {literal} {/literal} {/if} {/if} {else if $action == "onestep"} {if $cart.items} {if count($cart.items) > 1} {literal} {/literal} {else} {literal} {/literal} {/if} {/if} {else if $action == "product"} {literal} {/literal} {else if $action == "search"} {literal} {/literal} {else if $action == "default" AND $page_params.app == "shop"} {literal} {/literal} {else} {literal} {/literal} {/if} {/strip}