Comment order_info.tpl to hide for provider only
I would like to comment the customer information section within order information (provider area).
I don't want providers to see the full adress and email of the customer. So therefore I would comment the Customer info and shipping information in /common_files/main/history_order.tpl The customer information and shipping address is included within main/order_info.tpl. But this template is also used for admin. What code do I need to wrap around the commented section so it only gets hidden for providers? |
Re: Un-comment menu item for providers only
Anyone knows how to do this.
|
Re: Un-comment menu item for providers only
{if $current_area eq 'X'}
where X is one of these C - customer P - provider A - admin B - partner |
Re: Un-comment menu item for providers only
Quote:
With your hint I was able to hide different stuff too but not the areas I wanted too. I broke the page (was no mistake there like a left bracket etc.) I want to out-comment the Customer Information. Do you happen to have the exact code (area to comment to not break it)? Thank you! |
All times are GMT -8. The time now is 10:10 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.