View Single Post
  #3  
Old 07-24-2007, 07:39 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: if/else for a specific category in the <head> section?

Hi Jon,

Unfortunately, made no diff.

Same results.

{if $current_category.categoryid eq "9"}
--(which is the "parent" category) -- works perfectly

{if $current_category.categoryid eq "19"}
--(which is the "child" subcategory) -- does not

Hmm.

The url is my domain.com/makeup/pretty-n-polished.html

(this is category 19)

Does CDSEO help or hinder such a category call in smarty?

Come to think of it, I have a bit of code to redirect a single category to the product...

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

Maybe this is getting in the way?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote