Product Listing configuration settings

Configuration for Product Listing pages

The Product Listing (or Index Listing) pages are listing pages showing all products in a specific category.

These pages have their own configuration settings page, which is Admin > Configuration > Product Listing.

On this page, the top settings are:

  • Display Product Image
  • Display Product Manufacturer Name
  • Display Product Model
  • Display Product Name
  • Display Product Price/Add to Cart
  • Display Product Quantity
  • Display Product Weight

Each of these values is set the same way, with a zero (indicating do not display this field on the listing page) or a positive number (indicating display this field in this order).

There are two things about the display of index listing pages that can be changed using admin controls:

a) How products are sorted when displayed on an index listing page:

By default, the sort order of products is done according to the sort order field on the products editing page.

This can be changed using Display Product Listing Default Sort Order on the Admin > Configuration > Product Listing page. See sort order for more details. When this value is set, one of the fields above (name, price, quantity, etc.) will be used to sort the products.

b) How each product is displayed on the listing page.

The “Display” controls described above indicate whether a particular field is shown for a product. The layout in which they are shown is less configurable than the New Listing - Featured Listing - All Listing configuration settings - there are basically three columns per row of listed product:

  • the image is on the left
  • the price and add to cart box is on the right
  • in the center are product name, model, manufacturer, description, quantity and weight.

This behavior may be modified by changing the template file includes/modules/YOURTEMPLATE/product_listing.php.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified November 10, 2021 by Scott C Wilson (bdbcc87b).