{if $_modx->config.cultureKey != ('localizator_default_language' | option)} {if $_modx->config.first_breadcrumbUA?} {set $first_breadcrumb = $_modx->config.first_breadcrumb} {else} {set $first_breadcrumb = 'Главная'} {/if} {$_modx->runSnippet( 'pdoCrumbs', [ 'tpl' => 'tplpdocrumbsitem', 'to' => "{$id_product}", 'tplHome' => '@INLINE
  • '~$first_breadcrumb~'
  • ', 'tplWrapper' => '@INLINE ', 'outputSeparator' => '/', 'tplCurrent' => '@INLINE
  • {$menutitle}
  • ', 'showHidden' => 0, 'showHome' => 1, 'hideSingle' => 1, '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} {if $_modx->config.first_breadcrumb?} {set $first_breadcrumb = $_modx->config.first_breadcrumbUA} {else} {set $first_breadcrumb = 'Головна'} {/if} {$_modx->runSnippet( 'pdoCrumbs', [ 'tpl' => 'tplpdocrumbsitem', 'to' => "{$id_product}", 'tplHome' => '@INLINE
  • '~$first_breadcrumb~'
  • ', 'tplWrapper' => '@INLINE ', 'outputSeparator' => '/', 'tplCurrent' => '@INLINE
  • {$menutitle}
  • ', 'showHidden' => 0, 'showHome' => 1, 'hideSingle' => 1, ] )} {/if} {var $srRegionName = $_modx->getPlaceholder('srRegion.name')} {var $srRegionh1 = $_modx->getPlaceholder('srRegion.h1')} {if $srRegionName?}

    {$srRegionh1}

    {else} {if $_modx->config.cultureKey != ('localizator_default_language' | option)}

    {if $.get.options['name_product']}{$id_product | resource : 'pagetitle'} ({$.get.options['name_product']}, {$.get.options['code']}){/if} {$_modx->resource.h1?:$_modx->resource.pagetitle}

    {else}

    {if $.get.options['name_product']}{$id_product | resource : 'pagetitle'} ({$.get.options['name_product']}, {$.get.options['code']}){/if} {$_modx->resource.h1Ua?:$_modx->resource.pagetitle}

    {/if} {/if}
    {include 'status_block'} {if $.get.options['name_product']} {$id_product | resource : 'pagetitle'}
    {$.get.options['name_product']}
    {$.get.options['code']}
    {/if} {$_modx->runSnippet('!msGallery',['tpl'=>'tplMsGallerySiteColor'])}
    {set $parent_assortment = $_modx->resource.parent | resource : 'assortment'} {set $rows_assortment = json_decode($_modx->resource.assortment?:$parent_assortment, true)} {if $rows_assortment?}
    {/if} {'!search_cart_form_color' | snippet}
    {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 $old_price?}
    {$old_price} грн
    {/if}
    {$price} грн
    {if $availability?}
    {*$_modx->runSnippet('!dynamicBuyButton',['idd' => "{$_modx->resource.id}"])*}
    {else} {/if}
    {if $_modx->config.cultureKey != ('localizator_default_language' | option)} {set $introtext = $_modx->resource.introtext?:$_modx->resource.localizator_content} {set $content = $_modx->resource.localizator_content} {else} {set $introtext = $_modx->resource.introtext?:$_modx->resource.content} {set $content = $_modx->resource.content} {/if} {set $files = json_decode($_modx->resource.files, true)} {if $_modx->resource.files?} {/if} {if $_modx->config.cultureKey == ('localizator_default_language' | option)}
    Доставка
    {$_modx->config.info_product_delivery_ua}
    Оплата
    {$_modx->config.info_product_payment_ua}
    Повернення
    {$_modx->config.info_product_return_ua}
    Гарантія
    {$_modx->config.info_product_garanty_ua}
    {else}
    Доставка
    {$_modx->config.info_product_delivery}
    Оплата
    {$_modx->config.info_product_payment}
    Возврат
    {$_modx->config.info_product_return}
    Гарантия
    {$_modx->config.info_product_garanty}
    {/if}
    {$_modx->lexicon('item_description')}
    {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.parent | resource : 'template_content_ru'?:$_modx->resource.localizator_content} {else} {$_modx->resource.parent | resource : 'template_content_ua'?:$_modx->resource.content} {/if} {/if}
    {include 'faq'}
    {$_modx->lexicon('item_review')} {$ticketcount == ''? '': $ticketcount}
    {$_modx->runSnippet( '!TicketComments', [ 'allowGuest' => '1', 'tplComments' => 'tplTicketsCommentWrapperItem', 'tplCommentFormGuest' => 'tplTicketsCommentFormSite', 'tplCommentForm' => 'tplTicketsCommentFormLogin', 'tplCommentAuth' => 'tplTicketsCommentOneAuthSite', 'formBefore' => 0, 'autoPublish' => 0, 'autoPublishGuest' => 0, 'enableCaptcha' => 0 ] )}
    {$_modx->runSnippet('!srRegion')}