Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

next and previous product browsing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-05-2003, 04:06 AM
 
guytje guytje is offline
 

Advanced Member
  
Join Date: Nov 2002
Posts: 50
 

Default 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
Reply With Quote
  #2  
Old 02-09-2003, 09:28 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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..
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 03-02-2003, 10:15 PM
 
DrHTM DrHTM is offline
 

Member
  
Join Date: Dec 2002
Posts: 28
 

Default

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?
Reply With Quote
  #4  
Old 03-15-2003, 07:17 AM
 
DrHTM DrHTM is offline
 

Member
  
Join Date: Dec 2002
Posts: 28
 

Default

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 i can really use this!
Reply With Quote
  #5  
Old 03-15-2003, 10:32 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

DrHTM - sent you a pm on this.

Def possible on that one.
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:32 PM.

   

 
X-Cart forums © 2001-2020