PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل با یکی از گزینه های باکس whmcs



nazarkhani
June 19th, 2018, 19:51
سلام مشکلی عجیب با Default Order Form Template وقتی میزارم روی گزینه
Boxes



قیمت های سرویس ها نمیاد ... مشکل چی میتونه باشه ؟
یعنی زیر هر سرویس که باید نشون بده قیمت سرویس رو نمیاد از کجا حل میشه این اینم عکسش

http://uupload.ir/files/wfw7_untitled.png

mnajafi33
June 19th, 2018, 20:06
سلام
فایل products.tpl رو از پوشه تمپلت Boxes ویرایش کن و کد های زیر رو جایگرین کدهای قبلی کن از کد های قبلی بکاپ بگیر قبلش


<link rel="stylesheet" type="text/css" href="templates/orderforms/{$carttpl}/style.css" />


<div id="order-boxes">


<div class="pull-md-right col-md-9">


<div class="header-lined">
<h1>{$groupname}</h1>
</div>


</div>


<div class="col-md-3 pull-md-left sidebar hidden-xs hidden-sm">


{include file="orderforms/$carttpl/sidebar-categories.tpl"}


</div>


<div class="col-md-9 pull-md-right">


<div class="line-padded visible-xs visible-sm clearfix">


{include file="orderforms/$carttpl/sidebar-categories-collapsed.tpl"}


</div>


<form method="post" action="{$smarty.server.PHP_SELF}?a=add">


<div class="fields-container">
{foreach from=$products item=product}
<div class="field-row clearfix">
<div class="col-xs-12">
<label class="radio-inline product-radio"><input type="radio" name="pid" id="pid{$product.pid}" value="{if $product.bid}b{$product.bid}{else}{$product.pid}{/if}"{if $product.qty eq "0"} disabled{/if} /> <strong>{$product.name}</strong> {if $product.qty!=""}<em>({$product.qty} {$LANG.orderavailable})</em>{/if}{if $product.description} - {$product.description}{/if}
<div class="product-pricing" id="product{$product@iteration}-price">
{if $product.bid}
{$LANG.bundledeal}
{if $product.displayprice}
<span class="price">{$product.displayprice}</span>
{/if}
{else}
{if $product.pricing.hasconfigoptions}
{$LANG.startingfrom}

{/if}
<span class="price">{$product.pricing.minprice.price}</span>

{if $product.pricing.minprice.cycle eq "monthly"}
{$LANG.orderpaymenttermmonthly}
{elseif $product.pricing.minprice.cycle eq "quarterly"}
{$LANG.orderpaymenttermquarterly}
{elseif $product.pricing.minprice.cycle eq "semiannually"}
{$LANG.orderpaymenttermsemiannually}
{elseif $product.pricing.minprice.cycle eq "annually"}
{$LANG.orderpaymenttermannually}
{elseif $product.pricing.minprice.cycle eq "biennially"}
{$LANG.orderpaymenttermbiennially}
{elseif $product.pricing.minprice.cycle eq "triennially"}
{$LANG.orderpaymenttermtriennially}
{/if}

{if $product.pricing.minprice.setupFee}
<small>{$product.pricing.minprice.setupFee->toPrefixed()} {$LANG.ordersetupfee}</small>
{/if}
{/if}
</div>
</label>

</div>
</div>
{/foreach}
</div>


<div class="line-padded text-center">
<button type="submit" class="btn btn-primary btn-lg">{$LANG.continue} &nbsp;<i class="fa fa-arrow-circle-right"></i></button>
</div>


</form>


</div>


<div class="clearfix"></div>


<div class="secure-warning">
<img src="assets/img/padlock.gif" align="absmiddle" border="0" alt="Secure Transaction" /> &nbsp;{$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>


</div>

nazarkhani
June 21st, 2018, 22:13
سلام
فایل products.tpl رو از پوشه تمپلت Boxes ویرایش کن و کد های زیر رو جایگرین کدهای قبلی کن از کد های قبلی بکاپ بگیر قبلش


<link rel="stylesheet" type="text/css" href="templates/orderforms/{$carttpl}/style.css" />


<div id="order-boxes">


<div class="pull-md-right col-md-9">


<div class="header-lined">
<h1>{$groupname}</h1>
</div>


</div>


<div class="col-md-3 pull-md-left sidebar hidden-xs hidden-sm">


{include file="orderforms/$carttpl/sidebar-categories.tpl"}


</div>


<div class="col-md-9 pull-md-right">


<div class="line-padded visible-xs visible-sm clearfix">


{include file="orderforms/$carttpl/sidebar-categories-collapsed.tpl"}


</div>


<form method="post" action="{$smarty.server.PHP_SELF}?a=add">


<div class="fields-container">
{foreach from=$products item=product}
<div class="field-row clearfix">
<div class="col-xs-12">
<label class="radio-inline product-radio"><input type="radio" name="pid" id="pid{$product.pid}" value="{if $product.bid}b{$product.bid}{else}{$product.pid}{/if}"{if $product.qty eq "0"} disabled{/if} /> <strong>{$product.name}</strong> {if $product.qty!=""}<em>({$product.qty} {$LANG.orderavailable})</em>{/if}{if $product.description} - {$product.description}{/if}
<div class="product-pricing" id="product{$product@iteration}-price">
{if $product.bid}
{$LANG.bundledeal}
{if $product.displayprice}
<span class="price">{$product.displayprice}</span>
{/if}
{else}
{if $product.pricing.hasconfigoptions}
{$LANG.startingfrom}

{/if}
<span class="price">{$product.pricing.minprice.price}</span>

{if $product.pricing.minprice.cycle eq "monthly"}
{$LANG.orderpaymenttermmonthly}
{elseif $product.pricing.minprice.cycle eq "quarterly"}
{$LANG.orderpaymenttermquarterly}
{elseif $product.pricing.minprice.cycle eq "semiannually"}
{$LANG.orderpaymenttermsemiannually}
{elseif $product.pricing.minprice.cycle eq "annually"}
{$LANG.orderpaymenttermannually}
{elseif $product.pricing.minprice.cycle eq "biennially"}
{$LANG.orderpaymenttermbiennially}
{elseif $product.pricing.minprice.cycle eq "triennially"}
{$LANG.orderpaymenttermtriennially}
{/if}

{if $product.pricing.minprice.setupFee}
<small>{$product.pricing.minprice.setupFee->toPrefixed()} {$LANG.ordersetupfee}</small>
{/if}
{/if}
</div>
</label>

</div>
</div>
{/foreach}
</div>


<div class="line-padded text-center">
<button type="submit" class="btn btn-primary btn-lg">{$LANG.continue} &nbsp;<i class="fa fa-arrow-circle-right"></i></button>
</div>


</form>


</div>


<div class="clearfix"></div>


<div class="secure-warning">
<img src="assets/img/padlock.gif" align="absmiddle" border="0" alt="Secure Transaction" /> &nbsp;{$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>


</div>


نه عزیز حل نشد اینو گذاشتم اما همچنان مشکل پا برجا بود ....
البته قیمت ماهانه ها فقط اضافه شد سالانه که به صورت دراپباکس باید بیاد نشد

snmsoftpc
June 21st, 2018, 22:24
نه عزیز حل نشد اینو گذاشتم اما همچنان مشکل پا برجا بود ....
البته قیمت ماهانه ها فقط اضافه شد سالانه که به صورت دراپباکس باید بیاد نشد

سلام از تنظیمات کش قالب رو پا کنید یا محتویات پوشه templates_c در هاست رو حذف کنید تا تغییرات رو بتونید مشاهده کنید
موفق باشید

nazarkhani
June 21st, 2018, 22:35
سلام از تنظیمات کش قالب رو پا کنید یا محتویات پوشه templates_c در هاست رو حذف کنید تا تغییرات رو بتونید مشاهده کنید
موفق باشید

محتویات پوشه templates_c را پاک کردم اما باز هم فقط قیمت ماهانه بود

mnajafi33
June 22nd, 2018, 11:56
محتویات پوشه templates_c را پاک کردم اما باز هم فقط قیمت ماهانه بود
سلام این کدها رو جایگزین کنید
تمام قیمت ها رو نمایش میده ماهانه سه ماهه شش ماهه سالانه و ...

<link rel="stylesheet" type="text/css" href="templates/orderforms/{$carttpl}/style.css" />


<div id="order-boxes">


<div class="pull-md-right col-md-9">


<div class="header-lined">
<h1>{$groupname}</h1>
</div>


</div>


<div class="col-md-3 pull-md-left sidebar hidden-xs hidden-sm">


{include file="orderforms/$carttpl/sidebar-categories.tpl"}


</div>


<div class="col-md-9 pull-md-right">


<div class="line-padded visible-xs visible-sm clearfix">


{include file="orderforms/$carttpl/sidebar-categories-collapsed.tpl"}


</div>


<form method="post" action="{$smarty.server.PHP_SELF}?a=add">


<div class="fields-container">
{foreach from=$products item=product}
<div class="field-row clearfix">
<div class="col-xs-12">
<label class="radio-inline product-radio"><input type="radio" name="pid" id="pid{$product.pid}" value="{if $product.bid}b{$product.bid}{else}{$product.pid}{/if}"{if $product.qty eq "0"} disabled{/if} /> <strong>{$product.name}</strong> {if $product.qty!=""}<em>({$product.qty} {$LANG.orderavailable})</em>{/if}{if $product.description} - {$product.description}{/if}
<div class="cartpricing">
{if $product.bid}
{$LANG.bundledeal}<br />
{if $product.displayprice}{$product.displayprice}{/if}
{elseif $product.paytype eq "free"}
{$LANG.orderfree}
{elseif $product.paytype eq "onetime"}
{if $product.pricing.hasconfigoptions}{$LANG.startingf rom}<br />{/if}{$product.pricing.onetime} {$LANG.orderpaymenttermonetime}
{elseif $product.paytype eq "recurring"}
{if $product.pricing.monthly}{$product.pricing.monthly }<br />{/if}
{if $product.pricing.quarterly}{$product.pricing.quart erly}<br />{/if}
{if $product.pricing.semiannually}{$product.pricing.se miannually}<br />{/if}
{if $product.pricing.annually}{$product.pricing.annual ly}<br />{/if}
{if $product.pricing.biennially}{$product.pricing.bien nially}<br />{/if}
{if $product.pricing.triennially}{$product.pricing.tri ennially}<br />{/if}
{/if}
</div>
</label>

</div>
</div>
{/foreach}
</div>


<div class="line-padded text-center">
<button type="submit" class="btn btn-primary btn-lg">{$LANG.continue} &nbsp;<i class="fa fa-arrow-circle-right"></i></button>
</div>


</form>


</div>


<div class="clearfix"></div>


<div class="secure-warning">
<img src="assets/img/padlock.gif" align="absmiddle" border="0" alt="Secure Transaction" /> &nbsp;{$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>


</div>

nazarkhani
June 22nd, 2018, 14:30
سلام این کدها رو جایگزین کنید
تمام قیمت ها رو نمایش میده ماهانه سه ماهه شش ماهه سالانه و ...

<link rel="stylesheet" type="text/css" href="templates/orderforms/{$carttpl}/style.css" />


<div id="order-boxes">


<div class="pull-md-right col-md-9">


<div class="header-lined">
<h1>{$groupname}</h1>
</div>


</div>


<div class="col-md-3 pull-md-left sidebar hidden-xs hidden-sm">


{include file="orderforms/$carttpl/sidebar-categories.tpl"}


</div>


<div class="col-md-9 pull-md-right">


<div class="line-padded visible-xs visible-sm clearfix">


{include file="orderforms/$carttpl/sidebar-categories-collapsed.tpl"}


</div>


<form method="post" action="{$smarty.server.PHP_SELF}?a=add">


<div class="fields-container">
{foreach from=$products item=product}
<div class="field-row clearfix">
<div class="col-xs-12">
<label class="radio-inline product-radio"><input type="radio" name="pid" id="pid{$product.pid}" value="{if $product.bid}b{$product.bid}{else}{$product.pid}{/if}"{if $product.qty eq "0"} disabled{/if} /> <strong>{$product.name}</strong> {if $product.qty!=""}<em>({$product.qty} {$LANG.orderavailable})</em>{/if}{if $product.description} - {$product.description}{/if}
<div class="cartpricing">
{if $product.bid}
{$LANG.bundledeal}<br />
{if $product.displayprice}{$product.displayprice}{/if}
{elseif $product.paytype eq "free"}
{$LANG.orderfree}
{elseif $product.paytype eq "onetime"}
{if $product.pricing.hasconfigoptions}{$LANG.startingf rom}<br />{/if}{$product.pricing.onetime} {$LANG.orderpaymenttermonetime}
{elseif $product.paytype eq "recurring"}
{if $product.pricing.monthly}{$product.pricing.monthly }<br />{/if}
{if $product.pricing.quarterly}{$product.pricing.quart erly}<br />{/if}
{if $product.pricing.semiannually}{$product.pricing.se miannually}<br />{/if}
{if $product.pricing.annually}{$product.pricing.annual ly}<br />{/if}
{if $product.pricing.biennially}{$product.pricing.bien nially}<br />{/if}
{if $product.pricing.triennially}{$product.pricing.tri ennially}<br />{/if}
{/if}
</div>
</label>

</div>
</div>
{/foreach}
</div>


<div class="line-padded text-center">
<button type="submit" class="btn btn-primary btn-lg">{$LANG.continue} &nbsp;<i class="fa fa-arrow-circle-right"></i></button>
</div>


</form>


</div>


<div class="clearfix"></div>


<div class="secure-warning">
<img src="assets/img/padlock.gif" align="absmiddle" border="0" alt="Secure Transaction" /> &nbsp;{$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>


</div>





بله این کد قیمت هارو نشون داد اما به صورت دراپ باکس نیست
http://safehosting.ir/portal/cart.php?gid=8
چک کنید

mnajafi33
June 22nd, 2018, 14:36
بله این کد قیمت هارو نشون داد اما به صورت دراپ باکس نیست
http://safehosting.ir/portal/cart.php?gid=8
چک کنید

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

Sent from my HTC One using Tapatalk