X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Custom Category (https://forum.x-cart.com/showthread.php?t=3661)

jgkiefer 07-19-2003 06:48 AM

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}

funkydunk 07-23-2003 02:53 AM

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.

:)


All times are GMT -8. The time now is 02:44 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.