New Landing How can we help? Themeforest Theme Support Neighborhood Super Search modification to accept subcategories

Viewing 11 posts - 1 through 11 (of 11 total)
  • #243620
    quantum_leap
    Member
    Post count: 21

    I understand that the feature is not currently supported but would it be possible to show me which file is responsible so I can try and modify it?

    By the way, it doesn’t seem to be in the includes\swift-framework\sf-content-display\sf-header.php file that was mentioned in another post.

    #243996
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can check the sf-supersearch.php file at \neighborhood\includes\swift-framework\.
    Thanks
    Mohammad

    #244061
    quantum_leap
    Member
    Post count: 21

    No clue what’s going on there, I wish I had more PHP knowledge. I mean, apart from product_cat that I see mentioned there I can;t see a way of making the function know to cascade down the categort’s subcategory. Anyone from support willing to help?

    If no, can you please tell the developer to have a look at it? I mean it currently half defeats the purpose of being there. Most small sites migh not have second level categories and they will be able to use the Super Search whilst bigger size shops with multiple sub categories and more products that would benefit from that tool, cannot use it! It doesn’t make sense.

    #244081
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please find this code :-

    $term_args = array(
                    'parent' => 0,
                );
    

    Change to:-

    $term_args = array(
                    'parent' => true,
                );

    Thanks
    Mohammad

    #244102
    quantum_leap
    Member
    Post count: 21

    Now, it only displays the “Any” text with no categories at all.

    #244109
    quantum_leap
    Member
    Post count: 21

    If I remove the code all together it show all categories and their subcategories. Is there a way to exclude certain root categories?

    #244130
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    How many categories do you want to remove?
    Thanks
    Mohammad

    #244175
    quantum_leap
    Member
    Post count: 21

    Currently there are 3 parent categories I would like to exclude but there might be more in the future. For example there is a Womenparent category that contains Tops, Trousers, Jackets, etc and also a Men parent category that includes almost the same sub categories. To tell you the truth, thinking about it now I would require certain parts of the search form to be deactivated according to what parent category the user selects because if they select Incense and Smudging, for instance, there would be no need to select size and colour, if you know what I mean. So the next best thing would be to only optimize the search for Clothing in which case I would need users to be able to select either Women’s Clothing or Men’s Clothing (parent categories) and then select items only available to the previously selected parent category.

    #244191
    David Martin – Support
    Moderator
    Post count: 20834

    Hi there,

    Unfortunately that customisation is beyond our scope of support as it is more work than a small customisation.

    We only provide support for theme issues, and at times basic customisations. While we’d love to be able to support every customisation request, we simply don’t have the time.

    We recommend that you seek a freelance developer if you need to make that customisation.

    Thanks.

    #245448
    quantum_leap
    Member
    Post count: 21

    Ok, thanks. I don’t know why but I stopped getting notifications emails for subscribed support threads, could you please have a look at your system?

    #245450
    David Martin – Support
    Moderator
    Post count: 20834

    @quantum_leap – sure, thanks for the report. We will look into this.

    Thanks.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register