OK, here is the attached file
the client does not want the results page to be displayed on page load, so i am checking for the form to be posted before the results are displayed. (around line 1104)
However there are 2 other instances when I want the results displayed.
1, if items have been added to the cart and continue shopping has been pressed, when this page reloads, I want the results (and the existing search criteria) to be displayed.
2. if the customer forgets to check a row and clicks add to cart, the server validation reloads the page , highlighting the error, and the results are still displayed