-
June 19th, 2018, 19:51
#1
عضو جدید
مشکل با یکی از گزینه های باکس whmcs
سلام مشکلی عجیب با Default Order Form Template وقتی میزارم روی گزینه
Boxes
قیمت های سرویس ها نمیاد ... مشکل چی میتونه باشه ؟
یعنی زیر هر سرویس که باید نشون بده قیمت سرویس رو نمیاد از کجا حل میشه این اینم عکسش
http://uupload.ir/files/wfw7_untitled.png
-
-
June 19th, 2018 19:51
# ADS
-
June 19th, 2018, 20:06
#2
عضو انجمن
پاسخ : مشکل با یکی از گزینه های باکس whmcs
سلام
فایل 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} <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" /> {$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>
</div>
-
-
June 21st, 2018, 22:13
#3
عضو جدید
پاسخ : مشکل با یکی از گزینه های باکس whmcs

نوشته اصلی توسط
mnajafi33
سلام
فایل 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} <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" /> {$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>
</div>
نه عزیز حل نشد اینو گذاشتم اما همچنان مشکل پا برجا بود ....
البته قیمت ماهانه ها فقط اضافه شد سالانه که به صورت دراپباکس باید بیاد نشد
ویرایش توسط nazarkhani : June 21st, 2018 در ساعت 22:15
-
-
June 21st, 2018, 22:24
#4
عضو جدید
پاسخ : مشکل با یکی از گزینه های باکس whmcs

نوشته اصلی توسط
nazarkhani
نه عزیز حل نشد اینو گذاشتم اما همچنان مشکل پا برجا بود ....
البته قیمت ماهانه ها فقط اضافه شد سالانه که به صورت دراپباکس باید بیاد نشد
سلام از تنظیمات کش قالب رو پا کنید یا محتویات پوشه templates_c در هاست رو حذف کنید تا تغییرات رو بتونید مشاهده کنید
موفق باشید
Whmcs فارسی ، اولین سایت Whmcs فارسی در ایران
www.whmcsco.com
09017700463 - @whmcsfarsi
-
تعداد تشکر ها از snmsoftpc به دلیل پست مفید
-
June 21st, 2018, 22:35
#5
عضو جدید
پاسخ : مشکل با یکی از گزینه های باکس whmcs

نوشته اصلی توسط
snmsoftpc
سلام از تنظیمات کش قالب رو پا کنید یا محتویات پوشه templates_c در هاست رو حذف کنید تا تغییرات رو بتونید مشاهده کنید
موفق باشید
محتویات پوشه templates_c را پاک کردم اما باز هم فقط قیمت ماهانه بود
-
-
June 22nd, 2018, 11:56
#6
عضو انجمن
پاسخ : مشکل با یکی از گزینه های باکس whmcs

نوشته اصلی توسط
nazarkhani
محتویات پوشه 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.startingfrom}<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.quarterly}<br />{/if}
{if $product.pricing.semiannually}{$product.pricing.semiannually}<br />{/if}
{if $product.pricing.annually}{$product.pricing.annually}<br />{/if}
{if $product.pricing.biennially}{$product.pricing.biennially}<br />{/if}
{if $product.pricing.triennially}{$product.pricing.triennially}<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} <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" /> {$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>
</div>
ویرایش توسط mnajafi33 : June 22nd, 2018 در ساعت 11:57
-
تعداد تشکر ها از mnajafi33 به دلیل پست مفید
-
June 22nd, 2018, 14:30
#7
عضو جدید
پاسخ : مشکل با یکی از گزینه های باکس whmcs

نوشته اصلی توسط
mnajafi33
سلام این کدها رو جایگزین کنید
تمام قیمت ها رو نمایش میده ماهانه سه ماهه شش ماهه سالانه و ...
کد:
<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.startingfrom}<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.quarterly}<br />{/if}
{if $product.pricing.semiannually}{$product.pricing.semiannually}<br />{/if}
{if $product.pricing.annually}{$product.pricing.annually}<br />{/if}
{if $product.pricing.biennially}{$product.pricing.biennially}<br />{/if}
{if $product.pricing.triennially}{$product.pricing.triennially}<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} <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" /> {$LANG.ordersecure} (<strong>{$ipaddress}</strong>) {$LANG.ordersecure2}
</div>
</div>
بله این کد قیمت هارو نشون داد اما به صورت دراپ باکس نیست
http://safehosting.ir/portal/cart.php?gid=8
چک کنید
-
-
June 22nd, 2018, 14:36
#8
عضو انجمن
پاسخ : مشکل با یکی از گزینه های باکس whmcs

نوشته اصلی توسط
nazarkhani
اینجا دراپ باکس نمیاره
در ادامه مراحل خرید کاربر میتونه سیکل پرداخت رو انتخاب کنه اینجا فقط قیمت نمایش داده میشه
Sent from my HTC One using Tapatalk
-