HempCasual Posted November 5, 2019 Share Posted November 5, 2019 Dodaje opis kategori w presta ale nie jest on widoczny oto zawartosc pliku category.tpl : {** * 2007-2017 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {extends file='catalog/listing/product-list.tpl'} {block name='product_list_header'} {if $category.image} <div class="category-cover"> <img src="{$category.image.large.url}" class="img-fluid" alt="{$category.image.legend}"> </div> {/if} <h1 class="h1 category-name">{$category.name}</h1> {*{if $category.description && $category.description != ''}*} {*<div class="block-category card card-block">*} {*<div id="category-description" class="text-mute">{$category.description nofilter}</div>*} {*</div>*} {*{/if}*} {/block} Pomozecie ? Link to comment Share on other sites More sharing options...
krzysiek_web Posted November 5, 2019 Share Posted November 5, 2019 (edited) {*{if $category.description && $category.description != ''}*} {*<div class="block-category card card-block">*} {*<div id="category-description" class="text-mute">{$category.description nofilter}</div>*} {*</div>*} {*{/if}*} zamień na {if $category.description && $category.description != ''} <div class="block-category card card-block"> <div id="category-description" class="text-mute">{$category.description nofilter}</div> </div> {/if} Edited November 5, 2019 by krzysiuus (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now