Support » Plugin: WooCommerce » Filter products in a search box (query) by user category

  • Resolved marcelxv

    (@marcelxv)


    I have a number of posts/products (for example, movies) inside a number of 10 categories (for example, zodiac signs) – that same category need to be apply to a user (customer) and when this user search for in a box, need to see only the products of her/his ‘category’. Additional: this products could have, on secondary filter, a relevance calculation like match by title, tags, etc.

    Anyone know how to create this logic/user flow in WordPress using PHP? I’m a beginner dev on PHP, but i can understand and learn fast!

    I do prefer make this without any plugin, but if you have some suggestion please submit.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    If you wanted to code some sort of custom solution, I would recommend checking places like the WooCommerce Developer Slack or Advanced WooCommerce Facebook group. As those communities are both frequented by developers (including our own).

    You’ll likely receive more input there than you will here, as these forums are intended for the default functionality of WooCommerce.

    Plugin Support Doug – a11n

    (@dougaitken)

    Automattic Happiness Engineer

    Hey @marcelxv

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter products in a search box (query) by user category’ is closed to new replies.