Jump to content

Show expiredate in clientareacancelrequest.tpl


Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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