Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Compact Box Layout not loading correct sometimes › Reply To: Compact Box Layout not loading correct sometimes
I have implemented custom JavaScript code to achieve the desired functionality of the compact box, and it’s working perfectly. I have one more question, though. I’ve reviewed your documentation and plugin comments but couldn’t find a solution to this issue. I’m using your search functionality for my WooCommerce store, and variations have been incorporated into the search. When I search for a specific variation, everything functions as expected. However, when I perform a general search and press Enter, the results display all products along with their corresponding variations. This leads to the same product being displayed 30-40 times on the results page, which is undesirable as I have products with numerous variations. Is there a way to restrict the results page to display only parent products?
Thanks in advance for your assistance.