| View previous topic :: View next topic |
| Author |
Message |
JaniceM
Joined: 08 Nov 1999 Posts: 281
|
Posted: Fri Jul 23, 2010 5:39 pm Post subject: Add size field to multi-column layout |
|
|
I am trying to add the "size" field to the "columns" template and want it to appear on a line by itself between the product name and the price. I grabbed this code from the product detail page:
<?php if(isset($fields['size']) && trim($fields['size']) != "") >
<b>Size:</b> <?=trim($fields['size']);?>
<?php endif;?>
and when I dropped it in to the columns template (right above the "prices" statement) it keeps appearing above the image. I've tried moving it around and no matter where I put the code, visually, it shows up above the image.
Can someone tell me what I'm doing wrong?
Thanks!
Janice |
|
| Back to top |
|
 |
Rick
Joined: 05 Apr 1999 Posts: 6833 Location: Virginia
|
Posted: Sun Jul 25, 2010 12:54 am Post subject: |
|
|
Janice,
You have to put it inside the <td></td> price cell.
Rick |
|
| Back to top |
|
 |
JaniceM
Joined: 08 Nov 1999 Posts: 281
|
Posted: Sun Jul 25, 2010 1:21 am Post subject: |
|
|
| That did it - thanks so much Rick! |
|
| Back to top |
|
 |
|