Jump to content

Displaying Products on homepage.tpl


Recommended Posts

Hello everyone. I have a client of mine that i'm creating a whmcs theme for. However.. I've run into a problem. By their request they wanted their current products of gid=1 to be displayed on the home page.


I tried to debug and see if the theme had some already existing smarty call code but could not find anything.


Can someone give me some help?


Thanks, Indstrl.

Link to comment
Share on other sites

Someone correct me if i am wrong here, but i think unless your home page is https as well you cant integrade that into the home page dynamically. You can do it as static and just code the plan details into the html display and then you can have a "select this plan" button that is linked to the https address. But i think since the order part of the script is inside the https and your home page may not be (which is normal) you cant do this dynamically. I guess you could use some ajax to pull the value and then display it but that might not be what you want.

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.

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