View Single Post
  #1  
Old 03-28-2010, 07:01 PM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default If product has wholesale prices show this, else..

Hello there. I think that i want i simple but i don't know why it doesn't work. I am trying to do that change on product.tpl

The code i try to use is this:

{if $product.forsale ne "B"}
<td colspan="3">
{else}
<td colspan="3" class="product-subtitle">
{/if}

So with other words, i want if the product has wholesale prices to use on some place the code "<td colspan="3">" and if not, to use this "<td colspan="3" class="product-subtitle">". The problem is that it always use the first, no matter if it has wholeslae prices or not. Any idea? Thank you guys
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote