{include 'head'} {include 'header'}
{include 'breadcrumbs'} {if $article | preg_match: '/.+\-m$/'} {/if}
{'msGallery' | snippet: [ 'tpl' => 'product_gallery_tpl' ]}

Монтажные комплекты ВПС

    {*
  • Наличие: {if $price == 0 || $_modx->resource.in_stock.0 == 'Нет'} Под заказ {else} В наличии {/if}
  • *}
  • Производитель: {$_modx->resource.brand.0}
  • {*
  • Артикул: 02493-m
  • *}
{*
Наличие: {if $price == 0 || $_modx->resource.in_stock.0 == 'Нет'} Под заказ {else} В наличии {/if}
*} {if $price == 0 || $_modx->resource.in_stock.0 == 'Нет'}
По запросу
{else}
{if $article | preg_match: '/.+\-m$/'}от {/if}3 750.00 руб. (без НДС)
{/if} {if $article | preg_match: '/.+\-m$/'} {* Задаем опции автоматически*} {set $product_options_array = [ 'diametr', 'design', 'functional', 'metrological_class', 'material', 'impulse_output', 'supply', 'interface', 'ip68', 'rated_consumption', 'installed_length', 'nsh', 'groove', 'pressure', 'pressure_kg', 'temperature_tc', 'steel', 'pressure_kpa', 'num_channels', 'current_output', 'indication', 'owen_mod_name', 'nominal_diameter_of_nozzles', 'maximum_head', 'electrodescription', 'motor_type', 'nominal_pressure' ]} {set $exist_product_options = []} {foreach $product_options_array as $product_option} {if $_modx->resource[$product_option] | length > 1} {set $exist_product_options[] = $product_option} {/if} {/foreach} {set $exist_product_options_iteration = 0} {set $complete_constraint_option} {foreach $exist_product_options as $constraint_exist_option index=$index last=$last} {if $index != 0} {set $slaves} {foreach $exist_product_options as $exist_product_option index=$slave_index last=$slave_last} {if $slave_index == $exist_product_options_iteration} {break} {/if} {set $i = $exist_product_options_iteration - 1} "{$exist_product_option}"{if $i != $slave_index},{/if} {/foreach} {/set} "{$constraint_exist_option}":[{$slaves}]{if !$last},{/if} {/if} {set $exist_product_options_iteration = $exist_product_options_iteration + 1} {/foreach} {/set} {set $complete_constraint_option = $complete_constraint_option | strip : true} {'!msOptionsPrice.option' | snippet : [ 'showZeroCount' => 1, 'showProductOptions' => 1, 'options' => ' diametr, design, functional, metrological_class, material, impulse_output, supply, interface, ip68, rated_consumption, installed_length, nsh, groove, pressure, pressure_kg, temperature_tc, steel, pressure_kpa, num_channels, current_output, indication, owen_mod_name, nominal_diameter_of_nozzles, maximum_head, electrodescription, motor_type, nominal_pressure ', 'tpl' => 'phytomodule.option', 'processColors' => 0, 'constraintOptions' => ('{' ~ $complete_constraint_option ~ '}') ]} {if $remove} {* Задаем опции вручную*} {set $constraint_options = json_decode($_modx->resource.migx_constraint_options, true)} {if !empty($constraint_options)} {set $constraint_options_array} {foreach $constraint_options as $constraint_option last=$last} {set $constraint_option_slaves} {if $constraint_option.slave | split | length == 1} "{$constraint_option.slave}" {else} {foreach $constraint_option.slave as $constraint_option_slave last=$last_slave} "{$constraint_option_slave}"{if !$last_slave},{/if} {/foreach} {/if} {/set} "{$constraint_option.parent}":[{$constraint_option_slaves}]{if !$last},{/if} {/foreach} {/set} {set $constraint_options_array = $constraint_options_array | strip : true} {$constraint_options_array} {'!msOptionsPrice.option' | snippet : [ 'showZeroCount' => 1, 'showProductOptions' => 1, 'options' => ' diametr, design, functional, metrological_class, material, impulse_output, supply, interface, ip68, rated_consumption, installed_length, nsh, groove, pressure, pressure_kg, temperature_tc, steel, pressure_kpa, num_channels, current_output, indication, owen_mod_name, nominal_diameter_of_nozzles, maximum_head, electrodescription, motor_type, nominal_pressure ', 'tpl' => 'phytomodule.option', 'processColors' => 0, 'constraintOptions' => ('{' ~ $constraint_options_array ~ '}') ]} {else} {'!msOptionsPrice.option' | snippet : [ 'showZeroCount' => 1, 'showProductOptions' => 0, 'options' => ' diametr, design, metrological_class, impulse_output, ip68, rated_consumption, installed_length, nsh, current_output, groove, pressure, pressure_kg, temperature_tc, steel, pressure_kpa, num_channels, indication, functional, material, supply, interface, owen_mod_name, nominal_pressure, motor_type, electrodescription, maximum_head, nominal_diameter_of_nozzles ', 'tpl' => 'phytomodule.option', 'processColors' => 0 ]} {/if} {/if} {/if} {*
*} {if $price == 0 || $_modx->resource.in_stock.0 == 'Нет'} {else}
{/if}
{* Set active tab*} {if $article | preg_match: '/.+\-m$/'} {set $atcive_tab_mod = 'product-tabs__item--active'} {set $atcive_pane_mod = 'product-tabs__pane--active'} {elseif !empty($_modx->resource.content)} {set $atcive_tab_content = 'product-tabs__item--active'} {set $atcive_pane_content = 'product-tabs__pane--active'} {else} {set $atcive_tab_docs = 'product-tabs__item--active'} {set $atcive_pane_docs = 'product-tabs__pane--active'} {/if} {* set $atcive_tab_docs = 'product-tabs__item--active'} {set $atcive_pane_docs = 'product-tabs__pane--active' *}
{if $article | preg_match: '/.+\-m$/'} Модификации {/if} {if !empty($_modx->resource.content)} Описание {/if} {if !empty($_modx->resource.migx_specs)} Характеристики {/if} {if !empty($_modx->resource.migx_product_docs)} Документация {/if} {if !empty($_modx->resource.tv_product_faq)} Вопросы и ответы {/if} {if !empty($_modx->resource.migx_po)} ПО {/if}
{if $article | preg_match: '/.+\-m$/'}
  • Монтажный комплект №2 ВПС Ду25
    Диаметр, мм: 25 Функционально: №2
    3 750.00 руб.
  • Монтажный комплект №2 ВПС Ду32
    Диаметр, мм: 32 Функционально: №2
    4 200.00 руб.
  • Монтажный комплект №2 ВПС Ду40
    Диаметр, мм: 40 Функционально: №2
    4 700.00 руб.
  • Монтажный комплект №3 ВПС Ду25
    Диаметр, мм: 25 Функционально: №3
    3 900.00 руб.
  • Монтажный комплект №3 ВПС Ду32
    Диаметр, мм: 32 Функционально: №3
    4 400.00 руб.
  • Монтажный комплект №3 ВПС Ду40
    Диаметр, мм: 40 Функционально: №3
    4 800.00 руб.
{/if} {if !empty($_modx->resource.content)}
{/if}
{set $rows = json_decode($_modx->resource.migx_product_docs, true)} {foreach $rows as $row index=$index} {/foreach} {set $rows = json_decode($_modx->resource.migx_cert, true)} {foreach $rows as $row index=$index} {/foreach}
{if !empty($_modx->resource.migx_specs)}
{$_modx->resource.migx_specs}
{/if} {if !empty($_modx->resource.tv_product_faq)}
{$_modx->resource.tv_product_faq}
{/if}
{set $rows = json_decode($_modx->resource.migx_po, true)} {foreach $rows as $row index=$index} {/foreach}
{set $related_products = $_modx->runSnippet('msProducts@PropertySet', [ 'parents' => 5 ,'includeThumbs' => 'medium' ,'showHidden' => 1 ,'tvPrefix' => '' ,'sortby' => '{"menuindex":"asc"}' ,'tpl' => 'product_linked' ,'link' => 1 ,'master' => $_modx->resource.id ])} {if $related_products} {/if} {set $similar_products = $_modx->runSnippet('msProducts@PropertySet', [ 'parents' => 5 ,'includeThumbs' => 'medium' ,'showHidden' => 1 ,'tvPrefix' => '' ,'sortby' => '{"menuindex":"asc"}' ,'tpl' => 'product_linked' ,'link' => 2 ,'master' => $_modx->resource.id ])} {if $similar_products} {/if}
{include 'footer'}