View Full Version : order.php
jumonjii
01-16-07, 02:46 AM
Seriously, how are you guys setting up these awesome pages?
I can't figure out how to get a page that shows packages, prices, features, "order now" buttons, etc.
Thanks.
DataHosts
01-16-07, 04:52 AM
We ordered WHMCS, and then setup the packages. We then looked at the link at the bottom to show the direct order link...
jumonjii
01-16-07, 03:03 PM
So the order.php page isn't in the templates folder then?
You take the direct order links and them put them on a page by themselves?
DataHosts
01-16-07, 04:02 PM
order.php is not in the template folder, but instead it is installed on the root location of the program in the directory you install it in. If you go to www.<yourdomain>.<tld>/whmcsdir/order.php you will see the page. The look of the page (template) is done via the template you have with Smarty Design. If you do not have a custom template then you will have the default WHMCS layout. If you wish to have a custom layout you will be good to purchase from WHMCS here for $34.99 (http://www.whmcs.com/clients/more_information.php?product_id=8,)
As for the link to the package you are selling you will need to login to WHMCS. Then guide as follows:
Configuration --> Products/Services --> Select a product to edit --> Look on the 'Details' tab at bottom --> Direct Order Link
Something like this:
http://www.<yourdomain>.<tld>/whmcsdir/order.php?step=2&pid=28
So the order.php page isn't in the templates folder then?
Yes, it is templated. Everything your clients see is editable via a template file. The folder you need to look in is templates/orderforms/default. datahosts is referring to link to the packages directly from your main site.
Matt
jumonjii
01-16-07, 08:46 PM
Okay... the orders.php file opens all coded... so I either need a different type of editor or I'm doing something wrong.
generic
01-16-07, 09:40 PM
thats because its encrypted.
You need to edit the "TEMPLATE" files. As has already been said, the folder you need to look in for these is templates/orderforms/default
Matt
jumonjii
01-17-07, 12:10 AM
I got that far....
Currently, when you go to the order page, you see each package under each other in a column. I'd like to set them up in seperate cells of a table, like a 3x3 table for example. I don't see which page is generating the package options....
Gah...... yes I'm a n00b.
It's all in the templates. For the package list, it will be order-stepone.tpl
jumonjii
01-18-07, 04:49 AM
That's the page I was looking for thanks!
Now... is it possible to get the tables to align next to each other or in a predefined area instead of all in a row?
The last cart system I had wasn't as easy to use and it wasn't possible to make a 3x3 table and have the data auto fill.
That's the page I was looking for thanks!
Now... is it possible to get the tables to align next to each other or in a predefined area instead of all in a row?
The last cart system I had wasn't as easy to use and it wasn't possible to make a 3x3 table and have the data auto fill.
your going to have to learn a little smarty and definitely html or just pay someone to do it.
s1rk3ls
01-18-07, 01:17 PM
jumonjuu: MACscr wasn't being smarty with you (pardon the pun) s/he was referring to the smarty template system used by WHMCS. You can do just about anything with it, so yes I'm sure what you want can be done :)
FYI:
http://smarty.php.net/
Enjoy! :lol:
jumonjii
01-18-07, 02:05 PM
Thanks. I thought that's what they meant.
I'll have to look over this smarty thing, not sure I understand how it installs.
Right now I'm using Dreamweaver to open .tpl files.
Hi jumonjii,
It's not something you install. It's just the system we use in WHMCS. You can refer to their site for documentation on how to do certain things. Editing in Dreamweaver however is exactly what you should do - just like any other HTML file.
Matt
jumonjii
01-18-07, 02:43 PM
Aha. I thought it was editor you install on the server.
Cool cool
jumonjii
01-19-07, 10:50 PM
Okay... I can't figure this out. The page either quits loading or get's all jumbled.
What forum has folks that will code?
DataHosts
01-20-07, 01:29 AM
What forum has folks that will code?
Just go search for 'freelance coder' Here (http://www.google.com), and you will be amazed at the results you encounter.
There is alway this possiblity (http://www.<yourdomain>.<tld>/whmcsdir/order.php) for you to consider as I have stated prior
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.