با سلام
من قالب فریر برای خودم طراحی کردم و الان در index.tpl مکل دارم
دسته را نشان می دهد ولی خود محصول هر دسته نمایش نمیدهد
میدونید مشکل کجاست


کد:
{* smarty *}
{include file='header.tpl' title=$config.config_site_title description=$config.config_site_description index=1}
<form method="post" id="meu_formulario">
<div id="InnerContent">
    <div id="cphMain_updMain">
    
        <div id="cphMain_pnlMain">
         
            <p align="justify">
                لطفا اطلاعات خواسته شده در جدول زیر را با دقت تکمیل نمایید و منتظر باشید 
                <span lang="fa">تا</span> پروانه بهره برداری شامل 
                <span class="Term">"Username"</span> و  <span class="Term">"Password"</span>  
                <span lang="fa">&nbsp;برای شما نمایش داده شود و </span>به آدرس ایمیل<span lang="fa"> 
                و شماره همراه</span> خود که در زیر درج خواهید نمود ارسال گردد. لازم به ذکر است درج نادرست (غیر واقع یا ناقص) عناوین خواسته شده در جدول زیر هرگونه مسئولیت و پاسخگویی را در آینده از این شرکت سلب می نماید. <br />
                <span class="Bullet">•</span>
                از درج نام و نام خانوادگی با خط <span class="Alert">فارسی</span> اکیدا خودداری نمایید.<br />
                <span class="Bullet">•</span> 
                تکمیل مواردی که با علامت <span class="Alert">*</span> مشخص گردیده اند الزامی میباشد.
            </p>
            <hr />
            <div style="margin: 10px auto 10px auto; padding: 5px 10px 10px 10px; border: 1px solid #D5DAE4; background-color: #EEF1F4; width: 920px;">
                <h2><font face="Tahoma" style="font-size: 9pt">مشخصات خریدار</font></h2>
                <table style="width: 100%; height: 83px">
                    <tr>
                        <td style="width: 160px" height="29">
                            <font face="Tahoma" style="font-size: 9pt">نام:
                            <span class="Alert">*</span></font></td>
                        <td style="width: 270px; text-align: right;" dir="ltr" height="29">
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <input name="Name" type="text" id="Name" class="FormTextBox" style="width:260px;" />
                            
                            </span></font>
                            
                        </td>
                        <td height="29">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 160px" height="23">
                            <font face="Tahoma" style="font-size: 9pt">نام خانوادگی:&nbsp;<span class="Alert">*</span></font></td>
                        <td style="width: 270px; text-align: right;" dir="ltr" height="23">
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <input name="LastName" type="text" id="LastName" class="FormTextBox" style="width:260px;" />
                            
                            </span></font>
                            
                        </td>
                        <td height="23">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 160px" height="23">
                            <font face="Tahoma" style="font-size: 9pt">آدرس پست الکترونیکی: <span class="Alert">*</span></font></td>
                        <td style="width: 270px; text-align: right;" dir="ltr">
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <input name="email" type="text" id="email" class="FormTextBox" style="width:260px;" />
                            </span></font>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    </table>
                <table style="width: 100%; height: 58px">
                    <tr>
                        <td style="width: 160px" height="25">
                            <font face="Tahoma" style="font-size: 9pt">تلفن تماس (همراه کد): </font></td>
                        <td dir="ltr" style="width: 270px; text-align: right;">
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <input name="Tel" type="text" id="Tel" class="FormTextBox" style="width:260px;" />
                            
                            </span></font>
                            
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 160px" height="23">
                            <font face="Tahoma" style="font-size: 9pt">تلفن همراه:
                            <span class="Alert">*</span></font></td>
                        <td dir="ltr" style="width: 270px; text-align: right;">
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <input name="mobile" type="text" id="mobile" class="FormTextBox" style="width:260px"/>
                            
                            </span></font>
                            
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </div>
            <div style="margin: 10px auto 10px auto; padding: 5px 10px 10px 10px; border: 1px solid #D5DAE4; background-color: #EEF1F4; width: 920px;">
                <h2><font face="Tahoma" style="font-size: 9pt">مشخصات محل خرید</font></h2>
                <table style="width: 100%; height: 58px">
                    <tr>
                        <td style="width: 160px" height="25">
                            <font face="Tahoma" style="font-size: 9pt">استان:
                            <span class="Alert">*</span></font></td>
                        <td style="width: 270px; " >
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <select name="StateBuy" id="StateBuy" class="FormComboBox" style="height:20px;width:260px;">
            <option value="0">استان را انتخاب کنید...</option>
            <option value="آدربایجان شرقی">آدربایجان شرقی</option>
            <option value="آذربایجان غربی">آذربایجان غربی</option>
            <option value="اردبیل">اردبیل</option>
            <option value="اصفهان">اصفهان</option>
            <option value="البرز">البرز</option>
            <option value="ایلام">ایلام</option>
            <option value="بوشهر">بوشهر</option>
            <option value="تهران">تهران</option>
            <option value="چهار محال و بختیاری">چهار محال و بختیاری</option>
            <option value="خراسان رضوی">خراسان رضوی</option>
            <option value="خراسان جنوبی">خراسان جنوبی</option>
            <option value="خراسان شمالی">خراسان شمالی</option>
            <option value="خوزستان">خوزستان</option>
            <option value="زنجان">زنجان</option>
            <option value="سمنان">سمنان</option>
            <option value="سیستان و بلوچستان">سیستان و بلوچستان</option>
            <option value="فارس">فارس</option>
            <option value="قزوین">قزوین</option>
            <option value="قم">قم</option>
            <option value="کردستان">کردستان</option>
            <option value="کرمان">کرمان</option>
            <option value="کرمانشاه">کرمانشاه</option>
            <option value="کهکیلویه و بویر احمد">کهکیلویه و بویر احمد</option>
            <option value="گلستان">گلستان</option>
            <option value="گیلان">گیلان</option>
            <option value="لرستان">لرستان</option>
            <option value="مازندران">مازندران</option>
            <option value="مرکزی">مرکزی</option>
            <option value="هرمزگان">هرمزگان</option>
            <option value="همدان">همدان</option>
            <option value="یزد">یزد</option>

        </select>
                        </span></font>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="width: 160px" height="23">
                            <font face="Tahoma" style="font-size: 9pt">نام فروشگاه / شرکت:&nbsp;<span class="Alert">*</span></font></td>
                        <td style="width: 270px;">
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <input name="Store" type="text" id="Store" class="FormTextBox" style="width:260px;" />
                            </span></font>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    </table>
            </div>
            <div style="margin: 10px auto 10px auto; padding: 5px 10px 10px 10px; border: 1px solid #D5DAE4; background-color: #EEF1F4; width: 920px;">
                <h2><font face="Tahoma" style="font-size: 9pt">مشخصات نرم افزار</font></h2>
                <table style="width: 100%; height: 60px">
                    <tr>
                        <td style="width: 160px" height="25">
                            <font face="Tahoma" style="font-size: 9pt">شماره سریال: <span class="Alert">*</span></font></td>
                        <td style="width: 270px; text-align: right;" dir="ltr" >
                            <font face="Tahoma"><span style="font-size: 9pt">
                            <input name="serial" type="text" id="serial" class="FormTextBox" style="width:391; font-family:Tahoma; font-size:20pt; height:46" />
                            </span></font>
                        </td>
                        <td>
                            ( XXXX-XXXX-XXXX-XXXX )</td>
                    </tr>
                    <tr>
                        <td style="width: 160px" height="25">
                            <font face="Tahoma" style="font-size: 9pt">نام محصول:
                            <span class="Alert">*</span></font></td>
                        <td style="width: 270px; " >
                         <select name="category" id="category" style="width:100%">
        <option value="0">انتخاب کنید</option>
            {foreach $categories as $category}
                <option value="{$category.category_id}" {if $category.category_image}title="{$category.category_image}?w=30&h=30"{/if}>{$category.category_title}</option>
            {/foreach}
    </select>
    <div id="waiting" class="box">{$config.config_operator_description|htmlspecialchars_decode}</div>
    {foreach $categories as $category}
    <div class="clearfloat"></div>
    <div class="clearfloat"></div>
        <div id="product_{$category.category_id}" class="box">
            <ul>
                {foreach $category.products as $product}
                    <li>
                        <input type="radio" value="{$product.product_id}" name="card" id="card_{$product.product_id}" {if $product.counter == 0}disabled{/if}>
                        <label for="card_{$product.product_id}">{$product.product_title}</label>
                        <span id="price_{$product.product_id}">{$product.product_price}</span>
                    {/foreach}</li>
            </ul>
            <div class="clearfloat"></div>
        </div>
    {/foreach}
   
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr style="display:none">
                        <td style="width: 160px" height="25">
                            <font face="Tahoma" style="font-size: 9pt"> <span class="Alert">*</span></font></td>
                        <td style="width: 270px; text-align: right;" dir="ltr">  
                        <div>
<div style="display:none" class="box marg">تعداد: <select name="qty" size="1" class="form" id="qty" style="width:50px"><option value="1">۱</option><option value="2">۲</option><option value="3">۳</option><option value="4">۴</option><option value="5">۵</option></select> عدد</div>
<div style="display:none" class="box marg">
    <div class="bill">
    <table width="100%">
        <tr>
            <td width="25%">نوع کارت</td>
            <td><div id="billType">-</div></td>
        </tr>
        <tr>
            <td>قیمت واحد</td>
            <td><div id="billPrice">-</div></td>
        </tr>
        <tr>
            <td>تعداد</td>
            <td><div id="billQty">-</div></td>
        </tr>
        <tr>
            <td>جمع کل</td>
            <td><div id="billTotal">-</div></td>
        </tr>
    </table>
    </div>
</div>
</div>
<div class="left-div">
    <div style="display:none" class="info">
        <div class="cleaner"></div>
    </div>
    
    <div class="info">
    <select style="display:none" name="gateway" id="gateway" class="form" style="width:150px;">
    {foreach $payment_methods as $option}
        <option value="{$option.plugin_uniq}">{$option.plugin_name}</option>
    {/foreach}
    </select><div class="cleaner"></div>
    </div>
</div>                        </span></font>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </div>
            <div>
                <div style="text-align: center;">
                     <a onclick="return false;" href="" class="button" id="submit">ادامه</a>
                </div>

            </div>
        
    </div>
        
        
    
</div>
    </div>


</form>
<div class="cleaner"></div>
{$config.config_description|htmlspecialchars_decode}
<div class="cleaner"></div>
{include file='footer.tpl'}