johnny_v Developer Od Netherlands Użytkownik od maj 2016 johnny_v 14 wrz 2016 00:01 Hi, Would there be an easy solution to make the parent-categories in the top menu not clickable? And perhaps even disabling the parent categories from the breadcrumb?
litecart Main Crew Od Sweden Użytkownik od lut 2013 litecart 14 wrz 2016 03:54 Sure, the main categories have the parent_id = 0. So that should only require a simple if condition. See boxes/box_site_menu. For the breadcrumbs. Either prevent the first category in the category trail to be output. Or slice up the already built array alternatively remove the second item in the built array. See pages/category and pages/product. var_dump(breadcrumbs::$data); 0 Site Name 1 Main Category 2 Sub Category (3 Product)