diff --git a/framework/modules/ecommerce/views/store/showall.tpl b/framework/modules/ecommerce/views/store/showall.tpl
index a2f048f648..3c8f039047 100755
--- a/framework/modules/ecommerce/views/store/showall.tpl
+++ b/framework/modules/ecommerce/views/store/showall.tpl
@@ -56,7 +56,7 @@
Categories Under {$current_category->title}
{foreach name="cats" from=$categories item="cat"}
- {if $cat->is_active==1 || $user->is_acting_admin}
+ {if $cat->is_active==1 || $user->isAdmin()}
{counter assign=iteration}
{if $iteration%2==0}
{assign var="positioninfo" value=" last-in-row"}
@@ -88,7 +88,7 @@
{/foreach}
- {else}
+ {/if}
All Products Under {$current_category->title}
{pagelinks paginate=$page top=1}