View Single Post
  #7  
Old 02-09-2007, 09:40 AM
 
maniac maniac is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 97
 

Default Re: Display Wholesale price

I'm almost there - just need a little more guidance;

I got it to do exactly what I need but it only works for registered users - basically when a user is logged in they see waht I want:
Quote:
$28.00 USA - $ 24.00 Latin America and the Caribbean Save 14%
But when the user is anonymous I get
Quote:
$28.00 USA - $ Latin America and the Caribbean
For registered users I am using:
Code:
{include file="currency.tpl" value=$product.list_price} {$lng.regionUSA} - {include file="currency2.tpl" value=$product.price} {$lng.regionLAC}
and for anonymous users I'm using:
Code:
{include file="currency.tpl" value=$product.list_price} {$lng.regionUSA} - {include file="currency2.tpl" value=$variants.wholesale.price} {$lng.regionLAC}

I'm obviously not retreiving the variable $variants.wholesale.price out correctly - I think - Is my syntax correct? or do I have to add anything to the variable because it's part of a multidimensional array?

Thanks in advance for your help.
__________________
Gold 4.1.6
Reply With Quote