product listing query setup and single page linked