{extends 'template:Основной'} {block 'main'} {include 'tpl.breadcrumbs'}

{$_modx->resource.seoFriendlyH1}

{include 'tpl.search_block'} {set $productsInCart = '!getProductsInCart' | snippet} {$_modx->setPlaceholder('productsInCart',$productsInCart)}
{'!pdoResources' | snippet : [ 'parents' => '2515', 'depth' => 0, 'limit' => '', 'where' => ['template:=' => 4], 'tvPrefix' => '', 'includeTVs' => '', 'sortby' => 'menuindex', 'sortdir' => 'ASC', 'tpl' => '@INLINE {$menutitle ?: $pagetitle} ', ]}
{'!mFilter2' | snippet: [ 'element' => 'msProducts', 'parents' => '2515', 'depth' => '0', 'tplOuter' => 'tpl.filter_outer', 'limit' => '15', 'pageNavVar' => 'page.mfilter2', 'maxLimit' => '50', 'pageLimit' => '7', 'setMeta' => true, 'aliases' => 'msoption|availability==availability, msoption|accessories==accessories', 'filters' => 'ms|vendor:vendors, msoption|availability:default, msoption|accessories:default', 'includeTVs' => 'img', 'sort' => 'ms_product|menuindex:asc,ms|price:asc,ms|price:desc', 'tpl' => 'tpl.msProducts.row', 'tplPageWrapper' => '@INLINE ', 'tplPage' => '@INLINE
  • ', 'tplPageActive' => '@INLINE
  • ', 'tplPagePrev' => '@INLINE
  • Предыдущая страница
  • ', 'tplPageNext' => '@INLINE
  • Следующая страница
  • ', 'tplPageSkip' => '@INLINE
  • ...
  • ', 'tplPagePrevEmpty' => '', 'tplPageNextEmpty' => '', 'ajaxMode' => 'default' ]}
    {set $faqs = json_decode($_modx->resource.faq_migx, true) ?: []} {set $hasFaq = false} {foreach $faqs as $faq} {if ($faq.question | default : '' | trim) && ($faq.answer | default : '' | trim)} {set $hasFaq = true} {break} {/if} {/foreach} {if $hasFaq}

    Часто задаваемые вопросы

    {foreach $faqs as $faq} {if !($faq.question | default : '' | trim) || !($faq.answer | default : '' | trim)} {continue} {/if}
    {$faq.question}

    {$faq.answer}

    {/foreach}
    {/if}
    {'!pdoResources' | snippet : [ 'parents' => '8', 'depth' => 0, 'limit' => '', 'where' => ['template:=' => 4], 'tvPrefix' => '', 'includeTVs' => 'img', 'sortby' => 'menuindex', 'sortdir' => 'ASC', 'tpl' => '@INLINE {$menutitle ?: $pagetitle} ', ]}
    {if $_modx->resource.catalog_text}
    {$_modx->resource.catalog_text}
    {/if} {/block}