Forums / Bug Reports / [Duplicate] 1.3.8 Query parameters missing.

[Duplicate] 1.3.8 Query parameters missing.

Locked
Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 Apr 2008, 20:44
#1
jcakec avatar

jcakec

New Zenner

Join Date:
Apr 2008
Posts:
1
Plugin Contributions:
0

[Duplicate] 1.3.8 Query parameters missing.

hey guys,

just to let you know that your queries on new products and whats new are missing some parameters. On what's new, you're missing language parameter, so products get show as n new products, depending on n languages you have.

Fix. add the language_id = '" . $_SESSION['languages_id'] " to the query and voila! :)

the other one is new products, where you forgot to set the status flag check, so products get shown regardless of being active or not.

Fix. Add products_status = 1 flag to the new products query.

hope it helps.
11 Apr 2008, 21:41
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: [Duplicate] 1.3.8 Query parameters missing.

I think this has been posted somewhere in the announcement room already.
12 Apr 2008, 15:31
#3
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Posts:
7,017
Plugin Contributions:
12

Re: [Duplicate] 1.3.8 Query parameters missing.

JCakeC:

hey guys,

just to let you know that your queries on new products and whats new are missing some parameters. On what's new, you're missing language parameter, so products get show as n new products, depending on n languages you have.

Fix. add the language_id = '" . $_SESSION['languages_id'] " to the query and voila! :)

the other one is new products, where you forgot to set the status flag check, so products get shown regardless of being active or not.

Fix. Add products_status = 1 flag to the new products query.

hope it helps.


yellow1912:

I think this has been posted somewhere in the announcement room already.


Check here