Forums / Basic Configuration / NO IMAGE in search results by "Product Filter by Attribute"

NO IMAGE in search results by "Product Filter by Attribute"

Locked

Started by flower on 19 Jan 2009, 4:21 PM · Views: 2,748

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Jan 2009, 4:21 PM
#1
flower avatar

flower

New Zenner

Join Date:
Dec 2008
Posts:
36
Plugin Contributions:
0

NO IMAGE in search results by "Product Filter by Attribute"

Hello everyone,

I put this question separetely from the thread http://www.zen-cart.com/forum/showthread.php?t=116349. Otherwise, no one will look though it.

I am new to Zen Cart and to the forum. Here is a serious problem which makes potential customers go away almost immediately.

In search results by "Product Filter by Attribute ..." (http://www.zen-cart.com/index.php?ma...roducts_id=760 ), the product images do not appear. :yuck: Instead - NO PICTURE AVAILABLE, which is a file called no_picture.gif. The pictures are in fact available and can be well seen when loged at a particular product or after search, in new products etc. For some reason, the pictures do not appear after using "Product Filter by Attribute" (see http://www.elitebralingerie.com).

I looked through all files of "Product Filter by Attribute". As a matter of fact "Product Filter by Attribute" uses Advance Search module. The Advance Search module functions well. But not the "Product Filter by Attribute". I did search in "Developers Tool Kit" for "no_picture.gif" in order to understand where the programs switch to the this file. To my surprise, I couldn't find any place in the files where there is a line "use no_picture.gif if the product image is not available"!!!

I deleted no_picture.gif, then just an image frame appears. No product image. I put the image "no_picture.gif" back.

I do not understand how it is possible - the images appear when searching in Advance Search, but do not appear when using "Product Filter by Attribute" which is based on Advance Search module??? :blush:

Can someone help to resolve the problem, please? :lamo:

19 Jan 2009, 4:39 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: NO IMAGE in search results by "Product Filter by Attribute"

Most questions are answered very quickly. If people aren't answering your question then it usually means that its too complicated for a forum post, or simply that nobody knows the answer. Yours would require a high degree of technical skill and knowledge of a mod that isn't commonly used.

Starting new threads to ask the same question again doesn't increase the chances of getting an answer. Rather it clutters the forum and irritates the very people most likely to have the skills and knowledge to be to help you.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

21 Jan 2009, 1:21 AM
#3
flower avatar

flower

New Zenner

Join Date:
Dec 2008
Posts:
36
Plugin Contributions:
0

Re: NO IMAGE in search results by "Product Filter by Attribute"

Flower:

Hello everyone,

I put this question separetely from the thread http://www.zen-cart.com/forum/showthread.php?t=116349. Otherwise, no one will look though it.

I am new to Zen Cart and to the forum. Here is a serious problem which makes potential customers go away almost immediately.

In search results by "Product Filter by Attribute ..." (http://www.zen-cart.com/index.php?ma...roducts_id=760 ), the product images do not appear. :yuck: Instead - NO PICTURE AVAILABLE, which is a file called no_picture.gif. The pictures are in fact available and can be well seen when loged at a particular product or after search, in new products etc. For some reason, the pictures do not appear after using "Product Filter by Attribute" (see http://www.elitebralingerie.com).

I looked through all files of "Product Filter by Attribute". As a matter of fact "Product Filter by Attribute" uses Advance Search module. The Advance Search module functions well. But not the "Product Filter by Attribute". I did search in "Developers Tool Kit" for "no_picture.gif" in order to understand where the programs switch to the this file. To my surprise, I couldn't find any place in the files where there is a line "use no_picture.gif if the product image is not available"!!!

I deleted no_picture.gif, then just an image frame appears. No product image. I put the image "no_picture.gif" back.

I do not understand how it is possible - the images appear when searching in Advance Search, but do not appear when using "Product Filter by Attribute" which is based on Advance Search module??? :blush:

Can someone help to resolve the problem, please? :lamo:

In the file header_php.php in the line
$listing_sql .= "p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status ";

add p.products_image, at any place in the middle. I also added p.products_model, to display the model.

In fact there is a thread in the "Additonal Modules" devoted to "Product Flter by Attribute and price range"
http://www.zen-cart.com/forum/showthread.php?t=79013&highlight=product+filter

Good luck.