Since11 Posted February 20, 2011 Share Posted February 20, 2011 We have two hosting companies, with two different templates. How can we set a specific product group in the orderform 'web20cart' by template 1 or 2. Example: If the template is 'company1' then show products form the product group '1' and when the template is 'company2' then show products form the product group '2' Thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
nay27uk Posted February 20, 2011 Share Posted February 20, 2011 (edited) dont think you can the onlyway is to go into partnership with the other hosting company and runn the hole thing on one install of WHMCS with 1 company name but keeping both servers. this is how my company runs. you will find that all of the WHMCS .php files are encoded with ioncube and unless you can decode it to see the php then the above is the only way around it because it is the actual .php files that call the template used for each page probaly by using a php include or somthing or by assigning template vars in the php Edited February 20, 2011 by nay27uk 0 Quote Link to comment Share on other sites More sharing options...
nay27uk Posted February 20, 2011 Share Posted February 20, 2011 (edited) actualy you can do this by assigning the template to the url check the wiki as this is covered in it Here you go here is the direct link http://wiki.whmcs.com/Linking_to_WHMCS#Setting_the_Language.2FTemplate_via_the_URL for example if you wanted website1 to link to ~WHMCS and show template 1 your link urls would look somthing like this http://www.website1.com/cart.php?systpl=template1. Edited February 20, 2011 by nay27uk Added wiki Link 0 Quote Link to comment Share on other sites More sharing options...
jasonthewebmaster Posted March 6, 2012 Share Posted March 6, 2012 yeah, that is the technique I use as well. as you can see here, http://mobivisitor.com - is a joomla site but the client's area is my WHMCS system located at http://pensaweb.com/clients it's important to note that if you create a custom template for a particular product/service/website that when you do, make sure all the links in the header etc are also tagged with that ?systpl=yourtemplate 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.