ruskyhost Posted January 21, 2008 Share Posted January 21, 2008 Is there a way to hide the client area until the cusomer has paid? On unpaid invoices they can go back and see client settings. Thanks, Dave. 0 Quote Link to comment Share on other sites More sharing options...
RPS Posted January 21, 2008 Share Posted January 21, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
JasonO Posted January 21, 2008 Share Posted January 21, 2008 I was thinking the same. I wouldn't think there would be any harm in showing them either. It's their details, what do you have to hide? 0 Quote Link to comment Share on other sites More sharing options...
Brett Posted January 21, 2008 Share Posted January 21, 2008 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.