Jump to content

Specific product group for template id


Since11

Recommended Posts

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

Link to comment
Share on other sites

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 by nay27uk
Link to comment
Share on other sites

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 by nay27uk
Added wiki Link
Link to comment
Share on other sites

  • 1 year later...

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

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