ask21900 Posted February 20, 2008 Share Posted February 20, 2008 My site uses cart.php for most things, but I want to use a direct link for a specific product. The direct link goes to order.php with the product id as an argument. For this product, I want to remove the option to update nameservers with an external domain (The customer can only order this product if they order a domain through me, or transfer a domain to me). Can anyone point me to the template that controls order.php in this situation? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted February 20, 2008 WHMCS CEO Share Posted February 20, 2008 Why don't you just use the cart.php direct order link? Matt 0 Quote Link to comment Share on other sites More sharing options...
ask21900 Posted February 20, 2008 Author Share Posted February 20, 2008 What I am trying to accomplish is to offer a free product, if the customer purchases a domain name from me. I chose not to use cart.php because I do not want customers to have the ability to remove the domain they are purchasing after getting the free product in their cart. In any case, I have solved the issue by modifying the boxes/order-steptwo.tpl file. So, as far as I can tell, when the customer uses the cart in normal process of my site, everything works as normal, and the free product is hidden. When the customer orders by direct link, they are able to get the free product, but must pay me for a domain. Is there any way to block ordering a product in the cart? It has occurred to me that a tech-savy user might get the pid from the link or order.php, and then try to direct order in the cart. this would allow them to get the product without ordering the domain. 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.