The answer to this is probably really obvious, I am fairly new to using templates, I did my first one a few weeks ago. I am currently working on one which displays product details and i have used some of smarty tags.

The problem I am having is that after using the tags near the sizes section none of the text after that will display, it still displays the drop down boxes but not the normal text.

{load_product assign="product"} 
<br/><br/>
<span class="ListDescription">{$product->mProduct.name}</span><br><br>
<table>      
<tr>
<td width="250"> <img src='product_images/{$product->mProduct.image_file_1}' height="150" border="0"></a> </td>
<td>
<img src='product_images/{$product->mProduct.image_file_2}' height="150" border="0"></a> </td>
</tr>
</table>
<br/>
<span class="ProductDescription">{$product->mProduct.description}<br/><br/> Fabric: </span> <span class ="ProductFabric">{$product->mProduct.fabric}<br/><br/> Weight: </span> <span class ="ProductWeight">{$product->mProduct.weight}<br/><br/> Price: </span>
<span class="ProductPrice">£{$product->mProduct.price}<br/><br/> Sizes: </span> <span class="ProductSize"> {assign var=sizs value=","|explode:$product->mProduct.sizes} <select> {foreach from=$sizs item=sizval} <option>{$sizval}</option> {/foreach} <\select> <br/><br/> Colours: </span> <span class="ProductColour"> {assign var=cols value=","|explode:$product->mProduct.colours} <select> {foreach from=$cols item=colval} <option>{$colval}</option> {/foreach} <\select> <br/><br/> <\span> <br/><br/> <a class="Link" href="{$product->mPageLink}">Continue Shopping</a>

Any help would be much appreciated

    Write a Reply...