few things:

  • what a pain!
  • good catch, this is a bug.
  • have you played around with the new searching? it is quite powerful. and only requires partial word matches; ie searching for 'great product', would return a product whose name is 'greatest product'.


that said, find this line of code:

https://github.com/zencart/zencart/b...ories.php#L339

and change it to:

PHP Code:
$order_by str_replace(['pd.''p.'], ''zen_products_sort_order(false)); 
the sorting is then controlled by this constant:

PRODUCT_INFO_PREVIOUS_NEXT_SORT

which is available by searching using the developers tool kit; or by admin -> configuration -> product info.

let us know if that fixes the bug for you.

note that the sorting is the same as is used on the storefront.