Anders Posted March 21, 2020 Share Posted March 21, 2020 Hi guys, my price settings are monthly and annual, in the price table order_forms pure them it showing the most expensive price the monthly. what of course not good for sells? i wish to show the annual price similar to this: £4.90 Month*when ordered Annually is this possible? Regards A 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 21, 2020 Share Posted March 21, 2020 2 minutes ago, Anders said: my price settings are monthly and annual, in the price table order_forms pure them it showing the most expensive price the monthly. what of course not good for sells? it shows the smallest billing cycle for which that product is priced - so if only monthly and annual prices exists, it shows monthly. 4 minutes ago, Anders said: is this possible? not from settings - if you know that you're going to do this for all products, you could adjust the templates to always show annual pricing and/or calculate a monthly equivalent price... or use a ClientAreaPageCart hook to manipulate the pricing array. 0 Quote Link to comment Share on other sites More sharing options...
Anders Posted March 21, 2020 Author Share Posted March 21, 2020 yes that will be great ClientAreaPageCart hook is anyone out there already? i am so suprised that whmcs is not have this in the box, all hosting company show the lowest monthly price even if is for up to 3 years contracts. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted March 21, 2020 Share Posted March 21, 2020 2 hours ago, Anders said: i am so surprised that whmcs is not have this in the box, all hosting company show the lowest monthly price even if is for up to 3 years contracts. lots of features within WHMCS haven't changed in years, e.g showing the smallest billing cycle and not the lowest price. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted March 21, 2020 Share Posted March 21, 2020 Why this hasn't been made something easily configurable is a mystery, unless you count all the "we can make money off this" options they *do* add that takes up all the dev workers' time. A helpful "if this is a hosting product, show the lowest per month available first, with total and term, then monthly options" would be well appreciated. It is, after all, a billing application first. 😉 0 Quote Link to comment Share on other sites More sharing options...
Anders Posted March 21, 2020 Author Share Posted March 21, 2020 thx guys, any ideas how to show the annual price similar to this: £4.90 Month*when ordered Annually 0 Quote Link to comment Share on other sites More sharing options...
Anders Posted March 25, 2020 Author Share Posted March 25, 2020 On 3/21/2020 at 2:02 PM, brian! said: it shows the smallest billing cycle for which that product is priced - so if only monthly and annual prices exists, it shows monthly. not from settings - if you know that you're going to do this for all products, you could adjust the templates to always show annual pricing and/or calculate a monthly equivalent price... or use a ClientAreaPageCart hook to manipulate the pricing array. Hi Brian, if you have time could you show i can change the price for all the products in the "ClientAreaPageCart hook to manipulate the pricing array" warm regards A 0 Quote Link to comment Share on other sites More sharing options...
weelow Posted April 5, 2020 Share Posted April 5, 2020 On 3/21/2020 at 6:32 PM, Anders said: thx guys, any ideas how to show the annual price similar to this: £4.90 Month*when ordered Annually Why dont you just edit the product.tpl file, you can search for $product.pricing.rawpricing.triennially and change it to $product.pricing.rawpricing.monthly 0 Quote Link to comment Share on other sites More sharing options...
weelow Posted April 6, 2020 Share Posted April 6, 2020 Sorry for the repeated post I could find how to edit my previous post from my phone. If you want the annual bill cycle displayed monthly that's how it's done. ($product.pricing.rawpricing.annually/12) 0 Quote Link to comment Share on other sites More sharing options...
Anders Posted April 9, 2020 Author Share Posted April 9, 2020 hi, i can't find $product.pricing.rawpricing.triennially anywhere in product.tpl 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted April 9, 2020 Share Posted April 9, 2020 25 minutes ago, Anders said: i can't find $product.pricing.rawpricing.triennially anywhere in product.tpl it isn't used by default in products.tpl - so you won't find it in the template code, but it is definitely a value available to the products array... and could therefore be used in the template. 0 Quote Link to comment Share on other sites More sharing options...
Anders Posted April 9, 2020 Author Share Posted April 9, 2020 thx brian, so weelow idea in previous message to add this ($product.pricing.rawpricing.annually/12) any ideas with what code i should chnage it with? 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.