Forums › Forums › Search & Filter Pro › Search and Filter Pro Woocommerce Shop Page Form Not Working with AJAX
Tagged: ajax, page, Shop, woocommerce
- This topic has 12 replies, 2 voices, and was last updated 8 years, 11 months ago by
Anonymous.
-
Anonymous(Private) November 3, 2016 at 5:50 pm #68424
Thanks for the reply Trevor!
Changing to just “.products” did help. But…
I cannot do just “.products” because then it will not work on a single page – since there are “related products” below – which uses a wrapper container with class of “products”
http://dieselpowered.staging.wpengine.com/shop/generator/300-kw/300-kw-1990-caterpillar-generator-3406b-with-enclosure-and-base-fuel-tank/Okay, I just thought of this –> maybe i can get around this by duplicating the search and filter – and setting up the second slightly different. Ah – only issue there is i get a warning from S&F saying i can only have one woocommerce shop filter:
“Error: There are 2 Search Forms using display mode WooCommerce Shop – you may only have 1”
What is the exact reason for this error?I just set it up with a second filter as described above. It seems to work okay except two things:
1. The “showing # of #” does not update on shop page w/ ajax
2. The breadcrumbs dont update either on shop page w/ ajax.Any problem the way i set it up?
Any thoughts on these? Do you need the login?Thanks!
Any other ideas?
Yes it is a “live” site – its a staging dev site, but it is “live” out on the internet.Trevor(Private) November 3, 2016 at 6:08 pm #68433But what is the difference between the two forms, other than that? I would have though one form would work OK. You can leave Ajax enabled on the single product page, with the check box to disable except for results page set so that it won’t work on the single product page?
Anonymous(Private) November 3, 2016 at 6:11 pm #68435From my first reply (#68424) – I must not have “results container” as “.products” on single page because then it sorts the “Featured Products” below, i guess because the s&f js sees the “.products” container and thinks “hey I found “.products” – were on the results page, no need to redirect”.
Thats why i made the selector “.archive .products” from the start. But that does not work for whatever reason.
Make sense? -
AuthorPosts