Jak pokazać subkategorię ?
Napisane: 29 maja 2010, o 23:09
W lewej kolumnie pokazywana jest lista kategorii (główna), ale jak pokazać również podkategorię?
Polskie forum Opencart - dyskusje, polskie tłumaczenia, templates, moduły
https://forum.opencart.pl/
if ($category_id == $result['category_id']) {
$children = $this->getCategories($result['category_id'], $new_path);
}
$children = $this->getCategories($result['category_id'], $new_path);
$children = $this->getCategories($result['category_id'], $new_path);
if (substr_count($new_path, '_') < 1) {
$children = $this->getCategories($result['category_id'], $new_path);
}