Jump to content

Data_Feeds -- display of slab pricing and/or in different currency?


basic

Recommended Posts

Dear All:

 

I see there is a simple and nice way to display domain or hosting or other product prices outsite of the whmcs install.

See here: http://docs.whmcs.com/Data_Feeds

See the "Examples" section.

 

My question is: would there be any way to display a list of domain prices (as in the example given there, "Domain Pricing Table," not with the default pricing, but *slab pricing* (http://docs.whmcs.com/Client_Groups) for a certain group of customers (typically resellers).

And second question: How would I display prices in other than the default currency (if there are other currencies set up in WHMCS) using these data feeds (before called 'widges') scripts.

 

 

John

Edited by basic
Link to comment
Share on other sites

Just an update: The easiest way to create such file (see above) was to select the parts doing this from Hexonet's (domain checker file scirpt, posted here: http://forum.whmcs.com/showthread.php?46018)--of course leaving out the line with "tp.tsetupfee" in it.

 

But one question experienced PHP coders might have a quick answer to:

Those pricing fields that are empty, where we have "-1.00" because e.g. transfers for certain TLDs are not available, are displayed as "$0.00 USD" ... while if using the before mentioned pricing table example given at http://docs.whmcs.com/Data_Feeds they do nicely just show an empty space. Empty space is much more appropriate. Anyone know how to get there?

 

John

Edited by basic
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