Forums / General Questions / Where is the main product listing query?

Where is the main product listing query?

Locked

Started by minnie_mouse on 12 Dec 2008, 12:33 AM · Views: 860

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Dec 2008, 12:33 AM
#1
minnie_mouse avatar

minnie_mouse

Zen Follower

Join Date:
Jun 2005
Posts:
119
Plugin Contributions:
0

Where is the main product listing query?

hi, i am trying to alter the main query that retrieves the product list if you click on a category name. in the product_listing page columns are called using the $listing variable, which when i traced it back becomes $listing_sql in the advanced search header and nowhere else i can find... surely that cant be where they are being drawn from. when i make changes to that page, of course it only shows up when i search.

Can someone tell me where the query resides? i am very confused.

12 Dec 2008, 4:11 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Where is the main product listing query?

Some of the related files:
/includes/modules/pages/index/.php
/includes/index_filters/
.php
/includes/modules/product_listing.php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Dec 2008, 7:00 PM
#3
minnie_mouse avatar

minnie_mouse

Zen Follower

Join Date:
Jun 2005
Posts:
119
Plugin Contributions:
0

Re: Where is the main product listing query?

Thanks!!!! it was in the index_filters/default_filter.php file.
many many thanks!!
MM