Jump to content

Homepage domain checker not passing domain to configureproductdomain.tpl


JackRabbit

Recommended Posts

I'm having trouble getting the domain to show up in the cart after entering it into the homepage domain checker.

 

http://www.jackrabbit.host

 

Scroll to the domain checker, enter a domain and on the next page (configureproductdomain.tpl) You can see the domain in the URL but not in the domain checker box like it should be. The user must re-enter the domain.

 

How can I get the cart domain input field to populate with the domain after it's entered on the homepage?

Link to comment
Share on other sites

I don't know if you're tweaking the site as I type, but when I went first went there today, the domain checker form on the home page was correctly pointing to domainchecker.php - I added a .com successfully and didn't see the issue you mention.

 

then checking again, it appears the domain search form now points to the link below and adds a hosting product as well...

 

/https://www.jackrabbit.host/whmcs/cart.php?a=add&pid=1

 

that domain search form should either point to domainchecker.php or cart.php?a=add&domain=register

Link to comment
Share on other sites

Thanks Brian,

 

Yes, I was troubleshooting. By default, I'd like the homepage domain checker to add the basic hosting package. That's why I'm using that URL.

 

The original code had:

<form action="https://www.jackrabbit.host/whmcs/domainchecker.php" method="post">

<input name="domain"...>

<select name="ext"...>

 

To solve this problem and to add the basic package to the cart, I made these changes:

<form action="https://www.jackrabbit.host/whmcs/cart.php/?a=add&pid=1" method="post">

<input name="sld"...>

<select name="tld"...>

 

Everything is working now.

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.

×
×
  • 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