Jump to content

superman16

Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by superman16

  1. Great that worked thanks! Now i would like to extend on it slightly {if $status eq 'Active'} <button type="submit" class="btn btn-info btn-sm">Login to Control Panel</button>{else} {if $status eq 'Pending'} <div class="alert alert-info"Your order is still pending for review. Please contact support if you have any questions.</div>{else} {if $status eq 'Suspended'} <div class="alert alert-error">No active login functions, Your service is currently suspended. Please contact support</div> {/if}
  2. Nope that didnt work ether, tried that before posting here :-(
  3. Im having issues with the following code {if $product.status eq 'Active'} <button type="submit" class="btn btn-info btn-sm">Login to Control Panel</button> {else} <p>No active login functions, please contact support</p> {/if} Dispite if the product/service has a status of Active or other, it still displays: <p>No active login functions, please contact support</p> What i want it to do is show the submit button if the product status is 'Active' else just display the above text. Can anyone help me with this one?
  4. Sorry my error it was ment to read show a message when the user is inactive rarther than closed. I was planning on showing an alert on the clientarea TPL file using css. - - - Updated - - - Like the one displayed when the client has overdue invoices.
  5. Hello All! I was wondering, is there some code out there that would allow me to show an error message if say the account is under a closed status? so if status = deactivated (show error message: This account is currently closed, please contact support to reactivate. else show no message If there is a way of doing this i would be greatful for the help. Many Thanks
×
×
  • 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