Forums / General Questions / No product display for new categories !?

No product display for new categories !?

Locked

Started by kimsonvu on 23 Nov 2008, 5:38 PM · Views: 997

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
23 Nov 2008, 5:38 PM
#1
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

No product display for new categories !?

Hi,

With the old categories a few months ago, i could see product ! I also could see new product which i just add to them.

But with the new categories , i add new product or move old product to them but i can't see anything.

What kind of this bug and how to fix this ?

This is 2 new categories :

http://www.handicraft-vn.com/shop/boardgame-handmade-c-179.html

http://www.handicraft-vn.com/shop/boardgame-craft-c-178.html

When i move that product to old categories, it show !!! But never show in new categories !!

Thanks for help !


Add more :

The new categories will show product if they have 1 product but don't show anything with 2 or more product .

Also, i use Zencart V1.38a.

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

23 Nov 2008, 5:43 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,745
Plugin Contributions:
0

Re: No product display for new categories !?

Does the process work if you turn off the SEO URL thing you have?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Nov 2008, 5:47 PM
#3
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: No product display for new categories !?

Kim:

Does the process work if you turn off the SEO URL thing you have?

It is same when i turn of the SEO .

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

23 Nov 2008, 5:54 PM
#4
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: No product display for new categories !?

Does modules Product Reward Points make this trouble ?

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

23 Nov 2008, 6:01 PM
#5
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: No product display for new categories !?

Also, new product which i just added don't show in new product !?1

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

24 Nov 2008, 3:46 AM
#6
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: No product display for new categories !?

Bummm.....how to fix this bug...?

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

24 Nov 2008, 4:29 AM
#7
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: No product display for new categories !?

I found this bug is one of file in folder /includes/modules !

I use backup code from a few months ago and it work, but how to find the correct file name?

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

24 Nov 2008, 5:56 AM
#8
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: No product display for new categories !?

Bug found 1 :

includes/modules/pages/Product_All and Product_New

This is bug code for Product_new :

Line 35 :

  $products_new_split = new splitPageResults(cat_filter($products_new_query_raw), MAX_DISPLAY_PRODUCTS_NEW);

Line 44

    $check_products_all = $db->Execute(cat_filter($products_new_split->sql_query));

Product_all:

Line 33 :

  $products_all_query_raw = $db->bindVars(cat_filter($products_all_query_raw), ':languageID', $_SESSION['languages_id'], 'integer');

And the categories don't show new product in new categories :

Bug at file : includes/modules/product_listing.php

Line 15:

  $products_all_query_raw = $db->bindVars(cat_filter($products_all_query_raw), ':languageID', $_SESSION['languages_id'], 'integer');

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON

24 Nov 2008, 6:04 AM
#9
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: No product display for new categories !?

I am not coder , so i don't understand about the code php. I just compare of backup version and the bug version. Both is 1.38A but i have install some modules for bug version.

Hope my working will help someone have same trouble :D

Thanks ZENCART ! You have a great community !

From Hochiminh City - Vietnam !
Call me when you travel here : +840983038939
KIMSON