Archived topic
Styling for variables on shopping page
22 replies · Started by Daan van on October 9, 2017
Nope, I'm living the poor life of a website owner without AJAX...So sad :)
Does it work if you completely scrap that function?
Shit, my last post didn't came through I believe.
As U2 put it nicely, I still haven't found what I'm looking for (super sad face)
So with this function removed, it still doesn't work?: https://generatepress.com/forums/topic/styling-for-variables-on-shopping-page/#post-408941
With it removed AJAX works, but with the snippet it doesn't. The problem is, I like the solution that people can add the variable product to the cart on the shop page, so I want to keep that (even if it means AJAX doesnt function).
The altered snippet you've sent me didn't do the trick. So I'm stuck for now...
It might be worth bringing up with WooCommerce support, as they have more knowledge on their hooks and filters than me. They might be able to spot why that specific snippet would disable AJAX.
Thanks for everything!
No problem!