Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Order Results by Product/Variations first and Categories at the bottom › Reply To: Order Results by Product/Variations first and Categories at the bottom
Hi!
For each request the search tries to return the number of items from each group (taxonomy terms, post types) as defined on the General Options -> Limits options panel.
In this case, probably all the category results were shown at the first iteration, then the the “load more” feature only fetched the rest of the products.
The only possible resolution I can see to this is via a custom CSS code – by forcing the taxonomy term results to stay at the bottom of the stack:
div.asp_w.asp_r .resdrg {
display: flex;
flex-wrap: wrap;
}
.item {
flex: 0 0 100%;
order: 0;
}
.item.asp_r_term {
order: 1;
}
Apply this code to your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end.
With this, even after the new results being loaded, the taxonomy results will stick to the bottom.