Re: Adding new Qualifiers to
so $listing->fields['products_id']
is one what page of zen to customize to add said things. We don't want to add more items, we want to add other fields of the tables.
its like we're going round and round here.
All we want to know is how to add more qualifiers to the page of a category.
How to add more things from the fields of the database into our categories of items. NOT the individual items, but the categories. We want to show the customer more of an item in the category. Thank you.
Re: Adding new Qualifiers to
The current Product Listing allows for approximately 10 fields to be displayed ...
If you want anything beyond this, you need to customize the code ...
I have given you a function capable of pulling any field name that you can spell correctly that is contained in either the products or the products_description table ... mearly by passing it the products_id and the field name ...
You will need to place these fields into the code where you want to display them for the Products Listing ...
You will need to customize the /includes/modules/product_listing.php
NOTE: this file runs or outputs based on what fields you have activated or set a value higher than 0 in the Configuration ... Product Listing ...
Example:
on line 101 ... just below the $lc_text = blah blah blah ... add the code:
PHP Code:
$lc_text .= '<br />I SEE ' . zen_products_lookup($listing->fields['products_id'], 'products_quantity');
Note: how now the listing shows the products_quantity under the Products Name ...
All you need to do is figure out what the name of your field is that you want to see and where to stick your info for your listings ...