{include 'breadcrumbs'}
{include 'status_block'} {include 'tooltip_block'} {$_modx->runSnippet('!msGallery',['tpl'=>'tplMsGallerySite'])}
{if $article?}
{$_modx->lexicon('article')}: {$article}
{/if}
{if 'ms2_product_availability' | placeholder > 0 AND $price > 0} {$_modx->lexicon('available')} - {$quantity} шт. {else} {$_modx->lexicon('not_available')} - {$quantity} шт. {/if}
{*
Шановні клієнти!

Ми тимчасово не працюємо до 16 числа включно.

Ви можете оформлювати замовлення на сайті у звичайному режимі, але їх обробка та відправка розпочнеться 17 числа.

Дякуємо за ваше терпіння та розуміння!

*} {set $rows_assortment = json_decode($_modx->resource.wholesales, true)} {*if $rows_assortment !='' AND $quantity > 0}
{$_modx->lexicon('choose_count')}
  • 1
  • {foreach $rows_assortment as $row} {var $quantity_assort += $row.count} {if $quantity_assort <= $quantity}
  • {$row.count}
  • {/if} {/foreach}
{/if*}
{if $rows_assortment?} {**} {/if} {if $_modx->user.id | user : 'optovik_2' == 1 AND $rows_assortment == ''} {elseif $_modx->user.id | user : 'optovik_1' == 1 AND $rows_assortment == ''} {else} {/if} {set $options_color = $_modx->runSnippet( '!msOptions', [ 'options' => 'color', 'tpl' => 'tplMsOptions' ] )} {set $options_size = $_modx->runSnippet( '!msOptions', [ 'options' => 'size', 'tpl' => 'tplMsOptions' ] )} {if $options_color != '' OR $options_size != ''}
{$_modx->runSnippet( '!msOptions', [ 'options' => 'color', 'tpl' => 'tplMsOptions' ] )} {$_modx->runSnippet( '!msOptions', [ 'options' => 'size', 'tpl' => 'tplMsOptions' ] )}
{/if}
{if $rows_assortment == ''} {if $_modx->user.id | user : 'optovik_2' == 1 OR $_modx->user.id | user : 'optovik_1' == 1}
{$_modx->lexicon('retail_client')} {$price} грн
{if $_modx->user.id | user : 'optovik_2' == 1}
{$_modx->lexicon('opt_client')} {$wholesale_price > 0 ? $wholesale_price : $price} грн
{elseif $_modx->user.id | user : 'optovik_1' == 1}
{$_modx->lexicon('opt_client')} {$dropshipping_price > 0 ? $dropshipping_price : $price} грн
{/if} {/if} {/if} {if $_modx->user.id | user : 'optovik_2' == 0 AND $_modx->user.id | user : 'optovik_1' == 0} {if $price > 0} {if $old_price? AND $old_price > $price}
{$old_price} грн
{/if}
{$price} грн
{/if} {/if}
{if !$rows_assortment?}
{/if} {if 'ms2_product_availability' | placeholder > 0 AND $price > 0}
{if $_modx->config.include_credit_pp == 1 || $_modx->config.include_credit_ii == 1 || $_modx->config.include_credit_mb == 1} {$_modx->lexicon('credit_buy_button')} {/if}
{else} {/if}
{*if $_modx->user.id | user : 'optovik_2' == 0 AND $_modx->user.id | user : 'optovik_1' == 0} {$_modx->runSnippet( '!AjaxForm', [ 'snippet' => 'quickOrder', 'form' => 'tplBuyFormOneClick' ] )} {/if*} {if $_pls['vendor.name'] OR $made_in OR $weight OR $warranty}
{include 'base_characteristics_output'}
{/if} {$_modx->runSnippet('!delivery_check_block')}
{$_modx->lexicon('delivery_text_title')}
  • {$_modx->lexicon('delivery_title_novaposhta')} - {$_modx->getPlaceholder('novaposhta_time')}
{set $files = json_decode($_modx->resource.files, true)} {if $_modx->resource.files?}
{$_modx->lexicon('item_files')}:
{/if} {if $content_lang?}
{$_modx->runSnippet('!content_prepare',['html' => "{$content_lang}", 'alias' => "{$_modx->resource.alias}"])}
{/if}
{if 'ms2_product_availability' | placeholder == 0 OR $price == 0} {include 'other_category_items'} {/if} {set $rows_advantages = json_decode($_modx->resource.id | resource : 'advantages', true)} {if $rows_advantages?}
    {foreach $rows_advantages as $row} {set $title = $row['title_'~$_modx->config.cultureKey]} {set $desc = $row['desc_'~$_modx->config.cultureKey]}
  • {if $row.image}
    {else} {if $row.icon}
    {/if} {/if}
    {$title}

    {$desc}

  • {/foreach}
{/if}
{$_modx->lexicon('item_description')} {$pagetitle_lang | lower}
{if $_modx->config.cultureKey != $_modx->config.localizator_default_language} {set $content_lang = $_modx->resource.id | resource : ('content_'~$_modx->config.cultureKey)} {*$content_lang*} {$_modx->runSnippet('!content_prepare_section',['content' => "{$content_lang}", 'alias' => "{$_modx->resource.alias}"])} {else} {*$_modx->resource.content*} {$_modx->runSnippet('!content_prepare_section',['content' => "{$_modx->resource.content}", 'alias' => "{$_modx->resource.alias}"])} {/if} {$_modx->config['template_text_product_'~$_modx->config.cultureKey]}
{if $_modx->resource.table}
{if $_modx->config.cultureKey != $_modx->config.localizator_default_language} {$_modx->resource.id | resource : ('table_'~$_modx->config.cultureKey)} {else} {$_modx->resource.table} {/if}
{/if} {if $item_characteristics?}
{$_modx->lexicon('item_characteristics')}
{$item_characteristics}
{/if} {set $category_related_items = $_modx->resource.id | resource : 'related_items'} {*set $related_items = $_modx->runSnippet( 'msProducts', [ 'tpl'=>'tplProduct', 'includeThumbs' => 'small', 'parents' => 160, 'resources' => "1,{$category_related_items}", 'includeTVs' => 'video,pagetitle_ru,pagetitle_ua,content_ru,content_ua', 'sortby' => 'RAND()', 'depth' => 5, 'showLog' => 0, 'limit' => 10, 'showZeroPrice' => 0, 'where' => '{"Data.availability":"1"}' ] )*} {*if $related_items?}
{$_modx->lexicon('related_items')}
    {$related_items}
{/if*} {include 'faq'} {if $spare_parts?} {if $item_spare_parts?}
{set $h1_lang = $spare_parts | resource : ('h1_'~$_modx->config.cultureKey)} {set $pagetitle_lang = $spare_parts | resource : ('pagetitle_'~$_modx->config.cultureKey)} {$h1_lang?:$pagetitle_lang?:$_modx->resource.pagetitle}
    {$item_spare_parts}
{/if} {/if}
{$_modx->lexicon('item_review')} {$ticketcount == ''? '0': $ticketcount}
{$_modx->runSnippet( '!TicketComments', [ 'allowGuest' => '1', 'tplComments' => 'tplTicketsCommentWrapperItem', 'tplCommentFormGuest' => 'tplTicketsCommentFormSite', 'tplCommentForm' => 'tplTicketsCommentFormLogin', 'tplCommentAuth' => 'tplTicketsCommentOneAuthSite', 'formBefore' => 0, 'autoPublish' => 0, 'autoPublishGuest' => 0, 'enableCaptcha' => 0 ] )} {**}
{if 'ms2_product_availability' | placeholder > 0} {include 'other_category_items'} {/if} {set $related_articles = $_modx->resource.id | resource : 'related_articles'} {set $rel_articles = $_modx->runSnippet( 'pdoResources', [ 'elementClass' => 'modSnippet', 'parents' => 162, 'tpl' => 'tplBlog', 'resources' => "1, {$related_articles}", 'depth' => 3, 'sortby' => 'publishedon', 'sortdir' => 'ASC', 'tvPrefix' => '', 'includeContent' => 1, 'includeTVs' => 'img,service_price,pagetitle_ru,pagetitle_ua,content_ru,content_ua' ] )} {if $rel_articles?}
{$_modx->lexicon('item_related_articles')}
    {$rel_articles}
{/if} {*include 'seen_it_before'*}