we are dealing here with a persistent little bastard.....
Amending the func.php, will result in:
Warning: Missing argument 6 for func_search_products() in c:\program files\apache group\apache\htdocs\shop\include\func.php on line 977
Warning: Missing argument 6 for func_search_products() in c:\program files\apache group\apache\htdocs\shop\include\func.php on line 977
However, changing the passage into:
Code:
function func_search_products($query, $membership,$first=0,$count_all=-1,$get_all=0, $orderby="price") {
Makes sure that every single category is sorted by price (ascending) by default! YEAHAAAAAAAAAAA!
This is what I initially wanted.... Thank you funkydunk!
Other amendmends are not necessary anymore. However when you want the customer to choose his own sorting method, there is still one error as mentioned above.
Anyway...Funkydunk, you made a sunnyday out of myday today!