Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product Listing, Is this possible

Product Listing, Is this possible

Locked

Views: 2,048

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
19 Oct 2006, 6:04 PM
#1
unk avatar

unk

New Zenner

Join Date:
Oct 2006
Posts:
11
Plugin Contributions:
0

Product Listing, Is this possible

Spent quite a long time searching but to no avail. - -

Is this possible to do with the product listing? Setting zen to display products in a row like this?

Thank you!

19 Oct 2006, 6:10 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: Product Listing, Is this possible

Yes, but you will need to add several fields to your product's information and then modify the module to display them.

19 Oct 2006, 8:55 PM
#3
unk avatar

unk

New Zenner

Join Date:
Oct 2006
Posts:
11
Plugin Contributions:
0

Re: Product Listing, Is this possible

Thanks alot, now would there possibly be a tutorial on how to add fields, and modifiying modules here? I cannot seem to find a post dealing with my specific question.

19 Oct 2006, 10:29 PM
#4
unk avatar

unk

New Zenner

Join Date:
Oct 2006
Posts:
11
Plugin Contributions:
0

Re: Product Listing, Is this possible

Another quick question. Maybe I can shortcut this here. Can I just change the Product model field to say Product Condition?

I found this thread, but Im not sure if this is will work.
http://www.zen-cart.com/forum/showthread.php?t=44780&highlight=change+model

19 Oct 2006, 11:26 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product Listing, Is this possible

Yes, you can re-define the text as outlined in the post.

20 Oct 2006, 12:17 AM
#6
unk avatar

unk

New Zenner

Join Date:
Oct 2006
Posts:
11
Plugin Contributions:
0

Re: Product Listing, Is this possible

Well I was able to change model to condition so it shows on the item description page only, but I cannot seem to find the page to make it change like on the image I posted above.

20 Oct 2006, 3:41 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product Listing, Is this possible

In your admn > tools > developers tool kit > at the bottom left box enter the text you want to find > select the drop down "all catalog" files and search...you will find the other files where this resides

20 Oct 2006, 8:25 AM
#8
neunetllc_com avatar

neunetllc_com

Banned

Join Date:
Oct 2006
Location:
New Albany Ohio
Posts:
113
Plugin Contributions:
0

Re: Product Listing, Is this possible

unk:

Another quick question. Maybe I can shortcut this here. Can I just change the Product model field to say Product Condition?

i wouldn't do that. there are better ways to do what you're asking, including using the zen cart relational database system as it exists.

there are several layers to data. some folks call them layers, others call them tiers; you can call them whatever you want. the point is that if you get your ducks in a row at the lowest level, they'll come through more easily at the higher levels.

i would make sure you have the desired recordset available, if not, you'll have to modify the database a bit. but it seems to me that what you want to do can be done with existing product and related option and attribute tables

once you know your recordset is good to go, choosing your presentation layer will be like clockwork. you can use the default zen cart presentation layer for product attributes, use one of many data grid controls available from most major software companies (adobe/macromedia has a good one for internet apps) or build your own (google 1 of many tutorials available on this).

20 Oct 2006, 8:47 AM
#9
neunetllc_com avatar

neunetllc_com

Banned

Join Date:
Oct 2006
Location:
New Albany Ohio
Posts:
113
Plugin Contributions:
0

Re: Product Listing, Is this possible

i forgot to mention that building your own datagrid would be as simple as iterating through and echoing the recordset values with an add to cart button at the end for that specific product (which is what the default zen cart product listing does, but with a specific recordset).

however, if you have many options and attributes for each product, the possible number of combinations becomes quite large. if this is the case then you may want to just consider using the default zen cart presentation, which is not in grid format.

other possibilities are: using dynamic data grids that reduce the recordset based on a given input. for example, you could design a datagrid control such that selecting a car's "make" field value will affect the "models" left in the resulting recordset. choosing the model may affect available "colors", etc... (this would technically become a permutation, not a combination, since order matters, which would reduce the number of records in the final recordset by a factorial (k!))

20 Oct 2006, 6:22 PM
#10
unk avatar

unk

New Zenner

Join Date:
Oct 2006
Posts:
11
Plugin Contributions:
0

Re: Product Listing, Is this possible

Thanks very much for the response.

I think this would be a nice option for zen cart to include on a future update, the ability to add custom product fields to your item.

20 Oct 2006, 6:23 PM
#11
unk avatar

unk

New Zenner

Join Date:
Oct 2006
Posts:
11
Plugin Contributions:
0

Re: Product Listing, Is this possible

kobra:

In your admn > tools > developers tool kit > at the bottom left box enter the text you want to find > select the drop down "all catalog" files and search...you will find the other files where this resides

Thank you this worked perfect!