View Single Post
  #5  
Old 05-04-2011, 03:57 AM
 
Luke White Luke White is offline
 

Newbie
  
Join Date: Apr 2011
Posts: 4
 

Default Re: IF statement for custom fields

Quote:
Originally Posted by cflsystems
Turn the debuging console on from admin/general settings - it will show you all variables on a page and their structure. Also if you are on 4.4.0 consider upgrading either to 4.4.2 or 4.4.3 (in about a week) - 4.4.0 is extremely buggy

Thanks again but I'm still having difficulty this one. My debugging console has the following under {$bestsellers}

Array (5)
0 => Array (22)
productid => "17651"
provider => "1"
product => "Beko DVTC60W Vented Dryer"
productcode => "DVTC60W"
avail => "0"
price => "184.95"
fclassid => null
is_clist => ""
variantid => "0"
weight => "0.00"
is_product_options => "Y"
is_variant => ""
taxid => "1"
taxed_price => "184.95"
extra_fields => Array (5)
0 => Array (7)
fieldid => "1"
provider => "1"
field => "Life Time Labour Free Available?"
value => "Yes"
active => "Y"
orderby => "1"
service_name => "SERVICE_NAME01"

That I would take to mean bestsellers.extra_fields(1)(4) or extra_fields(1)(4) for the yes/no variable. Can you please let me know the error of my ways.

Thanks again
__________________
X-Cart 4.4
Reply With Quote