Sample rows/values for sizes table:
1, small
2, medium
3, large
Ok, so here are my issues:
I need to be able to loop through a returned row and display each product, BUT I have three of each product because of the size selection. I need to display the title of just one of those three for the customer to view.
I need to be able to generate and display a price range. I need to get the lowest price for the products smallest size and the highest price for the products largest size in order to display the Title ($lowprice - $highprice).
I don’t even know if this is possible with SQL commands or php/sql techniques, but I am desperate. I have been trying to find a way to do this for over a month now and am absolutely stumped. If there are any SQL wizards out there I would greatly appreciate help.