| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Un-comment menu item for providers only | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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?
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#2
|
|||||||
|
|||||||
Re: Un-comment menu item for providers only
Anyone knows how to do this.
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
#3
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#4
|
|||||||
|
|||||||
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!
__________________
X-Cart Pro 4.6.2 with many modules X-CART Pro 4.4.1 |
|||||||
|
|||
X-Cart forums © 2001-2020
|