View Single Post
  #1  
Old 01-05-2010, 04:19 PM
 
ROIMasterGuru ROIMasterGuru is offline
 

Newbie
  
Join Date: Jan 2010
Location: Canada
Posts: 3
 

Wink {if $product.price eq 0} ....

If a product is priced at 0, I need there to be a message stating 'Contact For Current Pricing'.

The closest I have found is the post below, however it didn't apply to my Xcart 4.3.0 because
I did not find a price section in customer/main/product.tpl, nor an 'add to cart' section???

Please help.

"I tried several variables to find the one for price and the following is what I came up with. I changed the product price to zero 0, then I created a label as Available Soon, and added the following in customer/main/product.tpl before the Price section as.....

{if $product.price eq 0}<div><font class="ProductDetailsTitle">{$lng.lbl_available_so on}</font></div>
{else}

I closed the {/if} after my add to cart, this way I removed the price, quantity and add to cart for those products that are not available for sale, but allows them to show on our store."

__________________
--
Christopher
XCart 4.3.0 Windows

"Do or do not; there is no try.
" Yoda
Reply With Quote