
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] How to make "previous-next product
On Sun, Nov 11, 2001 at 10:24:49PM +0200, Thomas N. Stefanidis wrote:
> Hello,
> I wan to make a "previous-next product" on the fly page.
> I want the customer to be able to choose the previous or the next
> product in the category.
> Lets say we have a category called "Masks" and we choose a
> subdirectory.I want the customer to be able to choose in the previous or
> next product of that subdirectory.
Just add two data columns, previous and next to your products database.
Otherwise you could write some tag that would apply whatever sort of
logic your catalog requires, eg alphabetic, size, by code. You'd probably
want to cache the result set for that, because you will have to select
all products each time for anything complex. Build a file in the background
like
code previous next
and just pull the line for the code in question.
> Any ideas?
>
> Thomas
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users