Jump to content

Is it possible to change the order of the ordering/checkout process?


john.sheppard

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • WHMCS Support Manager

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated