Jump to content

how to avoid to buy domain without a package/product?


dotcom22

Recommended Posts

Hi

 

I would like my customer be able to only order product/hosting with only 1 domain (free) for his package no more... In fact if using domainchecker.php customer can choose only domain without product...so well I can customize template and delete domainchecker.php link..no problem... But if I do that I can not put on my primary website domainchecker form for attract user to first try to see if his domain is available before ordering a product.... It is to bad because when domainchecker.php process start the link "No Hosting! Click to Add" are displayed and this is well...but if user don't click on this link and just click on "update cart" button the process continue and user can order domain without product....

 

So my question: How can I do for avoid this ? Maybe I can delete "update cart" button for force user to click on link "No Hosting! Click to Add" ??? It is insecure to do this ?

 

any other suggestion ??

 

thanks

Link to comment
Share on other sites

  • 3 years later...

Finally got this working on my site (brighterhost.com)

1. Edit templates/orderforms/[see WHMCS/Setup/General/Ordering]/configuredomains.tpl

2. Go down to the bottom and comment out (or delete) the <input> button

3. Replace it with

<input type="button" value="{$LANG.updatecart}" onclick="window.location='cart.php'" />

 

The old button would take the user directly to the shopping cart view, this method directs them to the page to pick a hosting package.

 

Depending on your "Default Order Form Template", this may need to change.

 

Good luck!

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