View Single Post
  #3  
Old 03-12-2008, 05:15 PM
  imexhouse's Avatar 
imexhouse imexhouse is offline
 

eXpert
  
Join Date: May 2006
Location: Canada
Posts: 377
 

Default Re: Calling a Product Price...

It is possible. First, in /skin1/customer/main/products.tpl, you have to modify
Quote:
$products[product].descr|truncate:300:"...":true
like this:
Quote:
{eval var=$products[product].descr|truncate:300:"...":true}

Than, you woud call it in the short description like this:
Quote:

{$products[product].price|string_format:"%.2f"}
and in full description like this:
Quote:
{$product.price|string_format:"%.2f"}
In /skin1/customer/main/product.tpl, you would use:
Quote:

{if $product.fulldescr ne ""}{eval var=$product.fulldescr}{else}{eval var=$product.descr}{/if}

I hope this helps.
__________________
Jack@AquasanaCA
X-CART GOLD 4.0.19 Live
DSEFU, AOM, ezCheckout, ezUpsell, ezRecommends, RememberMe, RememberAnonCarts
AquasanaCanada.com - Aquasana╝ - #1 Rated Water Filters in America!
X-CART GOLD 4.4.5 Live
CDSEO Pro v. 1.8.4
AquasanaMontreal.com
Aquasana╝ & Rhino Water Filtration Systems
Reply With Quote