I am taking my first real steps at some customization of 4.3 and running into some problems. My first task was to take on the Wholesale pricing summary presented to visitors. I found the code in product_prices.tpl. The area I am looking at is:
Code:
<table cellspacing="1" summary="{$lng.lbl_wholesale_prices}" >
<tr class="head-row">
<th>Quantity<br />(Packages or Items)</th>
<th>Price</th>
</tr>
{foreach from=$product_wholesale item=w name=wi}
<tr>
<td>
xxyyzz
{strip}
{$w.quantity}{if $w.next_quantity eq 0}+{elseif $w.next_quantity ne $w.quantity}-{$w.next_quantity}{/if}
{if $w.quantity eq "1"}
{$lng.lbl_item}
{else}
{$lng.lbl_items}
{/if}
{/strip}
</td>
<td>{include file="currency.tpl" value=$w.taxed_price tag_id="wp`$smarty.foreach.wi.index`"}</td>
</tr>
{/foreach}
</table>
As can be seen, I inserted in the first TD box "xxyyzz" which in theory should display prior to the text in the table element.
When I view this in the browser (both IE8 and Firefox 3.5.5), I see this:
http://www.pcboard.ca/xcartimage.jpg
The "xxyyxx" specified does not seem to show up. Yet, if I view the source code generated by the page in the browser, it appears as below:
Code:
<table cellspacing="1" summary="Wholesale prices" >
<tr class="head-row">
<th>Quantity<br />(Packages or Items)</th>
<th>Price</th>
</tr>
<tr>
<td>
xxyyzz
3-4 Items
</td>
<td><span class="currency">$<span id="wp0">4.00</span></span></td>
</tr>
<tr>
<td>
xxyyzz
5-9 Items
</td>
<td><span class="currency">$<span id="wp1">3.50</span></span></td>
</tr>
<tr>
<td>
xxyyzz
10+ Items
</td>
<td><span class="currency">$<span id="wp2">3.00</span></span></td>
</tr>
</table>
Clearly, it is there in the source file, but will not display in any of my browsers.
Need some guidance here - as this one really has me confused
Thoughts????
John