Здраствуйте. эта продолжения этой темы
https://prestashop-forum.ru/index.php/topic,11684.0.htmlвот код шаблона для сайта
<div class="language-selector-wrapper">
<div class="language-selector dropdown js-dropdown">
<div class="desktop-dropdown">
<span id="language-selector-label" class="hidden-md-up">{l s='Language:' d='Shop.Theme.Global'}</span>
<button class="btn-unstyle dropdown-current expand-more" data-toggle="dropdown" data-offset="0,2px" aria-haspopup="true" aria-expanded="false" aria-label="{l s='Language dropdown' d='Shop.Theme.Global'}">
<span><img src="{$urls.img_lang_url}{$current_language.id_lang}.jpg" alt="{$current_language.name_simple}" width="16" height="11"></span>
<span> {$current_language.name_simple}</span>
<span class="dropdown-icon"><span class="expand-icon"></span></span>
</button>
<div class="dropdown-menu js-language-source" aria-labelledby="language-selector-label">
<ul class="language-list">
{foreach from=$languages item=language}
<li {if $language.id_lang == $current_language.id_lang} class="current" {/if}>
<a href="{url entity='language' id=$language.id_lang}" title="{$language.name}" class="dropdown-item" data-iso-code="{$language.iso_code}">
<span class="l-name">
<span><img src="{$urls.img_lang_url}{$language.id_lang}.jpg" alt="{$language.name_simple}" width="16" height="11"></span>
<span> {$language.name_simple}</span>
</span>
<span class="l-code">{$language.iso_code}</span>
</a>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
</div>
2
<div id="mod-ps-languageselector">
<h4>{l s='Language:' d='Shop.Theme.Global'}</h4>
{if isset($shopsGroup)}
{foreach from=$shopsGroup item=shop}
<a href="http://{$shop.domain}" class="{if $shop.id_shop == $currentShop}active{/if}">
{if isset($shop.lang.id_lang)}
<img src="/img/l/{$shop.lang.id_lang}.jpg" alt="{$shop.lang.language_code}" title="{$shop.lang.name}" />
{else}
<img src="/img/l/none.jpg" alt="Flag no found">
{/if}
</a>
{/foreach}
{/if}
</div>
вопрос как код два соединить с кодом один чтоб дизайн остался первого кода. все перепробовал уже.