By using’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Wordpress and Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor

    Join us!
elementor official

WooCommerce filter that filters socks by size (doesn't work properly)



New Member
Good morning, everyone,

I'm building a shop on wordpress and have added a filter that filters socks by size. There are 3 different size ranges but every time I click on one of the filters it shows me all the socks, even if that sock doesn't have that size. What can I do about this?
Is it possible to prevent the filter from showing socks that do not belong to a certain size with a PHP function? If so, does anyone know how to do this? I am not a PHP expert.

This request for help would be quite urgent.

I am waiting for advice and thank you in advance.


Latest Resources

Other Elementor Resources

elementor official