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

WooCommerce Product Category Search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support WooCommerce Product Category Search

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22751
    dawgs85dawgs85
    Participant

    Hi,

    I have 3 primary product categories on my site in which each one of these product categories have their own WooCommerce archives pages.

    I want to be able to create search instances (one for each primary category) that will search in only one category and return results in that one WooCommerce product category.

    Is this possible to do with Ajax Search Pro?

    I did read an FAQ help article showing how to do this by adding code to my theme’s function.php BUT wouldn’t that only add category search for one category of my choosing and not all 3?

    Look forward to your reply,
    Drew
    Las Vegas, NV

    #22757
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Drew,

    This is actually possible without using any custom code. This documentation article should explain all the details on how to achive that.

    #22761
    dawgs85dawgs85
    Participant

    Hi,

    Thank you…that worked!

    So many settings and options that it is very difficult to find the right combination so thank you for your prompt reply.

    One last thing…I can’t seem to find the setting to get the ‘place holder’ text (ex. I have ‘search site’ text in the search box) to be vertically centered.

    Right now, the text is aligned on the bottom of the search bar.

    Kind regards,
    Drew

    #22776
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Drew,

    It should be automatically vertically centered. I checked the site, and there is a conflicting theme stylesheet rule, that sets a minimum height. Luckily it can be resolved very easile. Just use this custom CSS, and it will do the trick:

    input.orig {
        min-height: 0 !important;
    }
    #22796
    dawgs85dawgs85
    Participant

    Thanks…it worked!

    Damn themes find a way to get in the way, way too often! lol

    #22805
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce Product Category Search’ is closed to new replies.