Previewing a Template

When developing a new template it is often desirable to preview it yourself whilst other visitors still see the system default template.

To do this, append the following commands to the WHMCS URL:

System Template

?systpl=

For example if your custom system template is located at /templates/mycompany, then the URL would look like:

http://www.mysite.com/whmcs/index.php?systpl=mycompany

Where http://www.mysite.com/whmcs/ is the URL of your WHMCS installation.

Order Form Template

You can also preview a different order from template in much the same way:

?carttpl=

For example if your custom order form template is located at /templates/orderforms/newtemplate, then the URL would look like:

http://www.mysite.com/whmcs/cart.php?carttpl=newtemplate

Where http://www.mysite.com/whmcs/ is the URL of your WHMCS installation.