Forum Replies Created
-
AuthorPosts
-
ekuk
ParticipantMany thanks for your super rapid response, greatly appreciated. The fix is working for text in the tab but not for content called by shortcode in the tab as far as I can see. I’ve just published a dummy product using the new table system the client is using (the table is called with shortcode in the tab), cleared the cache, reindexed then done a search for text in the table and it didn’t find anything.
http://www.lawtontools.co.uk/en/product/dummy-product/
searched for ABC-123
May 18, 2017 at 11:48 am in reply to: search with multiple slashes not found eg LT/SB/640/LID #13146ekuk
Participantmany thanks 🙂
ekuk
Participantlooking back at my last ticket when I first built the site I see we had a similar issue and you did a fix:
function asp_remove_slash_phrase( $phrase ) {
return ASP_Helpers::clear_phrase( str_replace(“/”, “”, $phrase) );
}
add_filter( “asp_search_phrase_after_cleaning”, “asp_remove_slash_phrase”, 1, 1 );I’m guessing this only works for the first slash? which is why it works for LT/SB? the code is still in place in my functions.php file. could we have a version that can find more than one / ?
ekuk
Participantsuper thanks, all working now 🙂
ekuk
Participantsorry, one more glitch. Same thing really on some products they have two codes the network rail reference and also a part code. Again they will want it to be able to search part code. I added those attributes on and reindexed but they don’t appear in the search.
eg
a search for LT/SB/640/LID
which should find this page http://www.lawtontools.co.uk/en/product/aluminium-storage-boxes/
Am I missing something?
ekuk
Participantmany thanks your help is much appreciated, I will definitely use your plugin again in the future
-
AuthorPosts