(not entirely sure this issue is due to my recent to upgrade to 1.5.5a, but that is when we noticed it)
The "also purchased products" section seems to be displaying every product that the db query finds and is not limited by the MAX_DISPLAY_ALSO_PURCHASED entry. After reading this thread: https://www.zen-cart.com/showthread....er-small-thing , I noticed that the number of also purchased products does max out at 50, so the db query is apparently working fine, but the php is apparently not limiting the displayed number of products to the value of MAX_DISPLAY_ALSO_PURCHASED.
So I'm assuming something is messed up with my php, my site is heavily modified so this doesn't surprise me. But I really have no idea where to go to fix this. As far as I can tell, everything in "also_purchased_products.php" is fine, specifically the line
PHP Code:
$also_purchased_products = $db->ExecuteRandomMulti(sprintf(SQL_ALSO_PURCHASED, (int)$_GET['products_id'], (int)$_GET['products_id']), MAX_DISPLAY_ALSO_PURCHASED);
Any help or pointing the right direction is appreciated. Thanks!
Bookmarks