ThemeMetro Posted October 8, 2018 Share Posted October 8, 2018 (edited) Hello, The tag {$productinfo.groupname} is not more available in configureproduct.tpl. Is there any other option to get this? Edited October 8, 2018 by ThemeMetro 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted October 9, 2018 Share Posted October 9, 2018 (edited) Version 7 is by far the worse WHMCS release in years if you ask me. They have removed so many things that people take for granted... I find out almost every other week something not working anymore or that was removed. If this is a bug, you will be lucky if they fix this next year as we are only left 2 months to the end of 2018. Usually this is not a problem with most PHP software except WHMCS is completely encoded so you are locked out of fixing anything on your own. Edited October 9, 2018 by yggdrasil 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 9, 2018 Share Posted October 9, 2018 15 hours ago, ThemeMetro said: The tag {$productinfo.groupname} is not more available in configureproduct.tpl. Is there any other option to get this? it's now called {$productinfo.group_name} 2 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted October 9, 2018 Share Posted October 9, 2018 37 minutes ago, brian! said: it's now called {$productinfo.group_name} Did you read that in the changelogs? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 9, 2018 Share Posted October 9, 2018 Just now, yggdrasil said: Did you read that in the changelogs? they wouldn't go into that much detail - it would be nice if the changelogs were very detailed rather than a cryptic cursory summary that often doesn't explain what changes have really been made. it's a variable that I rarely use because you could in theory have two groups called the same name (it would be crazy to do that though), so I tend to use gid values as they will be unique and won't change. 0 Quote Link to comment Share on other sites More sharing options...
yggdrasil Posted October 9, 2018 Share Posted October 9, 2018 21 minutes ago, brian! said: they wouldn't go into that much detail - it would be nice if the changelogs were very detailed rather than a cryptic cursory summary that often doesn't explain what changes have really been made. it's a variable that I rarely use because you could in theory have two groups called the same name (it would be crazy to do that though), so I tend to use gid values as they will be unique and won't change. Exactly, this is why I asked. If a developer was using this on his integration, and suddenly it breaks, the logical thing for him to do would be to check the change logs, and nothing... 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 9, 2018 Share Posted October 9, 2018 15 minutes ago, yggdrasil said: Exactly, this is why I asked. If a developer was using this on his integration, and suddenly it breaks, the logical thing for him to do would be to check the change logs, and nothing... I just checked and "Boxes" is the only default template actively still using {$productinfo.groupname} - so this change has broken that template too (in the sense that it wants to output the variable, but it now no longer exists)... I guess that can be classed as a bug, even if Boxes is a deprecated template - if they're still shipping it and they've renamed one of the variables it uses, it won't take them more than a second to change {$productinfo.groupname} to {$productinfo.group_name} in the template. to get back to your point about the changelogs, the release notes would be a better source for this *if* the template was already using the variable - e.g if standard_cart was using {$productinfo.groupname}, then you might notice the change in the Template Changes GitHub comparison links... but it isn't, so by default nobody would know about it... it would only become apparent after a thorough testing by the template developer and working through each individual template. 0 Quote Link to comment Share on other sites More sharing options...
ThemeMetro Posted October 9, 2018 Author Share Posted October 9, 2018 2 hours ago, yggdrasil said: Did you read that in the changelogs? Thank you very much 🙂 0 Quote Link to comment Share on other sites More sharing options...
ThemeMetro Posted October 9, 2018 Author Share Posted October 9, 2018 2 hours ago, brian! said: it's now called {$productinfo.group_name} Thank you very much 🙂 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.