| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
dialog.tpl, no title for certain categories | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am new to smarty and not sure about this syntax. I am trying to take out the title for certain categories but it is not working for me. Here is my code:
Code:
This should remove the first row on category 248 right? Am I missing something? If I wanted to add more categories for exclusion, would it be || or "or". Thanks for any help.
__________________
Version 4.0.18 Testing 4.1.2 |
|||||||
#2
|
|||||||
|
|||||||
![]() Yes, that should remove the first row. You would use 'or' in between if you wanted multiple exclusions:
{if $cat eq "248" or $cat eq "249"}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the quick response ryan.
![]()
__________________
Version 4.0.18 Testing 4.1.2 |
|||||||
#4
|
|||||||
|
|||||||
![]() Did you ever get this to work? I'm trying to do the same thing, remove the category dialog title AND embedded products, basically just have the category description showing and thats it:
Code:
__________________
x-cart 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|