Search results and Woof pagination issue
-
I have an issue with product search results pagination and Woof’s javascript. I have a product search field at the top of my wines webshop homepage. When you enter a search word, for example ‘Chardonnay’, the Chardonnay wines results display, so far so good. But when you click ‘2’ at the bottom of the results to see the second page of results, Woof’s javascript returns all products.
I believe this is because Woof’s Ajax script gets and alters the href of the link, but in this case it’s not working correctly.“function() {
var l = jQuery(this).attr(‘href’);
if (woof_ajax_first_done) {
//wp-admin/admin-ajax.php?paged=2
var res = l.split(“paged=”);
if (typeof res[1] !== ‘undefined’) {
woof_ajax_page_num = parseInt(res[1]);
}
…”Could this be fixed in an update?
Other than this, I love your plugin!The page I need help with: [log in to see the link]
- The topic ‘Search results and Woof pagination issue’ is closed to new replies.