Array
(
[id] => 1190
[type] => document
[contentType] => text/html
[pagetitle] => Красный вентиль для бескамерной шины
[longtitle] => Вентиль красного цвета для бескамерной шины №14
[description] => Предлагаем вентиль красного цвета для бескамерной шины №14 от производителя
[alias] => red-valve-for-tubeless-tires
[alias_visible] => 1
[link_attributes] =>
[published] => 1
[pub_date] => 0
[unpub_date] => 0
[parent] => 71
[isfolder] =>
[introtext] => Вентиль для бескамерной шины №14, в комплекте 4 штуки, цвет - красный
[content] =>
[richtext] => 1
[template] => 6
[menuindex] => 2
[searchable] => 1
[cacheable] => 1
[createdby] => 1
[createdon] => 2016-06-29 23:41:46
[editedby] => 20943
[editedon] => 2021-08-19 16:48:57
[deleted] =>
[deletedon] => 0
[deletedby] => 0
[publishedon] => 2016-06-29 23:41:00
[publishedby] => 1
[menutitle] =>
[donthit] =>
[privateweb] =>
[privatemgr] =>
[content_dispo] => 0
[hidemenu] =>
[class_key] => msProduct
[context_key] => web
[content_type] => 1
[uri] => production/acessories/valves/red-valve-for-tubeless-tires.html
[uri_override] => 0
[hide_children_in_tree] => 0
[show_in_tree] => 0
[properties] =>
[article] => TR414RED
[price] => 257
[old_price] => 0
[weight] => 0
[image] => /assets/images/products/1190/611e6102865cd-whatsapp-image-2021-08-19-at-16-4548.jpeg
[thumb] => /assets/images/products/1190/120x90/611e6102865cd-whatsapp-image-2021-08-19-at-16-4548.jpg
[vendor] => 0
[made_in] =>
[new] =>
[popular] =>
[favorite] =>
[tags] =>
[color] =>
[size] =>
[source] => 2
[img] =>
[thru_cat_text] =>
[add_key] =>
[prices] =>
[product_collection] =>
[color_of] => Array
(
[0] => красный
)
[color_of.id] => 19
[color_of.key] => color_of
[color_of.caption] => Цвет
[color_of.description] =>
[color_of.measure_unit] =>
[color_of.category] => 1
[color_of.type] => textfield
[color_of.properties] =>
[color_of.product_id] => 1190
[color_of.value] => красный
[color_of.category_name] => Starleks
[vendor.id] =>
[vendor.name] =>
[vendor.resource] => 0
[vendor.country] =>
[vendor.logo] =>
[vendor.address] =>
[vendor.phone] =>
[vendor.fax] =>
[vendor.email] =>
[vendor.description] =>
[vendor.properties] =>
[_content] => {extends 'template:Starleks.inner'}
{block 'crumbs'}
{var $car_category_row}
{if 'car_category' | placeholder ?}
{var $car_category = $_modx->getResource('car_category' | placeholder)}
<li><a href="{$_modx->resource.parent|url}{$car_category.alias}">{$car_category.pagetitle}</a></li>
{/if}
{/var}
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Главная</a></li>
<li class="breadcrumb-item"><a href="production/">Каталог</a></li>
<li class="breadcrumb-item"><a href="production/acessories/">Аксессуары</a></li>
<li class="breadcrumb-item"><a href="production/acessories/valves/">Вентили</a></li>
{$car_category_row}
<li class="active">Красный вентиль для бескамерной шины</li>
</ol>
{/block}
{block 'content'}
{if ('' | ismember : 'ProductCollection')}
{if !$_modx->resource.product_collection}
{$_modx->sendRedirect( $_modx->makeUrl($_modx->resource.parent) )}
{/if}
{/if}
<div class="hide">
{$_modx->resource|print}
</div>
<div id="content" class="inner product">
{switch $_modx->resource.parent}
{case 80}
<h1>Болт колёсный{$_modx->resource['thread.value']? ' М'~$_modx->resource['thread.value'] : ''}{$_modx->resource['length.value']? 'x'~$_modx->resource['length.value'] : ''}{$_modx->resource['coat.value']? ' '~$_modx->resource['coat.value'] : ''}{$_modx->resource['clamping.value']? ' '~$_modx->resource['clamping.value'] : ''}{$_modx->resource['key_opt.value']? ', ключ '~$_modx->resource['key_opt.value'] : ''}{$_modx->resource['article.value']? ' '~$_modx->resource['article.value'] : ''}</h1>
{case 81}
<h1>Гайка колёсная{$_modx->resource['thread.value']? ' М'~$_modx->resource['thread.value'] : ''}{$_modx->resource['height.value']? 'x'~$_modx->resource['height.value'] : ''}{$_modx->resource['coat.value']? ' '~$_modx->resource['coat.value'] : ''}{$_modx->resource['clamping.value']? ' '~$_modx->resource['clamping.value'] : ''}{$_modx->resource['key_opt.value']? ', ключ '~$_modx->resource['key_opt.value'] : ''}{$_modx->resource['article.value']? ' '~$_modx->resource['article.value'] : ''}</h1>
{case default}
<h1>Красный вентиль для бескамерной шины</h1>
{/switch}
<div class="row">
<div class="col-xs-12 col-sm-6">
<div id="msGallery">
<div class="fotorama"
data-nav="thumbs"
data-thumbheight="45"
data-allowfullscreen="true"
data-swipe="true"
data-autoplay="5000">
<a href="/assets/images/products/1190/611e6102865cd-whatsapp-image-2021-08-19-at-16-4548.jpeg" target="_blank">
<img src="/assets/images/products/1190/120x90/611e6102865cd-whatsapp-image-2021-08-19-at-16-4548.jpg" alt="" title="">
</a>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<hr class="mt-0 mb-5 hidden-xs">
<div class="row equal-height-columns product-columns">
<div class="col-xs-6 col-sm-12 col-md-6 equal-height-column">
<div class="text-bold ts-up-2 text-uppercase mb-10">Характеристики</div>
<div class="tth">
{if $_modx->hasSessionContext('mgr')}
{/if}
<div class="form-group clearfix">
<b>Цвет:</b>
<span>
красный </span>
</div>
{$parent}
{if $_modx->resource.parent == 56}
<div class="form-group clearfix">
<b>Комплект:</b>
<span>4 шт.</span>
</div>
{/if}
</div>
</div>
<div class="col-xs-6 col-sm-12 col-md-6 text-right equal-height-column">
<div class="title-left text-bold ts-up-2 text-uppercase mb-10">Артикул:</div>
<div class="article">TR414RED</div>
<div class="clearfix"></div>
<div class="title-left text-bold ts-up-6 text-uppercase mt-20">Цена</div>
<div class="price ts-up-2 mt-5 mb-5 text-bold">{$price} руб.</div>
<div class="clearfix"></div>
{if $old_price?}
<div class="old_price text-danger text-nowrap mt-5 mb-5"><s>{$old_price} {'ms2_frontend_currency' | lexicon}</s></div>
{/if}
<div class="clearfix"></div>
<form method="post" class="ms2_form">
<div class="">
<div class="pull-right count-name">{$_modx->resource.parent == 56 ? 'к-т' : 'шт.'}</div>
<input class="form-control mb-10 pull-right product-count" type="number" name="count" value="1">
</div>
{set $scheme_img | strip}
{switch $_modx->resource['disc_connect.value'] | lower}
{case 'шпилечное'}
/assets/images/2pic-min.jpg
{case 'сквозное'}
/assets/images/3pic-min.jpg
{case 'футорочное'}
/assets/images/1pic-min.jpg
{/switch}
{/set}
{if $scheme_img}
<div class="mb-10">
<button type="button" class="btn btn-default" data-toggle="modal" data-target=".modal-img" data-img="{$scheme_img}">Схема установки</button>
</div>
<div class="modal modal-img fade">
<div class="vertical-alignment-helper">
<div class="modal-dialog vertical-align-center">
<div class="modal-content">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<div class="modal-body">
</div>
</div>
</div>
</div>
</div>
{/if}
<button class="btn btn-success" type="submit" name="ms2_action" value="cart/add"><i class="glyphicon glyphicon-barcode"></i> Добавить в корзину</button>
<input type="hidden" name="id" value="1190">
<input type="hidden" name="options" value="[]">
</form>
</div>
</div>
{if ($_modx->resource.parent | resource:'thru_top_text')}
<div class="mt-20">{$_modx->resource.parent | resource:'thru_top_text'}</div>
{/if}
<div class="mt-20">
{if $_modx->resource.introtext}
{$_modx->resource.introtext}
{if $_modx->resource.thru_cat_text}
<p>{$_modx->resource.parent | resource:'thru_text'}</p>
{/if}
{else}
{$_modx->resource.parent | resource:'thru_text'}
{/if}
</div>
{set $product_cars | strip}
{$_modx->runSnippet('!pdoResources',[
'class' => 'msCategory',
'parents' => '9',
'innerJoin' => [
'Member' => [
'class' => 'msCategoryMember',
'on' => 'msCategory.id = Member.category_id',
],
],
'select' => [
'msCategory' => '*',
'Member' => '*',
],
'wrapIfEmpty' => '0',
'tpl' => 'tpl.car.ico',
'tplWrapper' => '@INLINE <div class="cars clearfix text-center">[[+output]]</div>',
'sortby' => 'menuindex',
'sortdir' => 'ASC',
'limit' => 24,
'depth' => 0,
'includeTVs' => 'img',
'where' => '{ "Member.product_id":"'~$_modx->resource.id~'"}',
'showLog' => 0
])}
{/set}
{if $product_cars?}
<div class="mt-20">
{$product_cars}
</div>
{/if}
</div>
</div>
<hr class="mt-40 mb-5">
<h2>Сопутствующие товары</h2>
<div class="product-link row">
<div class="col-xs-6 col-sm-3">
<a href="production/bolt-sets/bolt-sets-kk172110-bl.html" class="img">
<img src="/assets/images/products/799/120x90/i-463901ad4dbcbe0f-html-22289863.jpg" class="img-responsive" />
<span class="name">Комплект болтов KK172110/BL</span>
</a>
</div>
<div class="col-xs-6 col-sm-3">
<a href="production/czentrovochnyie-kolcza/czentrovochnyie-kolcza-106-0-671.html" class="img">
<img src="/assets/images/products/911/120x90/i-4b76c3ebb06ebce1-html-494ebf4a.jpg" class="img-responsive" />
<span class="name">Центровочные кольца 106.0-67.1</span>
</a>
</div>
<div class="col-xs-6 col-sm-3">
<a href="production/czentrovochnyie-kolcza/czentrovochnyie-kolcza-72-1-561.html" class="img">
<img src="/assets/images/products/1040/120x90/i-4b76c3ebb06ebce1-html-494ebf4a.jpg" class="img-responsive" />
<span class="name">Центровочные кольца 72.1-56.1</span>
</a>
</div>
<div class="col-xs-6 col-sm-3">
<a href="production/shpilki/shpilki-crp1530d55yz.html" class="img">
<img src="/assets/images/products/1269/120x90/i-55fef1dc69877802-html-9274cb81.jpg" class="img-responsive" />
<span class="name">Шпилька колеса CRP1530D55YZ</span>
</a>
</div>
</div>
{set $parentBottomBlock = $_modx->resource.parent | resource:'thru_bottom_block'}
{if $parentBottomBlock?}
<div class="parent-bottom-block mt-40">
{$parentBottomBlock}
</div>
{/if}
</div>
{/block}
[_isForward] =>
[_sjscripts] => Array
(
[0] => <link rel="stylesheet" href="/assets/components/minishop2/css/web/default.css?v=cfb41e1ad8" type="text/css" />
[1] => <script type="text/javascript">miniShop2Config = {"cssUrl":"\/assets\/components\/minishop2\/css\/web\/","jsUrl":"\/assets\/components\/minishop2\/js\/web\/","actionUrl":"\/assets\/components\/minishop2\/action.php","ctx":"web","close_all_message":"\u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435","price_format":[2,"."," "],"price_format_no_zeros":true,"weight_format":[3,"."," "],"weight_format_no_zeros":true};</script>
)
[_jscripts] => Array
(
[0] => <script src="/assets/components/minishop2/js/web/default.js?v=cfb41e1ad8"></script>
)
[_loadedjscripts] => Array
(
[/assets/components/minishop2/css/web/default.css?v=cfb41e1ad8] => 1
[/assets/components/minishop2/js/web/default.js?v=cfb41e1ad8] => 1
[<script type="text/javascript">miniShop2Config = {"cssUrl":"\/assets\/components\/minishop2\/css\/web\/","jsUrl":"\/assets\/components\/minishop2\/js\/web\/","actionUrl":"\/assets\/components\/minishop2\/action.php","ctx":"web","close_all_message":"\u0437\u0430\u043a\u0440\u044b\u0442\u044c \u0432\u0441\u0435","price_format":[2,"."," "],"price_format_no_zeros":true,"weight_format":[3,"."," "],"weight_format_no_zeros":true};</script>] => 1
)
)