I have a zen-cart with 25-30 categories. On the front page of the site each category will get it's own little area in which the 4 best selling products in that category will be displayed.
Being a bit of a noob the best way I can think of doing this is to have a single sql statement for each category which picks out the best sellers each time the page loads. I've read somewhere that you're best to limit the amount of sql statements so as not to affect site speed.
Would doing it this way be very much slower?
Is there a more sensible way of doing this?