guestsrl Posted October 4, 2008 Share Posted October 4, 2008 Hi, we offer an hosting package with a free domain. Is possibile to offer a free domain only for the first time instead always free? Actually free domains associated with an hosting package are not recalculated after the first year and are always free. 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted October 4, 2008 Share Posted October 4, 2008 One way to achieve this is by using a promotional coupon and just select the 'Apply once per order' option. You can also specify how many of these you wish to give away which is another useful benefit of doing it this way. There may well be another way but that is the way that I would do it. 0 Quote Link to comment Share on other sites More sharing options...
guestsrl Posted October 6, 2008 Author Share Posted October 6, 2008 One way to achieve this is by using a promotional coupon and just select the 'Apply once per order' option. You can also specify how many of these you wish to give away which is another useful benefit of doing it this way. There may well be another way but that is the way that I would do it. But doing so I need to tell to all customers the promotional code. Or the coupon can be applyied automatically? And is possibile to enable a coupon only if payment is yearly ? 0 Quote Link to comment Share on other sites More sharing options...
guestsrl Posted October 6, 2008 Author Share Posted October 6, 2008 One way to achieve this is by using a promotional coupon and just select the 'Apply once per order' option. You can also specify how many of these you wish to give away which is another useful benefit of doing it this way. There may well be another way but that is the way that I would do it. More over, by using promotional code, how can I set a free domain? I can only set the discount (percentage or fixed amount) but not make a product gift like a domain registration.... I need to discount the domain prices and is not what I want. Or better, is not want i like to do. 0 Quote Link to comment Share on other sites More sharing options...
9DollarDomains Posted October 6, 2008 Share Posted October 6, 2008 I've been puzzling on the same thing. If a client buys certain yearly plans, we want to give them a new domain on their initial transaction, but want to charge them for domain renewals in subsequent years. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted October 6, 2008 Share Posted October 6, 2008 I've been puzzling on the same thing. If a client buys certain yearly plans, we want to give them a new domain on their initial transaction, but want to charge them for domain renewals in subsequent years. lots of ways use a promo code for the free domain ... simply put a price in after accepting the order ... simply little cron update tbldomains set price= where price="0.00" and ... 0 Quote Link to comment Share on other sites More sharing options...
guestsrl Posted October 7, 2008 Author Share Posted October 7, 2008 lots of ways use a promo code for the free domain ... simply put a price in after accepting the order ... simply little cron update tbldomains set price= where price="0.00" and ... I like automation I've seen that in the customer's domain configuration there is a field Recurring price (i don't remember the exact name), what if i set this to the renewal price? In the next invoice it will be charged for that price? If yes, I think that is possibile to offer free domains and then update recurring price after the registration via cron job... 0 Quote Link to comment Share on other sites More sharing options...
simplybe Posted October 7, 2008 Share Posted October 7, 2008 (edited) I use php <?PHP $dbh=mysql_connect ("localhost", "simply_whmcs", "xxxxxxxx") or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ("simply_whmcs"); $query = "UPDATE `simply_whmcs`.`tbldomains` SET `recurringamount` = '8.75' WHERE `tbldomains`.`recurringamount` =0.00;"; mysql_query($query) or die ("query error"); $query = "UPDATE `simply_whmcs`.`tbldomains` SET `firstpaymentamount` = '9.98',`recurringamount` = '9.98' WHERE `tbldomains`.`registrationperiod` =2 ;"; mysql_query($query) or die ("query error"); ?> The first query sets all domains with a value of 0.00 to 8.75 the second sets all domains with a 2 years reg such as .co.uk to 9.98 Edited October 7, 2008 by simplybe 0 Quote Link to comment Share on other sites More sharing options...
guestsrl Posted October 7, 2008 Author Share Posted October 7, 2008 I don't know WHMCS very well. As default, I have domain with recurring prices set to zero. This means that on the next invoice (next year) domain prices is no evaluated? Is this the default? If yes, I can set all recurring prices with a single query regardless free domain or payment. I have to leave blank just only the first payment amount for domains that are free. Is right? But if a domain is not free, WHMCS will save the price in first payment amount? I haven't tryed it yet.. Sorry for my english. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted October 7, 2008 WHMCS CEO Share Posted October 7, 2008 I'll add a built-in option for this to 3.8 Matt 0 Quote Link to comment Share on other sites More sharing options...
texhead Posted October 7, 2008 Share Posted October 7, 2008 Matt The more I use WHMCS and the more I see on the forums the more I bl**dy love it! 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted October 7, 2008 Share Posted October 7, 2008 I'll add a built-in option for this to 3.8 Great - 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.