Jump to content

Dhush

Member
  • Posts

    36
  • Joined

  • Last visited

Everything posted by Dhush

  1. Thank you, i already did it in other way, now its working great. forgot to update thread. Sorry
  2. Hi, I want to change my billing cycle option on cart (configoption) page from dropdown to radio. I know this is available on Modern template, bu i need this also in Standard cart. I have edited the template but "Order summary" is not updating. @Brain can you help me with this? Thank you. {if $pricing.type eq "recurring"} <h3>{$LANG.cartchoosecycle}</h3> <div class="billingcycle"> <table width="100%" cellspacing="0" cellpadding="0" class="configtable"> {if $pricing.monthly} <tr> <td class="radiofield"> <input type="radio" name="billingcycle" id="cycle1" value="monthly"{if $billingcycle eq "monthly"} checked{/if} onclick="{if $configurableoptions}updateConfigurableOptions({$i}, this.value){else}recalctotals(){/if}" /> </td> <td class="fieldarea"> <label for="cycle1" class="radio-inline">{$pricing.monthly}</label> </td> </tr> {/if} {if $pricing.quarterly} <tr> <td class="radiofield"> <input type="radio" name="billingcycle" id="cycle2" value="quarterly"{if $billingcycle eq "quarterly"} checked{/if} onclick="{if $configurableoptions}updateConfigurableOptions({$i}, this.value){else}recalctotals(){/if}" /> </td> <td class="fieldarea"> <label for="cycle2" class="radio-inline">{$pricing.quarterly}</label> </td> </tr> {/if} {if $pricing.semiannually} <tr> <td class="radiofield"> <input type="radio" name="billingcycle" id="cycle3" value="semiannually"{if $billingcycle eq "semiannually"} checked{/if} onclick="{if $configurableoptions}updateConfigurableOptions({$i}, this.value){else}recalctotals(){/if}" /> </td> <td class="fieldarea"> <label for="cycle3" class="radio-inline">{$pricing.semiannually}</label> </td> </tr> {/if} {if $pricing.annually} <tr> <td class="radiofield"> <input type="radio" name="billingcycle" id="cycle4" value="annually"{if $billingcycle eq "annually"} checked{/if} onclick="{if $configurableoptions}updateConfigurableOptions({$i}, this.value){else}recalctotals(){/if}" /> </td> <td class="fieldarea"> <label for="cycle4" class="radio-inline">{$pricing.annually}</label> </td> </tr> {/if} {if $pricing.biennially} <tr> <td class="radiofield"> <input type="radio" name="billingcycle" id="cycle5" value="biennially"{if $billingcycle eq "biennially"} checked{/if} onclick="{if $configurableoptions}updateConfigurableOptions({$i}, this.value){else}recalctotals(){/if}" /> </td> <td class="fieldarea"> <label for="cycle5" class="radio-inline">{$pricing.biennially}</label> </td> </tr> {/if} {if $pricing.triennially} <tr> <td class="radiofield"> <input type="radio" name="billingcycle" id="cycle6" value="triennially"{if $billingcycle eq "triennially"} checked{/if} onclick="{if $configurableoptions}updateConfigurableOptions({$i}, this.value){else}recalctotals(){/if}" /> </td> <td class="fieldarea"> <label for="cycle6" class="radio-inline">{$pricing.triennially}</label> </td> </tr> {/if} </table> </div> {/if}
  3. Hi Brain, Thanks for checking, the error is with standard cart files, I did messed up with some file, how ever I reinstalled the cart files and workings fine.
  4. Thank you Brain, already got it forgot to update. can you look in this thread https://forums.whmcs.com/showthread.php?128295-Need-Improvement-in-Standard-Cart-Order-Template/page3 ?
  5. @Brain, Sorry for bumping the thread. I am trying to edit configproduct file to remove RootPW, NS1, NS2 from order order page, every thing goes fine, the fields are hidden and null values are passed to the fields but when we click on continue it redirect to cart.php page with some thing like "example.com/cart.php?configure=true&i=2&billingcycle=monthly&hostname=kluiouio&rootpw=NA&ns1prefix=ns1&ns2prefix=ns2". I cant understand whats happening, kindly help me out. Below is my code. <div class="field-container"> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <label for="inputHostname">{$LANG.serverhostname}</label> <input type="text" name="hostname" class="form-control" id="inputHostname" value="{$server.hostname}" placeholder="servername.yourdomain.com"> </div> </div> <div class="col-sm-6"> <div class="form-group"> <!--label for="inputRootpw">{$LANG.serverrootpw}</label--> <input type="hidden" name="rootpw" class="form-control" id="inputRootpw" value="NA"> </div> </div> </div> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <!--label for="inputNs1prefix">{$LANG.serverns1prefix}</label--> <input type="hidden" name="ns1prefix" class="form-control" id="inputNs1prefix" value="ns1"> </div> </div> <div class="col-sm-6"> <div class="form-group"> <!--label for="inputNs2prefix">{$LANG.serverns2prefix}</label--> <input type="hidden" name="ns2prefix" class="form-control" id="inputNs2prefix" value="ns2"> </div> </div> </div> </div>
  6. Hi, Can some one recode these files to work on WHMCS 7/PHP 7 please? This one is very useful and interesting plugin. Source: https://github.com/PrimeXeonLtd/SolusVMControl vps.zip Thank you.
  7. Thank you @brain, i have made it through API, but i am unable to place order for multiple clients at a time. is there a way to achieve it. How about using text file with client Id's and link with my api file? But i have no idea how to do this
  8. Hi, Is there a way to add more than one client (multiple clients) to "Add New Order" in WHMCS admin area? @brain suggest me a way/hook. Thank you.
  9. Thank you, I already did that. Can any one give an idea about how to integrate ordering system in to clients dashboard? like above i mentioned!
  10. Hi, How can i disable cart.php page? I want to completely disable it and make a redirect to login/registration page, even if someone visited directly it must be redirected. Looking for help from brain, sentq. Instead i want people to place orders directly from client area, similar to Digitalocean, vultr. More over it should be like virtkick. Thank you.
  11. can i restrict access to whole License information page? If so how can i do this?
  12. Hi, Is there a way to limit client registration? Let say i want to stop registering clients after my active client base is reached 100. Thank you.
  13. Hi We plan to start managed hosting and service, and we need your valuable suggestions and feedback. And we need to know how well people like this? We have planned for managed service based on WHMCS and Magento for now. Kindly let us know your feedback's. Thank you
  14. Hi, Is it possible to hide/remove Directory of installation (valid directory) from admin license information page. I am managing couple of WHMCS sites for my clients, for some reason i don't want to show my clients the complete directory of installation. Can some one comment on it? Thank you.
  15. Hi, I would like to have seo friendly URL's for my WHMCS like https://example.com/cart/gid/2 instead of https://example.com/cart.php?gid=2. This feature is available by builtin on Boxbilling and many others, why dont WHMCS? How can i acheive this one? Thank you, Dhush
  16. @sentq, how can i redirect admin to specific page after login? @chris, here is my settings on demo account, but still side bar is showing upon admin login. Thanks for help.
  17. Hi, Is there a way to stop accessing admin index page from my staffs. I don't want them to know the status of my system, so can set alternate page or some thing else. I know i can do this in role settings, but there is noway to hide side bar. I want everything to hide on my index. Thanks.
  18. add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { $client = Menu::context('client'); // only add menu item when no client logged in if (!is_null($client)) { $primaryNavbar->addChild('Download') ->setUri('clientarea.php?action=productdetails&id=" . $product["pid"] . "#tabDownloads') ->setOrder(100); } }); - - - Updated - - - I have removed sidebar for some reasons, and i am trying to place download section link on top nav bar. - - - Updated - - - Help me to place product id on the above url link, or suggest me alternate way.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated