X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   next and previous product browsing (https://forum.x-cart.com/showthread.php?t=1400)

guytje 02-05-2003 04:06 AM

next and previous product browsing
 
Hi,

Anyone knows how to make a next product and previous product button so that a user can navigate though the products without having to return to the main screen every time?

Thanks,
Guy

funkydunk 02-09-2003 09:28 AM

Interesting one...

I think that this is a fair amount of work and would involve getting another php file to provide the product ids within the database when you are at the product details page.

How would you propose the system deals with this? ie what defines the next product?

- Is it the next product listed in the database by product id
- The next product as defined by the position marker in that category (what happens at the end of a category?)
- The next product alphabetically.

If you can answer those I am sure that the code can be worked..

DrHTM 03-02-2003 10:15 PM

are you sure?

This is really useful, especially since some of us have tons of products listed. even a small thumbnail would be cool (40x40) in addition to next or previous.

anyone? :wink: :wink:

DrHTM 03-15-2003 07:17 AM

Quote:

Originally Posted by funkydunk
Interesting one...

I think that this is a fair amount of work and would involve getting another php file to provide the product ids within the database when you are at the product details page.

How would you propose the system deals with this? ie what defines the next product?

- Is it the next product listed in the database by product id
- The next product as defined by the position marker in that category (what happens at the end of a category?)
- The next product alphabetically.

If you can answer those I am sure that the code can be worked..


I would say the second one! 'The next product as defined by the position marker in that category'...and at the end of the category, just go back to the first product!


You think you this can be done :D i can really use this!

funkydunk 03-15-2003 10:32 AM

DrHTM - sent you a pm on this.

Def possible on that one.


All times are GMT -8. The time now is 05:07 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.