[ic] Search returning one item going straight to flypage

Stefan Hornburg Racke interchange-users@interchange.redhat.com
Wed May 29 20:19:01 2002


"Russ Mann" <tech@khouse.org> writes:

> Dear List,
> 
> Has anyone figured out how to get IC to do this:
> 
> If a search returns only one item, send the user directly to the flypage for
> that item.

[search-region]
[if value mv_search_match_count eq 1]
[search-list]
[bounce [item-code]]
[/search-list]
[else]
....
[/else]
[/if]
[/search-region]

Untested, but sth like that should work.

Ciao
        Racke

-- 
Free resources for Interchange programming NOW !!! 
Don't hesitate to contact me if you need my professional help.
Your core developer and consultant for the most sophisticated,
flexible and extensible Open Source eCommerce software.