View Single Post
  #1  
Old 02-07-2012, 04:31 AM
  Cyber Matrix's Avatar 
Cyber Matrix Cyber Matrix is offline
 

eXpert
  
Join Date: Dec 2006
Posts: 199
 

Default Product Category If Statement Not Working

I have this if statement on skin1/customer/main/product.tpl

{if $product.categoryid eq "1039"} All custom hoses are made to order and ship within 2 business days{/if}

and it will not work but if I change it to {if $product.categoryid = "1039"} All custom hoses are made to order and ship within 2 business days{/if} I get a error. I realize I should have eq and not = . But the statement does show in the page.

I have used this if statement like this for many sites but for some reason it will not show here. Any idea why?

This is running on x cart 4.2.0
__________________
Cyber Matrix
-------------------
X-Cart 4.1.9
Reply With Quote