Don't let site visitors see the same related items. If they do, they might start ignoring that area of your site. This quick & easy hack will randomize the results of your related items.
Note: use caution if your website is extremely large, as this may slow down the rendering of your item pages.
File: components/com_k2/models/itemlist.php
Find the following code...
$query .= " AND c.trash = 0
AND (i.id) IN ({$sql})
ORDER BY i.created DESC";
Replace
ORDER BY i.created DESC"; >>> with >>>
ORDER BY RAND()";
resulting in the following code:
$query .= " AND c.trash = 0
AND (i.id) IN ({$sql})
ORDER BY RAND()";
Special thanks to
www.joomreem.com (@JoomReem) for helping with this hack