Jump to content

Dhush

Member
  • Posts

    36
  • Joined

  • Last visited

About Dhush

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Dhush's Achievements

Member

Member (2/3)

1

Reputation

  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.
×
×
  • 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