oempire Posted May 12, 2009 Share Posted May 12, 2009 Hi, is there a way to easily change the default billing cycle. Id rather it select the yearly option by default. any thoughts? 0 Quote Link to comment Share on other sites More sharing options...
beet Posted July 4, 2009 Share Posted July 4, 2009 The problem is that the file configureproduct.tpl is always using "monthly" as the initial value for the param $billingcycle. Explicitly setting the value in this file has some unwelcome side effects. What I did was change the incoming links to this page to append "&billingcycle=annually" to the url. Works fine on stand alone links like this: https://yourdomain/whmcs/cart.php?a=add&pid=1&billingcycle=annually I also changed products.tpl to substitute a link like the one above for the input button. It looks something like this now (around line 47): <td width="15%" align="center" valign="middle"><a href="https://yourdomain/whmcs/cart.php?a=add&pid={$product.pid}&billingcycle=annually">{$LANG.ordernowbutton}</a></td> 0 Quote Link to comment Share on other sites More sharing options...
oempire Posted July 6, 2009 Author Share Posted July 6, 2009 ahh sweet as mate! ill give it a try!! 0 Quote Link to comment Share on other sites More sharing options...
Skeptical Posted December 12, 2009 Share Posted December 12, 2009 What unwelcome side effects did you experience? 0 Quote Link to comment Share on other sites More sharing options...
louisliu Posted December 14, 2009 Share Posted December 14, 2009 Thank you very much!! 0 Quote Link to comment Share on other sites More sharing options...
aiden101 Posted December 26, 2009 Share Posted December 26, 2009 did it work? i want to change this option too, so if there is a fix please let us know 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.