![]() |
Simple Order Status input box
I want to make a very simple order status box on my main page.
Basically I want to have one little input box where anyone can put in their order number and click submit. In this I want the submit button to open a url like this: http://www.rjroffroad.com/order.php?status&orderid=##### And I want it to use the data input into the box to complete the link. I haven't the first clue how to do that. Any simple html methods to do that? |
Re: Simple Order Status input box
The problem with this is, what's stopping people from putting others order numbers in? Major security risk here IMHO and I don't recommend it.
|
Re: Simple Order Status input box
Quote:
First thing it does it take you to a login screen. If you don't have their login and password, you can't view it. I thought that too, but created an order with a login I use alot, and then logged in with a test account, and it gives me an access denied screen. So you can't have just the order #, you have to have the login too. |
Re: Simple Order Status input box
Insert this into any tpl you want.
Code:
{if $login} or create new /skin1/order.tpl with code Code:
{if $login} and insert into home.tpl (or another) to left column this include Code:
{include file="order.tpl"} Comfortable thing! Enjoy! |
All times are GMT -8. The time now is 03:29 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.