Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Need immediate help for displaying product fields in tabular form(cell form)

Need immediate help for displaying product fields in tabular form(cell form)

Locked

Views: 2,581

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
23 Jan 2009, 6:18 PM
#1
madhu avatar

madhu

New Zenner

Join Date:
Jan 2009
Posts:
4
Plugin Contributions:
0

Need immediate help for displaying product fields in tabular form(cell form)

Hi friends
I am new to zen cart.
I want to customize my shopping site that utilizes zen cart.
My problem is :
How to display product name,type,price and no of items to buy in tabular form for all product images.
Initially page contains product images and immediately after that ,i want to display product name,type,price and no of items to buy in tabular form for all product images.
Friends please help !!!

23 Jan 2009, 7:17 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Need immediate help for displaying product fields in tabular form(cell form)

Download the Column Layout Grid for Product Listing module from the Free Software Add-ons section (link above), and install it into your zencart.

In your Admin>>>Configuration>>>Product Listing:

Product Listing - Layout Style columns

Then, choose whatever elements you'd like to display in the cells.

25 Jan 2009, 4:23 PM
#3
madhu avatar

madhu

New Zenner

Join Date:
Jan 2009
Posts:
4
Plugin Contributions:
0

Re: Need immediate help for displaying product fields in tabular form(cell form)

Dear friend
thanks for the reply.
i tried that .but it was not my actual problem.
i want to display product images in row and then display product details in tabular format .
It shuld contain prod images first follwed by table shown(table should be inside text cells and proper heading )
the page should look like below :

          prod image 1

          prod image 2 

          prod image 3

Prod name Min Price Max price Qty to buy
Prod 1 12 13 1 (select from list item)
Prod 2 12 14 2 (select from list item)
Prod 3 23 25 2 (select from list item)

I am looking curiously fr the help.

25 Jan 2009, 5:18 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need immediate help for displaying product fields in tabular form(cell form)

You will need some custom coding for that; there is nothing available premade.

It might not be too difficult to modify /includes/modules/your_template/product_listing.php and possibly the associated tpl file to do this.

25 Jan 2009, 5:30 PM
#5
madhu avatar

madhu

New Zenner

Join Date:
Jan 2009
Posts:
4
Plugin Contributions:
0

Re: Need immediate help for displaying product fields in tabular form(cell form)

can i just modify the /includes/modules/your_template/product_listing.php script to get my result or shall i need modifications in other scripts too ?

if yes what scripts modifications i need to do for that purpose ?? (in which part ?) please give me some idea becoz i am totally new to zen cart and my boss assigned me all this job without letting me know what is zen cart.

26 Jan 2009, 6:41 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need immediate help for displaying product fields in tabular form(cell form)

The other file that will likely need some modification is (I think)
/includes/templates/your_template/templates/tpl_modules_product_listing.php.
That handles the actual outputting of the content prepared in product_listing.php.

You probably want to start from the stock (/template_default/) versions of these files rather than the Column Grid versions, as your description indicates that you don't want any multi-column display.

First set the fields you want to display using admin > Configuration > Product Listing - "0" for a field is off, a number is the sort order in the table row. Include the image in the list (probably at the end, where it will be easier to relocate); otherwise, the image information will not be available to the page.

You might find my "flexible product listing" posts to be helpful in seeing how to manipulate the listing elements. There are some other threads from several months ago where we discussed moving listing elements around.

26 Jan 2009, 8:02 AM
#7
madhu avatar

madhu

New Zenner

Join Date:
Jan 2009
Posts:
4
Plugin Contributions:
0

Re: Need immediate help for displaying product fields in tabular form(cell form)

hi friend
thanks for the reply
i am still wondering with confusion on how to display the product listing in tabular form as below

                prod image 1

               prod image 2

                prod image 3

prod name price qty no of items to buy
prod 1 100 10 2(list item select)
prod 2 200 3 5 (list item select)
prod 3 120 7 1 (list item select)

i am wondering in which part of the scripts i can add/modify the code to display the table.i am very new to zen cart.please help me !!! my boss is very angry with me.

26 Jan 2009, 12:00 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Need immediate help for displaying product fields in tabular form(cell form)

This will require some skill with PHP; if you don't have that, you need to get someone who does (maybe in the Commercial Help Wanted forum). Your boss shouldn't expect you to accomplish this task by yourself if you are not a programmer.