+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Where i can disable empty categories?

  1. #1

    Where i can disable empty categories?

    Hello,
    where i can disable empty categories ?
    I don't want to show it in search, if i don't have ads in this category

    For example :



    Same about subcategory.


    using: auto_nova

    Regards,
    Alex

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,257
    Hello,

    Go to ftp > templates > your template > components > cascading-category > _cascading-category.js > find this.loadOptions

    replace code below:
    Code:
    Only registered members can view the code.
    with:
    Code:
    Only registered members can view the code.

  3. #3
    Quote Originally Posted by Rudi View Post
    Hello,

    Go to ftp > templates > your template > components > cascading-category > _cascading-category.js > find this.loadOptions

    replace code below:
    Code:
    Only registered members can view the code.
    with:
    Code:
    Only registered members can view the code.
    Done, but still have empty categories in search selects


  4. #4
    Up, still have this problem

  5. #5
    Hello Flynax team,
    I found setting, but it does not work, or i did not understanding that option ?


  6. #6
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,257
    Hello,

    As I mentioned in your ticket this option hides empty categories only in category boxes

    making it for dropdowns in search forms will require a customization because empty categories can be used for saving alerts
    Last edited by Rudi; February 14, 2020 at 06:07 AM.

  7. #7
    Thanks, Rudi.
    Now i understanding you.
    Last edited by Alex U; April 9, 2020 at 06:06 PM.

  8. #8
    Quote Originally Posted by Rudi View Post
    Hello,

    As I mentioned in your ticket this option hides empty categories only in category boxes

    making it for dropdowns in search forms will require a customization because empty categories can be used for saving alerts
    Hey Rudi,
    I think i dont need alerts,
    how to disable it quickly ?
    can you post code here ?

    Thanks,
    Alex

  9. #9
    Up, still actual

  10. #10
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    2,257
    Go to templates > your template > tpl > blocks > refine_search.tpl > remove or comment out the code at the bottom like this:

    Code:
    Only registered members can view the code.

+ Reply to Thread