gauravchawla18 Posted May 16, 2020 Share Posted May 16, 2020 Hi, I am using PS 1.7.5.2 I want to remove the category text and image block from the top of the category and sub category pages. For your reference find attached the Images and area (block) marked in red circle to be removed. Thanks, GC Link to comment Share on other sites More sharing options...
JBW Posted May 18, 2020 Share Posted May 18, 2020 Remove/uncommend the code in themes/classic/templates/catalog/_partials/category-header.tpl 1 Link to comment Share on other sites More sharing options...
gauravchawla18 Posted May 18, 2020 Author Share Posted May 18, 2020 2 hours ago, JBW said: Remove/uncommend the code in themes/classic/templates/catalog/_partials/category-header.tpl Hi, Can you please share which code has to be removed from here as it is not going as expected. Thanks, GC Link to comment Share on other sites More sharing options...
Guest Posted May 18, 2020 Share Posted May 18, 2020 (edited) replace all to: {** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-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: * https://opensource.org/licenses/AFL-3.0 * 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 https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} <div id="js-product-list-header"> {if $listing.pagination.items_shown_from == 1} <!--<div class="block-category card card-block"> <h1 class="h1">{$category.name}</h1> <div class="block-category-inner"> {if $category.description} <div id="category-description" class="text-muted">{$category.description nofilter}</div> {/if} {if $category.image.large.url} <div class="category-cover"> <img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}"> </div> {/if} </div> </div>--> {/if} </div> Edited May 18, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
gauravchawla18 Posted May 19, 2020 Author Share Posted May 19, 2020 19 hours ago, Guest said: replace all to: {** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-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: * https://opensource.org/licenses/AFL-3.0 * 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 https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} <div id="js-product-list-header"> {if $listing.pagination.items_shown_from == 1} <!--<div class="block-category card card-block"> <h1 class="h1">{$category.name}</h1> <div class="block-category-inner"> {if $category.description} <div id="category-description" class="text-muted">{$category.description nofilter}</div> {/if} {if $category.image.large.url} <div class="category-cover"> <img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}"> </div> {/if} </div> </div>--> {/if} </div> Yes It has been sorted out, I have to clear cache and it was done.......................... I must say you are a great man and this has helped me out a lot. Thanks a lot again.... Link to comment Share on other sites More sharing options...
gauravchawla18 Posted May 19, 2020 Author Share Posted May 19, 2020 SOLVED Link to comment Share on other sites More sharing options...
Guest Posted May 19, 2020 Share Posted May 19, 2020 If I helped you, you can give my posts like by clicking on the gray heart below my posts. Link to comment Share on other sites More sharing options...
gauravchawla18 Posted May 19, 2020 Author Share Posted May 19, 2020 1 minute ago, Guest said: If I helped you, you can give my posts like by clicking on the gray heart below my posts. 100% ................amazing Link to comment Share on other sites More sharing options...
luishuaymana Posted May 20, 2020 Share Posted May 20, 2020 You can see the following full article at the following link.https://prestademia.com/ampliar-imagen-de-portada-de-categorias-o-sub-categorias-en-prestashop/ or watch the following video in Spanishhttps://www.youtube.com/watch?v=13p5VdHhy6k Link to comment Share on other sites More sharing options...
gauravchawla18 Posted May 20, 2020 Author Share Posted May 20, 2020 12 hours ago, luishuaymana said: You can see the following full article at the following link.https://prestademia.com/ampliar-imagen-de-portada-de-categorias-o-sub-categorias-en-prestashop/ or watch the following video in Spanishhttps://www.youtube.com/watch?v=13p5VdHhy6k Hi, Can u suggest something in English as well?? Link to comment Share on other sites More sharing options...
ceriz Posted September 20, 2023 Share Posted September 20, 2023 (edited) HI, i have migrated my PS 1.7.8.4 To 8.1.1 before i don't have this block on category, now this block is come back ... for new version of PS8.1.1 do you have solution ? i have test this solution for PS 1.7 but is not working ... Sorry for my english ^^ thx ! Edited September 20, 2023 by ceriz (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