john.sheppard Posted October 13, 2009 Share Posted October 13, 2009 Hi there, I was wondering if anyone knew if it was possible to change the order of the ordering/checkout process? For example, instead of using the regular templates I am modifying it to be wizard based as my market is for noobie customers who don't know much about computers. At current, I am modifying the default template and it's order is; Step 1. Choose a Package Step 2. Domain Options Step 3. Additional/Configurable Options Step 4. Domain Registrant Details (cart.php?a=confdomains) Step 5. View Trolley Step 6. (after clicking checkout) Contact Details Step 7. Payment Details Step 8. Order Confirmation. Instead I want my order wizard template to go like so Step 1. Choose a web design package Step 2. Domain Options Step 2.1 Domain Registrant Details Step 3. Choose a Hosting Package Step 4. Additional/Configurable Options Step 5 Contact Details Step 6 Payment Details Step 7 Order Confirmation It seams to me as though the cart.php is the place where the redirects happen as the default template form either submits to that with a querystring or postback to the same address it arrives at? I would be very grateful if anyone could give me any tips Thank you for reading my post (even if you dont know the answer) John 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Product Manager WHMCS John Posted October 13, 2009 WHMCS Product Manager Share Posted October 13, 2009 You can change the layout, but not the order of the pages. 0 Quote Link to comment Share on other sites More sharing options...
john.sheppard Posted October 13, 2009 Author Share Posted October 13, 2009 You can change the layout, but not the order of the pages. DANG IT! This just isn't gonna work then!!! *sinks into fetal position and rocks back and forth*....why won't anything do what i want them to do! I don't suppose there's any chance of that changing in the future? 0 Quote Link to comment Share on other sites More sharing options...
john.sheppard Posted October 14, 2009 Author Share Posted October 14, 2009 What I also find strange is that it's asking me for my registrant details twice? Is that normal? For example; whmcs.mydomain.com/cart.php?a=confdomains is the first time it asks Then it asks again at whmcs.mydomain.com/cart.php?a=checkout Is there something I am doing wrong here? What do other web developers do? rely on their users to know what they're doing? lol... Thank you for any advice John 0 Quote Link to comment Share on other sites More sharing options...
john.sheppard Posted October 14, 2009 Author Share Posted October 14, 2009 Another helpful member of the forum helped me with this code for emptying the cart the other day. {php} if (isset($_SESSION["cart"])) { unset($_SESSION["cart"]); } {/php} I know I can't edit the cart.php, but is there a way I can modify the DB manually with PHP or something to trick it to do what I want? I know that seems like retarded workaround, and maybe it is......but I really need to make my order process simple for the end user or I really just cant buy this software.... Thank you John 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Product Manager WHMCS John Posted October 14, 2009 WHMCS Product Manager Share Posted October 14, 2009 You could always code your own order form and then use the API to submit the data to WHMCS, but that seems like a lot of work. The orderform doesn't ask for your registration details on confdomains, it asks for the nameservers and any additional fields required by the particular TLD. Registrant details are always on the checkout page. 0 Quote Link to comment Share on other sites More sharing options...
john.sheppard Posted October 14, 2009 Author Share Posted October 14, 2009 ahh ic...thanks John... I didn't think to look at the API. To be honest I think thats easier than mucking around with the templates trying to hack it into something it's not designed to do. Brilliant, this might work after all! I will see how I go with that. Thank you 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.