Jump to content

order.php


ask21900

Recommended Posts

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?

Link to comment
Share on other sites

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.

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