{strip} {* UTILS *} {include "{$wa->site->themePath(waRequest::getTheme())}u-utils.html"} {* HTML CLASSES *} {$_html_classes = [] scope=global} {* FONT FAMILY *} {if !empty($theme_settings["common__design_font_family_custom_name"]) && waLicensing::check("site/themes/seller")->isPremium()} {$theme_font = ""} {$theme_font_name = $theme_settings["common__design_font_family_custom_name"] scope=global} {else} {$theme_font = $theme_settings["common__design_font_family"]|replace:"assets/img/themesettings/fonts/":""|replace:".jpg":"" scope=global} {/if} {$_html_classes[] = $theme_font scope=global} {* FONT FAMILY ONLY FOR HEADINGS *} {if !empty($theme_settings["common__design_font_family_headings"])}{$_html_classes[] = "common__design_font_family_headings"}{/if} {* LOCALE *} {$_locale_string = substr($wa->locale()|default:"en", 0, 2)} {$wa->title()|escape} {* THEME COLOR *} {if !empty($theme_settings["common__design_color_schema_custom"])} {$_theme_color = $theme_settings["common__design_color_schema_custom"]} {else} {$_theme_color = "#"|cat:str_replace("assets/img/themesettings/colors/","",str_replace(".png","",$theme_settings["common__design_color_schema"]))} {/if} {* META *} {if !empty($canonical) && !empty($theme_settings["common__common_canonical"])} {/if} {if !empty($theme_settings["common__common_favicon"])} {/if} {if $wa->blog && $wa_app == "blog"} {$rss = $wa->blog->rssUrl()} {if $rss} {/if} {/if} {* CSS *} {if empty($theme_settings["common__common_css_body"])} {/if} {* PRELOAD SLIDER IMAGE *} {if !empty($wa->globals("isHomePage")) && !empty($is_mobile)} {elseif !empty($wa->globals("isHomePage"))} {/if} {if !empty($wa->globals("isProductPage"))} {if !empty($product["images"])} {foreach $product.images as $image} {$product_image_src = $wa->shop->imgUrl($image, "700")|default:"`$wa_theme_url`assets/img/svg/empty_photo.svg"} {break} {/foreach} {/if} {/if} {* *} {* *} {$wa->css()} {* JS *} {call include_template template="html/index/index.jq"} {$wa->js()} {call include_template template="head" app=$wa_app} {$wa->head()} {if $wa->shop && $wa_app != 'shop' && method_exists('shopSearchproPluginViewHelper', 'frontendHead')} {shopSearchproPluginViewHelper::frontendHead()} {/if} {if empty($theme_settings["common__common_css_body"])}{call include_template template="html/index/index.styles"}{/if} {call include_template template="html/index/index.waTheme"} {call include_template template="html/index/index.color-mode"} {call include_template template="html/index/index.fonts"} {* USER HTML *} {$wa->block("site.{waRequest::getTheme()}_head_html")} {if !empty($theme_settings["common__common_preload"])}
{/if} {if empty($wa->globals("headerBannerBeforeHide"))} {call include_template template="html/header/desktop/banner" app="shop"} {/if} {$main_classes = []} {$main_classes[] = (!empty($is_mobile)) ? "l-main--mobile" : ""} {$main_classes[] = (!empty($wa->globals("isProductPage"))) ? "l-main--product" : ""}
{if empty($is_mobile)} {call include_template template="html/header/desktop/layouts/header.layout"} {/if} {if !empty($is_mobile)} {call include_template template="html/header/mobile/layouts/header.layout"} {if !empty($theme_settings["mobile__fixed_panel_enable"])} {call include_template template="html/header/mobile/blocks/fixed_panel"} {/if} {/if} {* BANNER BELOW HEADER *} {if empty($wa->globals("headerAbsolute"))} {$props_below_banner = [ "promos_array" => explode(",", $theme_settings["media__header_below_banner_type_promoslist_single"]) ]} {call include_template template="html/header/desktop/banner" app="shop" props=$props_below_banner} {/if} {* H1 && BREADCRUMBS *} {if empty($wa->globals("globalHeaderHidden"))} {call include_template template="html/header/common/header.global"} {/if} {* SUBCATEGORIES *} {if !empty($theme_settings["catalog__categories_common_show"]) && empty($wa->globals("hideSubcategories")) || !empty($wa->globals("showSubcategories"))} {call include_template template="html/category/subcategories" app="shop"} {/if} {if !empty($self_content)} {call include_template template="main" app="$wa_app"} {else}
{$main_row_classes = []} {$main_row_classes[] = (!empty($hide_sidebar)) ? "row-cols-1" : "row-cols-1 row-cols-lg-2 g-4 g-lg-7"} {$main_row_classes[] = (!empty($wa->globals("sidebarEnd"))) ? "flex-row-reverse" : ""}
{if empty($hide_sidebar)} {call include_template template="sidebar.layout"} {/if}
{call include_template template="main" app="$wa_app"}
{/if} {call include_template template="html/footer/banner" app="shop"} {call include_template template="html/footer/footer.layout"} {call include_template template="html/admin-panel/panel"} {* EASYFEEDBACK APP *} {if $wa->easyfeedback && !empty($theme_settings["apps__easyfeedback_enabled"])} {$wa->easyfeedback->dialog()} {/if} {* FEEDBACK MODAL *} {if $theme_settings["common__feedback_common_type_buttons"] === "modal"} {call include_template template="html/modals/feedback"} {if $theme_settings["common__feedback_modal_toggle_type_buttons"] === "always" || $theme_settings["common__feedback_modal_toggle_type_buttons"] === "desktop" && empty($is_mobile)}
{/if} {/if}
{call include_template template="html/index/index.schema_org"} {call include_template template="html/index/index.before_body"} {call include_template template="html/index/index.up-button"} {call include_template template="html/index/index.cookies"} {call include_template template="html/modals/promo" app="shop"} {call include_template template="html/modals/leave" app="shop"} {*** Добавленный контент ***} {if $action == 'product'} {capture assign="product_delivery_form"} {literal} {/literal} {/capture}
Расчитать доставку
{*$wa->wforms->getHtmlForm(1)}
Персональные данные
Нажимая на кнопку Отправить, вы соглашаетесь на обработку персональных данных
*} {$product_delivery_form}
Хочу этот товар по индивидуальному размеру
{*$wa->wforms->getHtmlForm(2)}
Персональные данные
Нажимая на кнопку Отправить, вы соглашаетесь на обработку персональных данных
*} {$product_callback_form}
{/if}
Обратный звонок
{*$wa->wforms->getHtmlForm(2)}
Персональные данные
Нажимая на кнопку Отправить, вы соглашаетесь на обработку персональных данных
*} {literal} {/literal}
{* USER CSS *} {$wa->block("site.{waRequest::getTheme()}_css")} {* USER JS *} {$wa->block("site.{waRequest::getTheme()}_js")} {* CUSTOMIZER APP *} {if $wa->customizer}{$wa->customizer->customizer()}{/if} {$wa->block("yandexmetrika")} {$wa->block("google")} {$wa->block("jivosite")}
{* *} {if $wa->pwa && $wa->app() === 'shop'} {$wa->pwa->footer()} {/if} {/strip}