[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] How to make a "next product" link in the flypage
At 06:00 PM 7/20/2001 +0300, you wrote:
>Hello,
>When someone is seeing a product,how can i make a "next product" link
>that takes him to the next product in that category?
>Let's say i have the category "shoes" and i have 5 shoes in it.
>If he chooses the "shoes number 2" i want a link to take him to "shoes
>number 3"...How about a "previous product".
>
>Thank you.
>
>Thomas
It seems like it would work if you did a regular search, except specified
to only return one product at a time, and instead of listing it in the
"brief" format of results.html, copy/paste the "long" format of
flypage.html. (In fact, instead of copy/pasting, consolidate the code used
by both into one file that you can [include]).
On the page with search, add
ml=1
And on your new results page: results_one_per_page.html:
[more-list]
Products [matches] of [match-count].
<BR>[more]<BR>
[/more-list]
[item-list]
[include some_code_from_flypage.html]
[/item-list]
[more-list]
Products [matches] of [match-count].
<BR>[more]<BR>
[/more-list]
You might give something like that a shot. You could set it up pretty
easily as a link on the results.html to go to a new results_one_per_page.html.
Eh, it might get you started anyway. HTH,
Dan Browning, Cyclone Computer Systems, danb@cyclonecomputers.com
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users