{include 'breadcrumbs'}
{if $_modx->config.cultureKey != ('localizator_default_language' | option)} {$_modx->runSnippet('!mFilter2', [ 'element' => 'msProducts', 'paginator' => 'pdoPage', 'parents' => "{$_modx->resource.id}", 'limit' => "{$items_on_category_page}", 'maxLimit' => 0, 'depth' => 4, 'showEmptyFilters' => 0, 'suggestionsSliders' => 0, 'showZeroPrice' => 0, 'tplWrapper' => 'tplOutresult', 'tplOuter' => 'tplMfilter2Outer', 'tplFilter.outer.default' => 'tplMfilter2FilterOuter', 'tplFilter.row.default' => 'tplMfilter2FilterCheckbox', 'tplFilter.outer.ms|price' => 'tplMfilter2Slider', 'tplFilter.row.ms|price' => 'tplMfilter2Number', 'suggestions' => 0, 'suggestionsMaxFilters' => 1000, 'tpls' => 'tplProduct', 'includeThumbs' => 'small,small_mobile', 'includeTVs' => 'video,label_product', 'filters' => ' ms|price:number, ms|vendor:vendors, msoption|tags, msoption|color, parent:categories, '~$_modx->runSnippet('categoryOptions')~', ', 'values_delimeter' => '_', 'leftJoin' => '{"localizator" : {"class" : "localizatorContent","alias" : "localizator","on" : "localizator.resource_id = msProduct.id "}}', 'select' => '{ "localizator" : "msProduct.*, localizator.*, msProduct.id" }', 'where' => '{ "localizator.key" : "' ~ ('localizator_key' | option) ~ '","template:IN":[20]}', 'sortby' => '{"parent":"ASC","Data.availability":"DESC","Data.price":"ASC"}', 'class' => 'msProduct', 'tplPageWrapper' => '@INLINE
    {$prev} {$pages} {$next}
', 'tplPage' => '@INLINE
  • {$pageNo}
  • ', 'tplPageActive' => '@INLINE
  • {$pageNo}
  • ', 'tplPageFirst' => '@INLINE ', 'tplPageFirstEmpty' => '@INLINE ', 'tplPageLast' => '@INLINE ', 'tplPageLastEmpty' => '@INLINE ', 'tplPagePrev' => '@INLINE
  • ', 'tplPageNext' => '@INLINE
  • ', 'tplPagePrevEmpty' => '@INLINE
  • {$pageNo}
  • ', 'tplPageNextEmpty' => '@INLINE
  • {$pageNo}
  • ' ] )} {else} {$_modx->runSnippet('!mFilter2', [ 'element' => 'msProducts', 'paginator' => 'pdoPage', 'parents' => "{$_modx->resource.id}", 'limit' => 12, 'depth' => 4, 'showEmptyFilters' => 0, 'suggestionsSliders' => 0, 'showZeroPrice' => 0, 'tplWrapper' => 'tplOutresult', 'tplOuter' => 'tplMfilter2Outer', 'tplFilter.outer.default' => 'tplMfilter2FilterOuter', 'tplFilter.row.default' => 'tplMfilter2FilterCheckbox', 'tplFilter.outer.ms|price' => 'tplMfilter2Slider', 'tplFilter.row.ms|price' => 'tplMfilter2Number', 'tpls' => 'tplProduct', 'includeThumbs' => 'small,small_mobile', 'includeTVs' => 'video,label_product', 'filters' => ' ms|price:number, ms|vendor:vendors, msoption|tags, msoption|color, parent:categories, '~$_modx->runSnippet('categoryOptions')~', ', 'sortby' => '{"parent":"ASC","Data.availability":"DESC","Data.price":"ASC"}', 'where' => '{"template:IN":[20]}', 'class' => 'msProduct', 'tplPageWrapper' => '@INLINE
      {$prev}{$pages}{$next}
    ', 'tplPage' => '@INLINE
  • {$pageNo}
  • ', 'tplPageActive' => '@INLINE
  • {$pageNo}
  • ', 'tplPageFirst' => '@INLINE ', 'tplPageFirstEmpty' => '@INLINE ', 'tplPageLast' => '@INLINE ', 'tplPageLastEmpty' => '@INLINE ', 'tplPagePrev' => '@INLINE
  • ', 'tplPageNext' => '@INLINE
  • ', 'tplPagePrevEmpty' => '@INLINE
  • ', 'tplPageNextEmpty' => '@INLINE
  • ' ] )} {/if}
    {if !$.get.page} {include 'faq'}
    {var $srRegionName = $_modx->getPlaceholder('srRegion.name')} {var $srRegionContent = $_modx->getPlaceholder('srRegion.content')} {if $srRegionName?} {$srRegionContent} {else} {if $_modx->config.cultureKey != ('localizator_default_language' | option)} {$_modx->resource.localizator_content} {else} {$_modx->resource.content} {/if} {/if}
    {include 'product_table'} {include 'products_reviews'} {$_modx->runSnippet('!srRegion')} {/if} {set $related_articles = $_modx->resource.id | resource : 'related_articles'} {if $_modx->config.cultureKey != ('localizator_default_language' | option)} {set $rel_articles = $_modx->runSnippet( 'pdoResources', [ 'elementClass' => 'modSnippet', 'parents' => 162, 'tpl' => 'tplBlog', 'resources' => "1, {$related_articles}", 'depth' => 0, 'sortby' => 'publishedon', 'sortdir' => 'ASC', 'tvPrefix' => '', 'includeContent' => 1, 'includeTVs' => 'img,service_price', 'leftJoin' => '{"localizator" : {"class" : "localizatorContent","alias" : "localizator","on" : "localizator.resource_id = modResource.id"}}', 'select' => '{"localizator" : "modResource.*, localizator.*, modResource.id"}', 'where' => '{"localizator.key" : "'~ ('localizator_key' | option) ~'"}', ] )} {else} {set $rel_articles = $_modx->runSnippet( 'pdoResources', [ 'elementClass' => 'modSnippet', 'parents' => 162, 'tpl' => 'tplBlog', 'resources' => "1, {$related_articles}", 'depth' => 0, 'sortby' => 'publishedon', 'sortdir' => 'ASC', 'tvPrefix' => '', 'includeContent' => 1, 'includeTVs' => 'img,service_price' ] )} {/if} {if $rel_articles?}
    {$_modx->lexicon('item_related_articles')}
      {$rel_articles}
    {/if} {include 'seen_it_before'}