Author Topic

steve walker

Monday 30 August 2004 10:19:58 am

Comment41349

Paul,

Thanks - that's done the trick. I also added the second clarity variable into the mix so I have:

{let carat=ezhttp( 'search_carat', 'get' )}
{let clarity=ezhttp( 'search_clarity', 'get' )}

{let carat_in='('|concat($carat,')') 
let clarity_in='('|concat($clarity,')')
let exactresults=fetch(content,tree,hash(parent_node_id, 59, 
attribute_filter,  
array(and,array('stone_product/carat','in',$carat_in), 
array('stone_product/clarity','in',$clarity_in))))
 }
carat is {$carat_in} and clarity is {$clarity_in}

and the searching is working well :)

Now to add the other 2 variables and get that fuzzy logic stuff working :(

Cheers for the help!

Steve.

http://www.oneworldmarket.co.uk