New Zenner
- Join Date:
- Oct 2008
- Posts:
- 7
- Plugin Contributions:
- 0
[Duplicate] Small what's new bug with fix
I recently downloaded Zen Cart 1.3.8 for the first time. Great software guys, well done and I hope I can contribute in the future!
I noticed there's a little bug in the new products sidebox. What happens is that if you have more than one language you may see the same product displayed more than once with different language names.
The location for the culprit file is includes/modules/sideboxes/what_new.php
I fixed it by altering the SQL statement by adding the following to under line 19:
replace this:
where p.products_id = pd.products_id
with this:
where p.products_id = pd.products_id
and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'
Again, :clap: on a very comprehensive application. :bigups: