Jump to content

Hide client Area when customers signs up


ruskyhost

Recommended Posts

On unpaid invoices they can go back and see client settings.

- What's the reason behind stopping them from that? Why would it matter if they could see the order details?

 

If you hide the client area, the client will not be able to log in and pay the invoice...

 

There is no easy way to hide the client area, but it is possible to do.

Link to comment
Share on other sites

You would want to play around with the {$invoice.status}

 

I am not sure what it says at the moment for overdue invoices, but you could do something like

{if $invoice.status == overdue} PAY NOW CODE {else}   This is your client area now that you have paid {/if}

 

That would be the logical way of going about it, but if they know the system, that bit of code won't work everywhere because it is not a usable variable in other places in the templates. You would have to query the database directly.

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