Jump to content

Only show Custom Block to Specific Group


wimogas

Recommended Posts

I want to show a Custom box with prices ONLY to logged in Employees (I created a Group called Employees).

 

Heres the code in my product.tpl:

 

{if isset($product) && $product->custom}

<section class="page-product-box">
<div style="padding:10px;">{$product->custom}</div>
</section>

{/if}

How do I add a condition to that code so that it only shows to Group Employees?

 

Anyone?

 

Much obliged,

 

G

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...