Format order_basket.tpl and orders_delivery.tpl

alanm

No avatar

2006-02-19 06:07

Hi, I've been trying to format/style the text alignment on pages order_basket.tpl and orders_delivery.tpl. What I would like to do is to make the left most column ("NAME" and the rows in the same column below it) to align left and have the rest align right. I am trying to do style="text-align:left;" to that <td> within order_basket.tpl, but for whatever reason it isn't working. I can only left align the HEADER text, where it says "NAME" but am unable to left align the description of the item in the baset.

The HTML from that tpl file for that section is as follows:

<!-- BEGIN LIST_LIST -->
<tr>
<td style="text-align:left;">
<a href="?p=productsMore&amp;iProduct=$aList[iProduct]">$a List[sProduct]</a>
</td>
<td>
$aList[fPrice]
</td>
<td>
<fieldset><input type="text" name="aElements[$aList[iElement]]" value="$aList[iQuantity]" maxlength="3" size="2" /></fieldset>
</td>
<td>
$aList[fSummary]
</td>
<td>
<a href="?p=$p&amp;sOption=del&amp;iElement=$aList[iElement]&q uot;>$lang[Delete]</a>
</td>
</tr>
<!-- END LIST_LIST -->

Any help with this would be greatly appreciated. Thanks so much.

BTW, this cart seems really awesome. Thank you everyone for all your hard work and great contributions.

-Alan

wizzud

No avatar

2006-02-21 09:15

text-align:left works fine for me.
(If you're running productAttributes you need to look in productAttributes.tpl for the BASKET_LIST_LIST block and change that)

Back to top
about us | contact