Forums / Bug Reports / [Duplicate] Small what's new bug with fix

[Duplicate] Small what's new bug with fix

Locked

Views: 1,658

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Oct 2008, 5:18 PM
#1
netweblogic avatar

netweblogic

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:

30 Oct 2008, 5:51 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Duplicate] Small what's new bug with fix

Thanks for the update and you may wish to peek at the thread on:

Known Bugs (and fixes) for v1.3.8
http://www.zen-cart.com/forum/showthread.php?t=82619

Thanks again! :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Oct 2008, 6:07 PM
#3
netweblogic avatar

netweblogic

New Zenner

Join Date:
Oct 2008
Posts:
7
Plugin Contributions:
0

Re: [Duplicate] Small what's new bug with fix

:oops: I knew that must have been caught before... well, thanks for pointing that page out though... I'll run through it and patch my version up for the other issues.

Will these fixes automatically be implemented on newer versions, or should I override the files?

Thanks,
Marcus

30 Oct 2008, 6:36 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: [Duplicate] Small what's new bug with fix

We try to get all of them posted on the forum and added to the next release ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!