amol.karande Posted January 8, 2008 Share Posted January 8, 2008 We have our own custom product fields and we want to use them in checkoutscript.php how we can use it. One more thing Can we have checkoutscript.php per product so that on completing billing of that we can take appropriate action on that. Thank you 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted January 8, 2008 Share Posted January 8, 2008 Hey, Yes you can! With the four variables given in WHMCS you can do a query in the database and find the hostingid which from their you can find the product id name and the choice selected on the order form. You can do an if statement on the product id variable and if it matches perform one action, else do something else. From, Adam 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.