sparky Posted June 10, 2009 Share Posted June 10, 2009 UPDATED! for V4 Multi-Currency This mod will enable you to retrieve variables available for a product from the database to enable you to display a hosting comparison page. The values that are available are in module settings, details, and pricing tabs. eg.. Plesk will only display details and pricing values as there are no values available in module settings. If you have an existing Plan Comparison page (within WHMCS) you just need to put in an include line and insert the smarty variables where you need them to display within your template. Then if you change a setting in your admin for the product your page is automatically updated. Note: This works currently only within WHMCS. Some editing is required in your template file. There is an example template available to give you an idea of how to use the variables included. Available from my site $10.00AUD 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted June 10, 2009 Share Posted June 10, 2009 Thanks for the update Steve. Can't download it atm as you are possibly working on your site? It's producing multiple errors. Floatbox does not support quirks mode.Page needs to have a valid doctype declaration. and Warning: Division by zero in /home/tshostin/public_html/clientarea.php on line 0 Warning: Division by zero in /home/tshostin/public_html/clientarea.php on line 0 with a highly broken display here: https://tshosting.com.au/clientarea.php?action=productdetails&id=435 I know it'll be sorted soon so don't worry. Incidentally, I like all the numerous changes by way of tarting up your site. Looking good! 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 10, 2009 Author Share Posted June 10, 2009 I will delete the templates_c again or it may be a cached page on your browser. If you look at the url it has & in it. change it to & or try SHIFT + RELOAD in FF to refresh the page in your browser. 0 Quote Link to comment Share on other sites More sharing options...
redrat Posted June 10, 2009 Share Posted June 10, 2009 Thanks Steve. I deleted my cache but still had the same problem using the menu link to access the page. Then I removed 'amp' and it worked fine. 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 10, 2009 Author Share Posted June 10, 2009 I only just deleted my templates_c now so hopefully the problem is fixed 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted June 10, 2009 Author Share Posted June 10, 2009 I found the error. Was in the menu so the problem is fixed now 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted June 10, 2009 Share Posted June 10, 2009 My site is already updated with this and works as promised, including the multi-currency. Another Great Job Well Done! 0 Quote Link to comment Share on other sites More sharing options...
jeffs Posted July 31, 2009 Share Posted July 31, 2009 I haven't worked with the WHMCS tpl files in a while...can anyone tell me how to tell what the hosting plan name is? In the example provided when you purchase I see "{$plan1_msetupfee}" but can't tell what my WHMCS plan names are. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Impact-John Posted July 31, 2009 Share Posted July 31, 2009 they are the id of the plan so it would be like /cart.php?a=add&pid=199 in that link the 199 is the plan id you can find that in your admin area products and services under other tab it will list the link which gives the plan id hope that helps 0 Quote Link to comment Share on other sites More sharing options...
jeffs Posted July 31, 2009 Share Posted July 31, 2009 Thanks for the help. That's what I've been trying, but with no luck. I've also use the code to show all tpl variable's, but couldn't find a variable that I needed. Can anyone who's purchased this addon shed some light on this? Thanks! 0 Quote Link to comment Share on other sites More sharing options...
Impact-John Posted July 31, 2009 Share Posted July 31, 2009 jeff add me to MSN for easier Chatting john_r@impact-connections.com 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted July 31, 2009 Author Share Posted July 31, 2009 @ Jeff Open a support ticket and I can help you from there 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.