PDA

View Full Version : problem editing template


poster
07-Aug-2003, 10:53 AM
I am new to editing templates.

I want to edit this template for product layout:

No image, laid out in rows

so that the text goes across both columns (at the moment it's all over the left hand side).

But I can't work out how to edit it so that the products after it - based on Product Layout "One product per row, image on left" are unchanged. At the moment whatever changes I make, this text is shunted into the right hand column.

I'd be very grateful for any help. Thanks!

Olivia

Owen Drumm
07-Aug-2003, 11:03 AM
Take a look at http://www.supplement-warehouse.co.uk/acatalog/Weight_Sets_Body_Solid.html and scroll down until you get to Machined Olympic Weights 4 x 2.5kg. Is this what you want?

poster
07-Aug-2003, 02:41 PM
Thanks for your reply.

Sorry I wasn't very clear in my question. I should have said, for an item that isn't available to buy on the website (so text is for information only - no buy button etc).

The "No image, laid out in rows template" leaves a blank space on the right hand side which is where the Buy button etc would normally go (as per your example).

But if I edit that bit out, then the product rows following all shift over to the right.

cdicken
08-Aug-2003, 09:19 AM
The product table (as defined in Act_ProductBody.html) uses three columns, so when editing you need to edit a product layout template, you must ensure the content works with these three columns.

Within 'Act_ProductLineTable.html' (no Image, laid out in rows), change the first <td> table cell definition from

<td valign="TOP" align="LEFT" colspan="2">

to

<td valign="TOP" align="LEFT" colspan="3">

Then comment out the cell containing the 'Add to Cart' button with HTML comments. i.e. <!-- and -->

poster
08-Aug-2003, 09:46 AM
thanks very much! works a treat.