webgonet Posted November 28, 2013 Share Posted November 28, 2013 Hi! To everyone @ whmcs Below is a line of code that I’m using to “pull” a product price info into a non whmcs site content. It works perfectly. It show the price in Euro, which is the base currency on my whmcs installation. <script language="javascript" src="https://mysite.com/shop/feeds/productsinfo.php?pid=10&get=price&billingcycle=monthly"></script> Now, the code lines bellow (either one of them) is what I’m trying to use to “pull” the same product price but in USD. They DO NOT work at all. The output it is still the same … same base currency, same base price. <script language="javascript" src="https://mysite.com/shop/feeds/productsinfo.php?pid=10&get=price&billingcycle=monthly¤cy=2"></script> <script language="javascript" src="https://mysite.com/shop/feeds/productsinfo.php?pid=10&get=price&billingcycle=monthly¤cyid=2"></script> FYI, the currencies are setup on the backend, the automated exchange rate system works flawlessly, and the prices show as they should under each currency on the products pages. I DO NOT understand why this is NOT the case with the feed script!? – Any help and advice on this matter would be greatly appreciated. Thank You! 0 Quote Link to comment Share on other sites More sharing options...
webgonet Posted November 28, 2013 Author Share Posted November 28, 2013 sorted. post no longer relevant. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.