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)
-   -   display according to category (https://forum.x-cart.com/showthread.php?t=57865)

Omron Khan 02-02-2011 02:00 AM

display according to category
 
Hay , this is the link to my site http://www.taqshop.com/xcart/

In home page you can see the category beeing displayed as box. when i go into a specific category i want only that category image to be displayed and rest blackened.

some how i have made it to do this.. then i faced teh problem. when i go into the subcategory or products i want the root category image to be displayed :(. but unfortunately all gets blacked ..

teh condiotion i used was

{if $main eq "catalog" and $current_category.category eq "" or $cat eq '260'}
displayssss
{else}
dont display
{/if}

is their anyway to do this guys??:?

Omron Khan 02-03-2011 07:19 PM

Re: display according to category
 
No ideas guys?

Learner 04-09-2011 12:39 AM

Re: display according to category
 
In the category page if I want to display only the subcategory of the current clicked category on the left panel not the entire category,then how to code it??

Omron Khan 04-25-2011 04:19 AM

Re: display according to category
 
hmmm.. Why dont you check this post may be it will help

http://forum.x-cart.com/showthread.php?t=58751

The first code i posted their will show 1 level of subcategories.


All times are GMT -8. The time now is 06:35 PM.

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