Forums / Setting Up Categories, Products, Attributes / Product info into a table

Product info into a table

Views: 947

Results 1 to 8 of 8
9 Apr 2010, 3:35 PM
#1
templario avatar

templario

New Zenner

Join Date:
Dec 2008
Location:
Spain
Posts:
7
Plugin Contributions:
0

Product info into a table

Firrst of all, sorry if someone ask about this before, but I did not find it.

Please find bellow what I want to have in my product info display

Please give me some light in it

Thanks in advance

11 Apr 2010, 8:51 AM
#2
templario avatar

templario

New Zenner

Join Date:
Dec 2008
Location:
Spain
Posts:
7
Plugin Contributions:
0

Re: Product info into a table

please,

Any idea in how to get this product info?:frusty:

11 Apr 2010, 12:46 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Product info into a table

You're asking for someone to completly re-design your product info page. That's beyond the scope of this forum.

You'll have to experiment with editing the tpl_product_info_display.php file and stylesheet.css file to get the look you want.

Search the Free Software Add Ons for 'product info' for some mods that might give you some ideas about what to move where.

12 Apr 2010, 10:47 AM
#4
templario avatar

templario

New Zenner

Join Date:
Dec 2008
Location:
Spain
Posts:
7
Plugin Contributions:
0

Re: Product info into a table

Stevesh,

Many thanks for the answer, I was worried.

I know that I have to tried, and for this I would try to insert each fied of the product info into a table. The problem is that I do not know how to insert this table (in PHP).

If you please know how to insert a table of 5 rows and one column, please let me know.

regs

12 Apr 2010, 12:15 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product info into a table

You will have to use standard HTML techniques when you add the product description information.

Additionally, using <div> style id's and classes in your HTML, you will be able to add style declarations to your content, which will influence the layout and design of your description content.

EG:

<table class="productContentTable" border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td class="productContentLayerOne">This is one layer of content</td></tr>
  <tr>
    <td class="productContentLayerTwo"></td></tr>
  <tr>
    <td class="productContentLayerThree">This is a second layer of content</td></tr>
  <tr>
    <td class="productContentLayerFour"></td></tr>
  <tr>
    <td class="productContentLayerFive">This is a third layer of content</td></tr>
  <tr>
    <td class="productContentLayerSix"></td></tr></table>

... and the styles...

.productContentTable {background-color: #9e9e9e;}
.productContentLayerOne {color:#cc0000; padding: 10px;}
.productContentLayerTwo {border-bottom: 1px solid #4d4d4d;}
.productContentLayerThree {color:#cc0000; padding: 10px;}
.productContentLayerFour {border-bottom: 1px solid #4d4d4d;}
.productContentLayerFive {color:#cc0000; padding: 10px;}
.productContentLayerSix {border-bottom: 1px solid #4d4d4d;}

20 years a Zencart User

12 Apr 2010, 12:53 PM
#6
templario avatar

templario

New Zenner

Join Date:
Dec 2008
Location:
Spain
Posts:
7
Plugin Contributions:
0

Re: Product info into a table

Schoolboy,

Many many thanks for your support. I tried to understand what you wrote, but the problem is that my knoledge is not very big.

My intention was define as the content of every row the descriptions of the product (<!--bof Product Name-->

<h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1> <!--eof Product Name-->)

But I am afraid that you are giving me another solution.

Please be patient with me and let me know how to use the information you gave me

Thanks again:D

12 Apr 2010, 1:06 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Product info into a table

You will have to go elsewhere for training. It is not possible to teach people the basics of websites in this forum.

Please look for tutorials on HTML and CSS.

https://www.w3schools.com is a good place to start.

20 years a Zencart User

12 Apr 2010, 1:37 PM
#8
templario avatar

templario

New Zenner

Join Date:
Dec 2008
Location:
Spain
Posts:
7
Plugin Contributions:
0

Re: Product info into a table

You are right. I am sorry, but the problem is that when you do not have enough knoledge, you do not know what is basic.

I use your help, and I achieved to put all the product descriptions in each row. Thanks for that.

I will show apicture when I get it