Я пытаюсь отделить вкладки от template/blocks/product_templates/default_template.tpl
на cscart. Моя цель приведет к наличию 2 шаблонов выше и ниже: default_template.tpl
и добавьте пользовательский блок для вкладок. Я создал собственный HTML-код с Smarty. Вот кодовый блок:CSCart Custom Block Template
{capture name="val_hide_form"}{/capture}
{capture name="val_capture_options_vs_qty"}{/capture}
{capture name="val_capture_buttons"}{/capture}
{capture name="val_no_ajax"}{/capture}
{include file="views/tabs/components/product_popup_tabs.tpl"}
{$smarty.capture.popupsbox_content nofilter}
{include file="views/tabs/components/product_tabs.tpl"}
{if $blocks.$tabs_block_id.properties.wrapper}
{include file=$blocks.$tabs_block_id.properties.wrapper content=$smarty.capture.tabsbox_content title=$blocks.$tabs_block_id.description}
{else}
{$smarty.capture.tabsbox_content nofilter}
{/if}
Он подтягивает HTML, но не распознает Javascript.