| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
category listing help? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
category listing help?
is it possible to have my catagory listing list all catagories except for one of them? I would like to put one catagory link in a different part of the website and not be shown on the catagory list.
the catagory id is 3, how can i wright the loop to not include this catagory? I have the cart enabled to use the first loop. here is the code from my customer/categories.tpl Code:
Sorry if this is a very basic question, but i have only been playing with php and smarty for 2 weeks. Thanks in advance for your reply. |
|||||||
#3
|
|||||||
|
|||||||
Thanks BOOMER, but I still want all memberships to be able to view this catagory, If it helps i am making a section for manufactures list, with a drop down box of the manufactures, i do not want "manufactures list" included in the main menu of catagories?
is that possible, or do i just need to take the loop out and write my own links there? |
|||||||
#4
|
|||||||
|
|||||||
Hi,
Simply need to put in an if statement at the begginning that rules out a certain category. In this example it rules out category 8. Code:
__________________
ex x-cart guru |
|||||||
#5
|
|||||||
|
|||||||
Thank you Thank you!!, That works perfect.
|
|||||||
#6
|
|||||||||
|
|||||||||
Using 3.4.9 could really use a hand with this.
Can't seem to make the code above work. I keep getting smarty errors in the store. Rather than showing you every dumb combination I have tried and failed with, could someone mark up my code and give me a point in the right direction? I really need to break up my categories. Code:
TIA. |
|||||||||
#7
|
|||||||
|
|||||||
Try:
Code:
__________________
ex x-cart guru |
|||||||
#8
|
|||||||||
|
|||||||||
FD,
Thank you so much. It works like a dream. Any idea how to take out multiple categories? I tried a few different combos and we were back to errors again. I think I should be combining them in this statement Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|