最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How set variation after filter in WooCommerce?

programmeradmin3浏览0评论

For simple example i have product "pen" with variation "black" and "red". After use filter "red" on shop page need to set appropriate variation on product (red).Or though set the appropriate picture after filter.

On my site activate theme - "Woodmart". In this theme filter works with pjax.

If have any idea or appropriate hooks, write it to me.

For simple example i have product "pen" with variation "black" and "red". After use filter "red" on shop page need to set appropriate variation on product (red).Or though set the appropriate picture after filter.

On my site activate theme - "Woodmart". In this theme filter works with pjax.

If have any idea or appropriate hooks, write it to me.

Share Improve this question asked Dec 30, 2019 at 18:28 kostikovmukostikovmu 1751 silver badge6 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I understand correctly that you want to filter them in woocommerce (products) by color - by clicking on the colored square? If so, here is the plugin you need. YITH WooCommerce Ajax Product Filter

DEMO

发布评论

评论列表(0)

  1. 暂无评论