Quote from Valerio on January 20, 2021, 00:58
Good morning I have been talking with Pablo months ago and every time he has always a solution (he such a wizard! REALLY!)
Anyway please help me! :/
Im having a problem with filtering / pagination on my site.
******ERROR DESCRIPTION:****
PAGE URL: -> BE SURE CHECKING CLOUDFLARE FIRST
https://www.petrolioshop.com/scarpe/
....and....
Currently the shortcode in the page is this:
[woof_products per_page=20 columns=4 is_ajax=1 taxonomies=product_cat:5962 paginate=true order=desc]
FIRST STEP:
WHEN I FILTER PRODUCTS PER ATTRIBUTE, AS "categorie prodotto" or "taglie uomo" the page updates products via ajax and its correct.
The thing is:
On the pagination: when I click on NEXT (the arrow next to 1) the href is --> https://www.petrolioshop.com/wp-admin/admin-ajax.php?paged=2
and the url is: https://www.petrolioshop.com/scarpe?filter=1&stock=instock&product_cat=adidas&paged=1
So when I press next it goes blank page with a 0 written!
i think it should be --> https://www.petrolioshop.com/scarpe?filter=1&stock=instock&product_cat=adidas&paged=2 (because i tried and it works!)
please help me fix this!!
...and i dont need to set is_ajax = 0 to get it working because i know it works but i just want ajax requests and the right href on the arrow for next page!!
THANK YOU
Good morning I have been talking with Pablo months ago and every time he has always a solution (he such a wizard! REALLY!)
Anyway please help me! :/
Im having a problem with filtering / pagination on my site.
******ERROR DESCRIPTION:****
PAGE URL: -> BE SURE CHECKING CLOUDFLARE FIRST
https://www.petrolioshop.com/scarpe/
....and....
Currently the shortcode in the page is this:
[woof_products per_page=20 columns=4 is_ajax=1 taxonomies=product_cat:5962 paginate=true order=desc]
FIRST STEP:
WHEN I FILTER PRODUCTS PER ATTRIBUTE, AS"categorie prodotto" or"taglie uomo" the page updates products via ajax and its correct.
The thing is:
On the pagination: when I click on NEXT (the arrow next to 1) the href is --> https://www.petrolioshop.com/wp-admin/admin-ajax.php?paged=2
and the url is: https://www.petrolioshop.com/scarpe?filter=1&stock=instock&product_cat=adidas&paged=1
So when I press next it goes blank page with a 0 written!
i think it should be --> https://www.petrolioshop.com/scarpe?filter=1&stock=instock&product_cat=adidas&paged=2 (because i tried and it works!)
please help me fix this!!
...and i dont need to set is_ajax = 0 to get it working because i know it works but i just want ajax requests and the right href on the arrow for next page!!
THANK YOU