
Originally Posted by
n8pbm
Bootstrap 3.4.0 with Zen cart V1.5.8 and PHP 7.4.33
I am testing upgrading to 1.5.8 and installed the latest Bootstrap. I noticed that any categories that have sub-categories always shows the define main page information. If the category does not have a sub-category then the define mane page does not appear. I am trying to eliminate the define main page showing when selecting the categories. I use Bootstrap 3.1.1 currently with 1.5.7d and do not have this issue. Just curious if this is a setting I am missing?
Switching to the classic template and I do not have this issue.
http://www.popupparts.com/Backup if you want to see it in action.
Thank you
I do not know if it is the same solution like in github.
I went to
includes/templates/bootstrap/templates/tpl_index_categories.php
and made the following lines inactive
Code:
//if (DEFINE_MAIN_PAGE_STATUS === '1' || DEFINE_MAIN_PAGE_STATUS === '2') {
?>
<!-- <div id="indexCategories-defineContent" class="defineContent"> -->
<?php
/**
* require the html_define for the index/categories page
*/
// require $define_page;
?>
<!-- </div> -->
<?php
//} else {
?>
<h1 id="indexCategories-pageHeading" class="pageHeading"><?php echo $current_categories_name; ?></h1>
<?php
//}
Bookmarks