Jump to content

Изменение шаблона 1,6


Recommended Posts

Уважаемые, хочу убрать ненужный на мой взгляд текст в шаблоне 1,6

firebug показывает -page-heading product-listing

 

post-813963-0-91330800-1413880108_thumb.png

 

подскажите пожалуйста в каком файле  это редактируется

Замучился искать

 

Заранее спасибо

Edited by pobo (see edit history)
Link to comment
Share on other sites

Здравствуйте. Этот файл называется "category.tpl" и находиться тут ".../themes/default-bootstrap"

найдите эту строчку:

<h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span class="cat-name">{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1>

и замените на эту:

<!--h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span class="cat-name">{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1-->

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...