Hostingwalk Posted June 9, 2019 Share Posted June 9, 2019 Hello, i try to show the product expiredate in clientareacancelrequest.tpl I tried already to use {$nextduedate} but that is not working, can ssomeone helping me out ? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted June 9, 2019 Share Posted June 9, 2019 Hi @Hostingwalk 8 hours ago, Hostingwalk said: i try to show the product expiredate in clientareacancelrequest.tpl in WHMCS, products don't have expiry dates as such... well one-time products probably do, but they can't be automatically cancelled... 8 hours ago, Hostingwalk said: I tried already to use {$nextduedate} but that is not working, can someone helping me out ? if the product to be cancelled has a domain, then you can access the domain's next due date using {$domainnextduedate} - though of course, that may not necessarily be the same as the next due date of the product itself. if you want to use the product's next due date, and it isn't currently available to the template (which I don't believe it is), then you would need to pull that information from the database... specifically by using a ClientAreaPageCancellation action hook. 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.