View Single Post
  #2  
Old 07-27-2015, 05:18 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to restrict a category by login only

This is just psuedo code, you should find and test for the actual variables to use:
Code:
{if $cat.categoryid eq 12} {*special behavior goes here*} {if $logged ne ''} {*Show category*} {else} {*Show message to log in with link*} {/if} {else} {*Normal category behavior goes here*} {/if}
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote