I've altered the debug console to show variables.
I'm sure this will be very usefull, when i know smarty a little better.
My featured product array is as follows:-
Code:
Array (3)
0 => Array (38)
productid => 3
productcode => M1200400
product => Premier Quality Tiger Drivers Glove
provider => master
distribution => empty
weight => 0.00
list_price => 0.00
descr => Premier Quality Tiger Drivers Glove
fulldescr => M1200400 Premier Quality Tiger Driver...
avail => 1000
rating => 2
forsale => Y
add_date => 1145551350
image_x => 130
image_y => 172
views_stats => 51
sales_stats => 0
del_stats => 0
shipping_freight => 0.00
free_shipping => N
discount_avail => Y
min_amount => 1
dim_x => 0
dim_y => 0
dim_z => 0
low_avail_limit => 100
free_tax => N
product_type => N
manufacturerid => 0
return_time => 0
price => 3.32
is_variant => empty
is_product_options => empty
v_price => empty
tmbn_url =>
price_deducted_tax => empty
taxed_price => 3.32*****************************************
taxes => Array (1)
VAT17_5 => Array (16)
taxid => 1
tax_name => VAT17_5
formula => DST+SH
address_type => S
active => Y
price_includes_tax => N
display_including_tax => N
display_info => empty
regnumber => VAT 123-456-789-0000
priority => 10
rate_value => 17.5
rate_type => %
tax_display_name => VAT
tax_value_precise => 0.581
tax_value => 0.581
taxed_price => 3.9***************************************
As you can see above I've got 2 variables both named taxed_price. The code I've typed is obviously referencing the first one. How do I reference the second?
I thought altering this:-
Code:
{include file="currency.tpl" value=$products[product].taxed_price}
To this :-
Code:
{include file="currency.tpl" value=$products[product].taxes.taxed_price}
would do the trick but it doesn't.
Any Ideas????
Thanks
Dave