Jump to content
Hostingwalk

Show expiredate in clientareacancelrequest.tpl

Recommended Posts

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 ?

 

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated