persis Posted February 22, 2017 Share Posted February 22, 2017 Hi I want to use WHMCS as computer and network maintenance. I set up a product "Network maintenance" and I set configurable options like this: number of WORKSTATION number of LAPTOPS number of USER number of SERVER when a customer wants to calculate his network maintenance price , must fill configurable options. and the formula in WHMCS is: (WORKSTATION*price)+(LAPTOPS*price)+(USER*price)+(SERVER*price) but I need this formula: ((WORKSTATION + LAPTOPS + USER + SERVER)^0.9)*price and I need a way to show the Customer , total hours that we go on site regularly with this formula: (WORKSTATION + LAPTOPS + USER + SERVER)/2 and an option for customer to increase the on site hours. and I want another option for customer , by click on "unlimited" increase the total with 30%. Thank you. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 22, 2017 Share Posted February 22, 2017 Hi, when a customer wants to calculate his network maintenance price , must fill configurable options. and the formula in WHMCS is:(WORKSTATION*price)+(LAPTOPS*price)+(USER*price)+(SERVER*price) but I need this formula: ((WORKSTATION + LAPTOPS + USER + SERVER)^0.9)*price i'm assuming that's a typo and should be... ((WORKSTATION + LAPTOPS + USER + SERVER)*0.9)*price if so, then deducting 10% off your configurable option prices will be the same as the WHMCS formula... e.g if price is currently $10 for workstations, make it $9 for the other two issues, I think that you'll likely need to employ a developer to write you a custom solution as it's not the sort of thing that can be achieved via the config option settings or a quick template tweak... you can do that by posting in Service Offers & Requests. 0 Quote Link to comment Share on other sites More sharing options...
persis Posted February 22, 2017 Author Share Posted February 22, 2017 The formula is ((WORKSTATION + LAPTOPS + USER + SERVER)^0.9)*price ^ means power. I am trying with "CartTotalAdjustment" and "OrderProductPricingOverride" hooks. they are very good , but I need your help to finished it. I think , I must set all configurable options price to 0 and calculate the order form with the hooks. can you send me an example hook to do this? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 22, 2017 Share Posted February 22, 2017 Hi, The formula is ((WORKSTATION + LAPTOPS + USER + SERVER)^0.9)*price ^ means power. I know that as I have a degree in Maths & Stats - I just assumed it was a typo by you. I am trying with "CartTotalAdjustment" and "OrderProductPricingOverride" hooks.they are very good , but I need your help to finished it. regretfully, I don't have any such example hooks to hand. 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.