Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Super Search Fix
New Landing › How can we help? › Atelier › Super Search Fix
Tagged: Super Search Attribute
- This topic has 14 replies, 4 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Atelier
-
August 9, 2016 at 2:50 pm #286635
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.
August 10, 2016 at 5:12 am #286714Hi,
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
MohammadAugust 11, 2016 at 6:31 pm #287059Hi 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?
August 12, 2016 at 3:04 am #287095Hi,
Please provide me super search results page url.
Thanks
MohammadAugust 15, 2016 at 8:16 pm #287534http://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.
August 17, 2016 at 10:16 am #287788My colleague Mohammad will assist you shortly.
Thanks,
David.August 18, 2016 at 10:10 am #288004Hi,
I just managed to resolve the issue.
Thanks
MohammadAugust 22, 2016 at 3:16 pm #288699Hi 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?
August 23, 2016 at 6:25 am #288794Hi,
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
MohammadAugust 29, 2016 at 9:02 pm #289716Thank 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?
August 30, 2016 at 6:16 pm #289912Hi 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.
August 30, 2016 at 7:09 pm #289924Hi 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
MohammadAugust 31, 2016 at 11:56 am #290057@bluecouches – what is your theme version?
August 31, 2016 at 5:05 pm #290108Swift Framework: 2.4.15
Atelier: 2.3
Wordpress: 4.6The 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>'; }
September 2, 2016 at 6:00 pm #290406Will test this on your site, what are the steps to produce the error including the terms you are using?
– David.
-
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.