Как добавить описание категории товаров внизу страницы

Автор mr.1punch, 12 декабря 2018, 22:21:45

« назад - далее »

mr.1punch

Здравствуйте! Подскажите, как добавить описание категории товаров внизу страницы, а не на верх как реализовано в Prestashop.

mr.1punch


Миколас


Belena

открываете файл category.tpl
находите {if $products}
            <div class="content_sortPagiBar clearfix">
                <div class="sortPagiBar clearfix">
                    {include file="./product-sort.tpl"}
                    {include file="./nbr-product-page.tpl"}
                </div>
                <div class="top-pagination-content clearfix">
                    {include file="./product-compare.tpl"}
                    {include file="$tpl_dir./pagination.tpl"}
                </div>
            </div>
            {include file="./product-list.tpl" products=$products}
            <div class="content_sortPagiBar">
                <div class="bottom-pagination-content clearfix">
                    {include file="./product-compare.tpl" paginationId='bottom'}
                    {include file="./pagination.tpl" paginationId='bottom'}
                </div>
            </div>
        {/if}

это вывод списка продуктов с сортировкой и пагинацией
находите {if $category->description} и весь код до {/if} вырезаете и вставляете ниже вывода списка товара