Jump to content

Recommended Posts

How i can use this condition on any page

Quote

{If $service.status eq Active }
{else}
{/If}

I am try but not working

Share this post


Link to post
Share on other sites
2 minutes ago, Veehosty said:

How i can use this condition on any page

I am try but not working

This Totally waste billing software here you cannot do anything other 😂🤣

Share this post


Link to post
Share on other sites
1 minute ago, Shivansh said:

This Totally waste billing software here you cannot do anything other 😂🤣

I believe in WHMCS that they will definitely solve this problem

Share this post


Link to post
Share on other sites
6 hours ago, Veehosty said:

I believe in WHMCS that they will definitely solve this problem

really? I love new(ish) users. 🙂

6 hours ago, Veehosty said:

How i can use this condition on any page

on *any* page? you can't out of the box - that variable would only exist on specific pages in the client area (e.g the productdetails pages)... to use it in a template where it wasn't automatically available, you'd need to write a hook to make it available (and you'd have to specify which service you were wanting to check the active status of too).

Share this post


Link to post
Share on other sites
Posted (edited)
19 hours ago, Veehosty said:

How i can use this condition on any page

I am try but not working

You can only use smarty on WHMCS theme template files. Not just any page on your site.

Edited by yggdrasil

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