View Single Post
  #1  
Old 02-08-2007, 02:09 AM
 
Lee Lee is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 95
 

Default Displaying 5+ price

Morning All,

Probably a really simple fix but has been driving me mad

I have product_prices.tpl containing -

{if $product_wholesale ne ""}
{section name=wi loop=$product_wholesale}{include file="currency.tpl" value=$product_wholesale[wi].price}{/section}
{/if}

This just displays our 5+ price on the Product Detail page. I want to display this vale on the product listing page so I saved the tpl as product_prices_list.tpl so I could call it from products.tpl and put -

{if $product_wholesale ne ""}
{section name=wi loop=$products[product]_wholesale}{include file="currency.tpl" value=$products[product]_wholesale[wi].price}{/section}
{/if}

Which of course doesn;t work! I have tried some variations but just can't get the 5+ price to display on the list page.

Can anyone point me in the right direction?

Thanks inadvance
__________________
Lee

X-Cart 4.0.14 - heavily modified! (Linux)
www.lasertechgroup.com/uk
Reply With Quote