|
The link must pass last7 to make the query work. The links on the search result page are normal links to the products and do not need to the last7 passed
See the difference here. cat=all is passed as that is the cat that is set when searching based on the search parameters of the timeframe. Now if a cat variable exists the construct_ppurl function passes the variables it is how it works.
Not every link in the program to pass the same thing. At minimum yes a product id must be passed but depending on the starting parameters whether its a search or some other links other variables will be passed.
|