CMXX - Added categories filter for commerce
This commit is contained in:
@@ -61,6 +61,7 @@ function admin_populate_categories($categories, $parent_id = 0, $n = 0) {
|
||||
$html .= '
|
||||
<tr>
|
||||
<td><span style="padding-right:8px;color:#bbbec0;border-left:1px solid #bbbec0;padding-bottom:2px;">-' . str_repeat('----', $n) . '</span>' . $category['name'] . '</td>
|
||||
<td>'.(($category['filter'] == 1) ? 'V' : '').'</td>
|
||||
<td><a href="index.php?page=category&rowID=' . $category['rowID'] . '" class="link1">Edit</a> (ID =' . $category['rowID'] . ') </td>
|
||||
</tr>
|
||||
';
|
||||
@@ -100,6 +101,7 @@ $view .= '
|
||||
<thead>
|
||||
<tr>
|
||||
<td>'.($categories_name ?? 'Name').'</td>
|
||||
<td>'.($categories_filter ?? 'Filter').'</td>
|
||||
<td>'.$general_actions.'</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
Reference in New Issue
Block a user