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

Category on the left side navigation bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-30-2006, 07:31 AM
 
pteerapr pteerapr is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 48
 

Default 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. How do I untie them. Please help
__________________
x cart 4.4.3 gold Unix U.S.A
Reply With Quote
  #2  
Old 03-30-2006, 07:42 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-30-2006, 08:17 AM
 
pteerapr pteerapr is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 48
 

Default

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.
__________________
x cart 4.4.3 gold Unix U.S.A
Reply With Quote
  #4  
Old 03-30-2006, 08:18 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I just showed you...use that code wherever you want to show one thing for admin and one for customer.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 03-30-2006, 10:13 AM
 
pteerapr pteerapr is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 48
 

Default

thank you
__________________
x cart 4.4.3 gold Unix U.S.A
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 06:16 AM.

   

 
X-Cart forums © 2001-2020