Jump to content

Currency on homepage


vinniex1

Recommended Posts

Hi, I new here. I have prices on my homepage for my packages and I would like from them to be changed according to the currency that is selected by the user, like the cart. I inspected the coding in the product.tpl files and tried to figure it out but still no luck. So just to summarize, how would I display the price on the homepage that will change to the selected currency.

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

You can use Data Feeds to display product prices on pages outside WHMCS: http://docs.whmcs.com/Data_Feeds

You can pass the &currency= variable to change the currency displayed, eg:

 

<script language="javascript" src="feeds/productsinfo.php?pid=1&get=price&billingcycle=monthly&currency=1"></script>

Link to comment
Share on other sites

  • 2 weeks later...

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