Reply To: mobile results problem and open results in new tab

Home Forums Product Support Forums Ajax Search Pro for WordPress Support mobile results problem and open results in new tab Reply To: mobile results problem and open results in new tab

#9913

Ernest Marcinko
Keymaster

Hi,

The swipe issue is a new bug I didn't notice before. There is basically a swipe event that allows the user to swipe left/right to navigate the results, but it appers to be blocking the up-down scrolling as well.

Since you added FTP access, I have fixed it by adding this script snippet to the footer.php in your theme directory:

jQuery(".asp_main_container").on("asp_results_show", function(event, id, instance, phrase) { 
  jQuery("div[id*=ajaxsearchprores] .results").addClass("noSwipe");
});

The more results is not working because on the Theme Options -> Isotopic results panel, the option If no image found is set to “Remove that result” – therefore the plugin is not able to calculate how many results are left, so it's not able load them: https://i.imgur.com/pxanOLP.png
If you change that option, it will work again 🙂

For add-to cart there is a snippet, but it was made specifically for vertical and horizontal layouts: https://wp-dreams.com/knowledge-base/woocommerce-add-to-cart-button-for-vertical-and-horizontal-results/
You can try modifying that, but the isotopic layout is more complicated and it has an overflow which would hover over the add-to cart button anyways.

I will look into the Use all blogs on my test environment and fix it for the upcoming release, thank you for notifying me about that.

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)