This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

own keywords for product categories

Home Forums Product Support Forums Ajax Search Pro for WordPress Support own keywords for product categories

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55581
    billing_OaOobilling_OaOo
    Participant

    Hello!

    Is it possible to set custom keywords for WooCommerce product categories, similar to how it’s done for products or pages?
    If so, how can I do this?

    Thank you!

    #55582
    billing_OaOobilling_OaOo
    Participant

    And I have another question:
    When I search for “schwebetür,” I get the product, but the category that contains the product does not appear in the search results. For example, it’s shown on this page (https://hali.web-email.at/produktwelten/stauraum/schraenke/) as a product. We expected the search to show the category page as well. Why isn’t it showing up?

    #55584
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Yes, it is possible to do it indirectly via term metadata, then enabling search in the metadata fields.
    The easiest way to add a term metadata field non-programmatically is by using ACF plugin. If you are already using it, it has a feature to add term meta fields via their UI. It is also possible to do it programmatically, for that please check this tutorial.

    As for the second questions, the reason is that the phrase does not match the product category title nor the description only the product fields.

    However if you want to, you can display the product categories (and many other things) within each results via the advanced content field.

    #55587
    billing_OaOobilling_OaOo
    Participant

    Hi,

    thanks, this works! 🙂

    • This reply was modified 8 months, 1 week ago by billing_OaOobilling_OaOo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.