New Landing How can we help? Atelier Super Search Fix

Viewing 15 posts - 1 through 15 (of 15 total)
  • Posted in: Atelier
  • #286635
    bfikree
    Member
    Post count: 5

    Hi there,

    I was having super search issues with it not searching attributes, can you please implement the fix and if you could help me out by making the main button on the slider the ‘super-search-go’ class that would be immensely helpful as I was having some issues with that.

    #286714
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have managed to resolve the issue so please check it now. I edited the sf-supersearch.php file at /atelier/swift-framework/core/ directory.

    Find this code:-
    $sf_ss_dropdown .= '<a class="ss-option" href="#" data-attr_value="' . $term->term_id . '">' . $term->name . '</a>';

    Change with:-
    $sf_ss_dropdown .= '<a class="ss-option" href="#" data-attr_value="' . $term->slug . '">' . $term->name . '</a>';

    Thanks
    Mohammad

    #287059
    bfikree
    Member
    Post count: 5

    Hi Mohammad,

    The issue does not appear to be resolved, the super search still does not work? I just tried it and it still returns no products?

    #287095
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me super search results page url.
    Thanks
    Mohammad

    #287534
    bfikree
    Member
    Post count: 5

    http://thc-toronto.com/?product_cat=sativa&filter_properties=153

    The super search is in the same location as the demo in the top left. That’s the URL it returns on a search.

    #287788
    David Martin – Support
    Moderator
    Post count: 20834

    My colleague Mohammad will assist you shortly.

    Thanks,
    David.

    #288004
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I just managed to resolve the issue.
    Thanks
    Mohammad

    #288699
    bfikree
    Member
    Post count: 5

    Hi Mohammad,

    Thank you for fixing that issue, how did you resolve the issue? What was the issue?

    Also, could you help me out by pasting the code I need for a button with the super-search go class?

    #288794
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I edited the sf-supersearch.php file at /atelier/swift-framework/core/ directory.

    Find this code:-
    $sf_ss_dropdown .= '<a class="ss-option" href="#" data-attr_value="' . $term->term_id . '">' . $term->name . '</a>';

    Change with:-
    $sf_ss_dropdown .= '<a class="ss-option" href="#" data-attr_value="' . $term->slug . '">' . $term->name . '</a>';

    Thanks
    Mohammad

    #289716
    bfikree
    Member
    Post count: 5

    Thank you, to my second question in my thread

    Could you help me out by pasting the code I need for a button with the super-search go class?

    I wanted to put a button on the home slider to trigger the super search but have had difficulty doing so – can you please paste the code?

    #289912
    David Martin – Support
    Moderator
    Post count: 20834

    Hi there,

    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.

    Thanks.

    #289924
    bluecouches
    Member
    Post count: 23

    Hi Mohammad,

    This change was already present in my sf-supersearch.php file.

    $sf_ss_dropdown .= ‘slug . ‘”>’ . $term->name . ‘‘;

    However, Super Search is still not searching product attributes. I have some fairly unique strings like “HF21A” set as product attribute terms. I get 0 search results when using super search to look for this string.

    I thought that I might have to have the attributes set to “show on product page” in the product data meta, but even with that setting enabled, there are no results.

    Any help would be greatly appreciated. I can start a new topic if need be.

    Thanks
    Mohammad

    #290057
    David Martin – Support
    Moderator
    Post count: 20834

    @bluecouches – what is your theme version?

    #290108
    bluecouches
    Member
    Post count: 23

    Swift Framework: 2.4.15
    Atelier: 2.3
    Wordpress: 4.6

    The old line was already commented out when I checked the file, but still no attribute search. Also just set up another test attribute gave it some terms, and added them to a published product, but no luck.

    else {
                            //$sf_ss_dropdown .= '<a class="ss-option" href="#" data-attr_value="' . $term->term_id . '">' . $term->name . '</a>';
                            $sf_ss_dropdown .= '<a class="ss-option" href="#" data-attr_value="' . $term->slug . '">' . $term->name . '</a>';
                        }
    #290406
    David Martin – Support
    Moderator
    Post count: 20834

    Will test this on your site, what are the steps to produce the error including the terms you are using?

    – David.

Viewing 15 posts - 1 through 15 (of 15 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