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)
-   -   Category on the left side navigation bar (https://forum.x-cart.com/showthread.php?t=20826)

pteerapr 03-30-2006 07:31 AM

Category on the left side navigation bar
 
In x cart default template, which is skin 1. The categories of product that show up on the left navigation bar on the customer end is somehow tie to the category in the admin area. Any change you made on the customer end reflect on the admin end.

For example, on
http://www.x-cart.com/demo/home.php

The top box on the left nav is Categories. Try changing that on the customer front end to Product and that will reflect on the admin back end. :x How do I untie them. Please help

balinor 03-30-2006 07:42 AM

Post moved, as the name implies, the Completed Custom Mods forum is for posting completed code only.

You need to use {if} statements to seperate items that are shared between admin and customer. For example:

{if $usertype eq "C"}

show this

{else}

show that

{/if}

That will show one thing for the customer, and another for admin.

pteerapr 03-30-2006 08:17 AM

Has this been done before. Could some body tell me how to do this. I am not a programmer. But I am familiar with html.

balinor 03-30-2006 08:18 AM

I just showed you...use that code wherever you want to show one thing for admin and one for customer.

pteerapr 03-30-2006 10:13 AM

thank you


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

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