Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Problems When Clicking On Categories At Horizontal Menu Rate Topic   - - - - -

 
  • Telemaco78
  • Member
  • Members
  • Join Date: 12-Sep 08
  • 89 posts

Posted 16 December 2017 - 05:51 PM #1

Im using a 4.3.2 version of cs-cart, the story is that I have around 20 or 30 categories with lots of subcategories, and I have created in Design/menu/horizontal menu an entry called ALL CATEGORIES pointing URL to index.php?dispatch=categories.catalog

 

In the store front when I click on ALL CATEGORIES it opens a page with all the categories (not subcategories) all listed in one column (This is Ok but I would like to have 3 or 4 columns better than 1) ..... I have tried in Design/Layouts and creating a new layouts page (add layouts page) and in dispatch I have writed categories.catalog, then I have added a new categories block wuth 3 columns..... but It shows categories and subcategories... And I just want to show categories....

Does anybody know how to show all the categories in 3 or 4 columns using: index.php?dispatch=categories.catalog

 

 

Thank you in advance



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22197 posts

Posted 18 December 2017 - 06:33 AM #2

design/themes/THEME/templates/views/categories/catalog.tpl

 

Open this file and replace:

{include file="views/categories/components/categories_multicolumns.tpl" categories=$root_categories}

with

{include file="views/categories/components/categories_multicolumns.tpl" categories=$root_categories columns="3"}

Hope this will help


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)