Jump to content

Accessing WHMCS Data from Home Page


SubhSen

Recommended Posts

  • WHMCS Technical Analyst II

Hello @SubhSen,

Thanks for your post!

You can use Data Feeds to dynamically extract product related data for display within your front-end website: https://docs.whmcs.com/Data_Feeds

You can link through from there to WHMCS as detailed here: https://docs.whmcs.com/Linking_to_WHMCS

I hope this helps.

Link to comment
Share on other sites

20 hours ago, SubhSen said:

How can I access my package data from my home page? Or, do I need to hardcode package plans in home page htmls?

the latter - there isn't an option, built into WHMCS, to automatically display products on the home page.

you can edit the templates, e.g to add data feeds and product links as Alex suggested - though I wouldn't use too many (not double figures) data feeds on the same page as it will slow down the page loading time... especially if you're using separate feeds to pull product names, descriptions, prices etc.

you can use action hooks to pull the details from the database and limited working examples have been posted on how to do that in these forums.

to be honest, I think what many users in your position do is to use a third-party theme (some will be free, others not), most of them will have an option to show products on the custom home page.

it really all comes down to your coding knowledge and time or whether you just want a quick solution.

Link to comment
Share on other sites

2 hours ago, WHMCS Alex said:

You can use Data Feeds to dynamically extract product related data for display within your front-end website: https://docs.whmcs.com/Data_Feeds

 

That was a great help, Alex! Thanks.

2 hours ago, brian! said:

it really all comes down to your coding knowledge and time or whether you just want a quick solution.

Yes, Brian...I have a bit of coding knowledge. However, there should be an option  in WHMCS to load the Shop in the home page if it is installed in a folder under home directory. 

But, you guys are much more experienced than me.

But, I thank you both, for your help. 

Best...

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