subcategories
« on: March 09, 2018, 04:09:27 PM »
How can I change this line for more subcategories show
<input type="hidden" name="s_category_id" id="category" value="<?php echo $a['s_category_id']; ?>"/>
                      <select id="category_multiple" name="category_multiple" multiple>
                        <?php osc_goto_first_category(); ?>
                        <?php while(osc_has_categories()) { ?>
                          <option value="<?php echo osc_category_id(); ?>" <?php if(in_array(osc_category_id(), $category_array)) { ?>selected="selected"<?php } ?>><?php echo osc_category_name(); ?></option>

                          <?php while(osc_has_subcategories()) { ?>
                            <option value="<?php echo osc_category_id(); ?>" <?php if(in_array(osc_category_id(), $category_array)) { ?>selected="selected"<?php } ?>>-&nbsp;<?php echo osc_category_name(); ?></option>
                          <?php } ?>
                        <?php } ?>
                      </select>

Like tree
category
- subcategory
-- subcategory of subcategory

because in 3rd subcat the attributes dont show

*

MB Themes

Re: subcategories
« Reply #1 on: March 09, 2018, 08:18:08 PM »
@Zbyszek
Not possible, it is curious that osclass does not have functions for that.
I will take a look on it next week to show all levels.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots