Reply To: Several questions

#10625

Ernest Marcinko
Keymaster

Hi!

1. Yes, by forcing a minimal width on the results box higher than the search box with a custom CSS, like so:

div[id*=ajaxsearchprores] {
    min-width: 400px;
}

2. That field is to display custom field values, but it cannot follow formatting and other guides, as it gets the values directly from the databse. For this, it's better to use a custom filter function instead. To do that, put this custom code snippet into the function.php file in your active theme directory:

3. Well, attachments doesn't have categories by default, but it might be possible. On the Advanced Options -> Exclude results panel there is an option to Include post type results from certain categories only: https://i.imgur.com/ku0MbUD.png

4. I'm not sure, it might be possible with a custom filter. If I understand correctly, you want to remove the variations if the parent product is present. In that case, try maybe this code snippet:

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)