{if $_modx->resource.template == 2} {var $image = '/' ~ $_modx->resource.tvCategoryThumb} {if !$_modx->resource.tvCategoryThumb}{var $image = $_modx->config.theme_url ~ 'img/logo-dark.png'}{/if} {/if} {if $_modx->resource.template != 2 && $_modx->resource.template != 3} {var $image = $_modx->config.theme_url ~ 'img/logo-dark.png'} {/if} {$modx->regClientStartupHTMLBlock(" ")}
{*'level' => 3,*} {*'templates' => 2,*} {$_modx->runSnippet('pdoMenu', [ 'parents' => 4, 'firstClass' => 0, 'lastClass' => 0, 'fastMode' => 0, 'level' => 4, 'templates' => '17, 2', 'leftJoin' => '{ "localizator" : { "class" : "localizatorContent", "alias" : "localizator", "on" : "localizator.resource_id = modResource.id" } }', 'select' => '{ "localizator" : "modResource.*, localizator.*, modResource.id" }', 'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '"}', 'tpl' => '@INLINE
  • ', 'tplParentRow' => '@INLINE
  • {$wrapper}
  • ', 'tplInnerRow' => '@INLINE
  • ', 'tplInner' => '@INLINE ' 'tplOuter' => '@INLINE ' ])}
    {'!msFavorites.initialize' | snippet} {'!msSalePrice.initialize' | snippet} {if $_modx->resource.prod_instock == 1} {var $availability = 'http://schema.org/InStock'} {elseif $_modx->resource.prod_instock == 2} {var $availability = 'https://schema.org/PreOrder'} {elseif $_modx->resource.prod_instock == 3} {var $availability = 'https://schema.org/LimitedAvailability'} {elseif $_modx->resource.prod_instock == 4} {var $availability = 'https://schema.org/PreOrder'} {else} {var $availability = 'http://schema.org/OutOfStock'} {/if} {if $_modx->resource.prod_instock >= 1 && $_modx->resource.prod_instock <= 4} {else} {/if}
    {$_modx->runSnippet('pdoField', ['id' => $parent, 'field' => 'alias', 'top' => '1', 'toPlaceholder' => 'compare_list' ])} {var $compare_list = $_modx->getPlaceholder('compare_list')} {$_modx->runSnippet('!addComparison', ['id' => $id, 'list_id' => '37', 'maxItems' => '4', 'tpl' => 'tpl.productCompareAdd'])}
    {$_modx->runSnippet('!getVoteFormRating', [ 'form' => 1, 'tpl' => 'tpl.productVoteRating'])}
    {'lx_reviews' | lexicon} (0)
    {$_modx->getChunk('tpl.productShare',['sharePos' => 'top', 'site_url' => $site_url])}
    Код: {$_modx->resource.article}
    {$_modx->runSnippet('msGallery', ['tpl' => 'tpl.productGallery'])}
    {$_modx->getChunk('tpl.productShare',['sharePos' => 'bottom', 'site_url' => $site_url])}
    Цена
    {'!msSalePrice' | snippet : ['product' => $id, 'tpl' => '@INLINE {$prices[0].price}']} {'lx_shop_currency' | lexicon}/{$_modx->resource.prod_units}
    {*'!msSalePrice' | snippet : [ 'tpl' => '@INLINE {if count($prices)>1} {foreach $prices as $price} {if $price.count != 1} {/if} {/foreach}
    {\'lx_from\' | lexicon} {$price.count} {$_modx->resource.prod_units} - {$price.price} {\'lx_shop_currency\' | lexicon}/{$_modx->resource.prod_units}
    {/if} ' ]*}
    {* {'!pdoMenu' | snippet : [ 'parents' => 1515, 'fastMode' => 1, 'level' => 1, 'showUnpublished' => 1, 'leftJoin' => '{ "localizator" : { "class" : "localizatorContent", "alias" : "localizator", "on" : "localizator.resource_id = modResource.id" } }', 'select' => '{ "localizator" : "modResource.*, localizator.*, modResource.id" }', 'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '"}', 'tpl' => '@INLINE
    {$introtext}
    {$content}
    ', 'tplOuter' => '@INLINE
      {$wrapper}
    ' ]}*}
    {if $introtext_2 | length > 0 || $introtext_2_uk | length > 0}
    {if ('localizator_key' | option) === 'ua'} {$introtext_2_uk} {else} {$introtext_2} {/if}
    {/if} {if $_modx->resource.multiple.0 | length > 0}
    {'lx_sale_multiple' | lexicon}: {$_modx->resource.multiple.0} {$_modx->resource.multiple_unit.0} {var $count = $_modx->resource.multiple.0}
    {else} {var $count = 1} {/if} {if $_modx->resource.introtext | length > 0}
    {$_modx->resource.introtext}
    {/if}
      {$_modx->runSnippet('msProductOptions', ['groups' => '23', 'tpl' => 'tpl.productOptions'])}
    {if $_modx->resource.prod_instock > 0}
    {if $_modx->resource.prod_instock == 2} {'lx_shop_orderstock' | lexicon} {elseif $_modx->resource.prod_instock == 3} {'lx_shop_limitedavailability' | lexicon} {elseif $_modx->resource.prod_instock == 4} {'lx_shop_product_expected' | lexicon} {else} {'lx_shop_instock' | lexicon} {/if}
    {'lx_cart_total_text' | lexicon}
    {else}
    {'lx_shop_outstock' | lexicon}
    {/if}
    {'lx_service_additional_title' | lexicon}
      {'pdoResources' | snippet : [ 'parents' => 6, 'sortby' => 'menuindex', 'sortdir' => 'ASC', 'showUnpublished' => 1, 'leftJoin' => '{ "localizator" : { "class" : "localizatorContent", "alias" : "localizator", "on" : "localizator.resource_id = modResource.id" } }', 'select' => '{ "localizator" : "modResource.*, localizator.*, modResource.id" }', 'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '"}', 'tpl' => '@INLINE
    • {$pagetitle}
    • ' ]}
    {if $_modx->resource.parent == '1936' || $_modx->resource.parent == '4254' || $_modx->resource.parent == '4043' || $_modx->resource.parent == '3828' || $_modx->resource.parent == '2015' || $_modx->resource.parent == '1941' || $_modx->resource.parent == '3714' || $_modx->resource.parent == '3859' || $_modx->resource.parent == '4795' || $_modx->resource.parent == '1978' || $_modx->resource.parent == '1935'}
    {$_modx->runSnippet('!callBack', [ 'emailTpl' => 'tpl.projectEmail' 'form' => 'tpl.projectForm' 'frontend_css' => '' 'frontendJs' => 1 'frontend_js' => '/assets/components/callback/js/callbackExt.js' 'hooks' => 'email,callBackLog' 'registerBootstrap' => 0 'registerCss' => 0 'emailSubject' => "{'lx_project_form_email_title' | lexicon}" 'tpl' => '' 'validate' => 'name:required,phone:required,city:required' ])}
    {/if}
    {'!pdoMenu' | snippet : [ 'parents' => 1242, 'fastMode' => 1, 'level' => 1, 'showUnpublished' => 1, 'leftJoin' => '{ "localizator" : { "class" : "localizatorContent", "alias" : "localizator", "on" : "localizator.resource_id = modResource.id" } }', 'select' => '{ "localizator" : "modResource.*, localizator.*, modResource.id" }', 'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '"}', 'tpl' => '@INLINE
  • {$pagetitle}
    {$introtext}
    {$content}
  • ', 'tplOuter' => '@INLINE
      {$wrapper}
    ' ]}
    • {'lx_shop_tab_prop' | lexicon}
    • {'lx_shop_tab_video' | lexicon}
    • {'lx_shop_tab_review' | lexicon} (0)
      {$_modx->runSnippet('msProductOptions', ['groups' => '23,35', 'tpl' => 'tpl.productOptions'])}
    • Размер: 80×230 мм
    • {('option_vendor_key') | lexicon}:Nowodvorski
    {$_modx->resource.localizator_content}
    {'lx_service_additional_title' | lexicon}
      {'pdoResources' | snippet : [ 'parents' => 6, 'sortby' => 'menuindex', 'sortdir' => 'ASC', 'showUnpublished' => 1, 'leftJoin' => '{ "localizator" : { "class" : "localizatorContent", "alias" : "localizator", "on" : "localizator.resource_id = modResource.id" } }', 'select' => '{ "localizator" : "modResource.*, localizator.*, modResource.id" }', 'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '"}', 'tpl' => '@INLINE
    • {$pagetitle}
    • ' ]}
    {'msProducts' | snippet : [ 'tplWrapper' => '@INLINE
    Вам еще понадобится
    ', 'tpl' => 'tpl.carouselProductsCompact', 'wrapIfEmpty' => 0, 'link' => 1, 'master' => $_modx->resource.id, 'parents' => 0, 'depth' => 1, 'sortdir' => 'DESC', ]} {'!msProducts' | snippet : [ 'tplWrapper' => '@INLINE
    Клиенты также выбирают
    ', 'tpl' => 'tpl.carouselProductsCompact', 'wrapIfEmpty' => 0, 'limit' => 8, 'depth' => 1, 'parents' => $_modx->resource.parent, 'sortdir' => 'DESC', 'sortby' => 'RAND()', ]} {'!msLastView' | snippet : [ 'tplWrapper' => '@INLINE
    Вы просматривали
    ', 'tpl' => 'tpl.carouselProductsCompact', 'wrapIfEmpty' => 0, 'limit' => 8, ]}
    {$_modx->resource.template | in : [1, 2, 3, 6] ? '' : ''} {$_modx->resource.template | in : [2] ? ' ' : ''} {$_modx->runSnippet('getRedirectLangUa')}