Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Custom Category

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-19-2003, 06:48 AM
 
jgkiefer jgkiefer is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 85
 

Default Custom Category

I am creating a special category to hold custom orders by creating a new member level that only I have access to. Then creating a category and limit it's access to that special level.
Here's the question:
Lets say I create a category called "Custom Orders" how would I create a category link that is only available to the user logged in on that member level. Now I do not use the xcart category box because I have a custom hard coded category menu. I would like this category link to display in the header when the customer logs in.

Kinda like:
{if user member level}
show custom order category link
{/if}
Reply With Quote
  #2  
Old 07-23-2003, 02:53 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

The code should be along the lines of:

{if $userinfo.membership eq "Fulfillment staff"}
link here
{/if}

obviously replace Fullfillment staff with whatever the membership level is that you have created.

Hope that helps you.

__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:25 AM.

   

 
X-Cart forums © 2001-2020