Hi Cody,
Thanks for reaching out to us.
We are using your plugin and it works great for /shop/ and /archive/ (category) pages. However, we need to find out how we can add this functionality to a taxonomy and a search page.
It depends on the template structure of your pages. If your theme kept woocommerce_after_shop_loop_item
hook in the product loop, it will display the swatches.
I hope I could clear up your confusion.
Thank You
Using swatches on taxonomy pages and search pages
Cody Owens
Hello There,
We are using your plugin and it works great for /shop/ and /archive/ (category) pages. However, we need to find out how we can add this functionality to a taxonomy and a search page. The plugin does not show up there. Is there a way that we can get the swatches to show up as we have in other places? It’s imperative that we are able to add these here as the client utilizes these a lot for sales, promotions, etc.
Can you tell us either through using coding or the ability to add on to the plugin?
So far the plugin is working great but we really need it in these areas.
Here is an example of what we have, we just need this on taxonomy pages and search pages. Here are some URL’s that it does not work on:
https://stg-barefoot2-salecatcrd.kinsta.cloud/?s=LOCAL (A search page)
https://stg-barefoot2-salecatcrd.kinsta.cloud/sale/ (A taxonomy page displaying sale items)
NOTE: We also wrote some jQuery because if you selected a swatch it would send you to the top of the page because of the “#” in the click URL. That does not happen anymore since we did that.
Again, we enjoy this plugin and look forward for your assistance.
Thanks in advance.
-Mike Payne