Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Prev and Next button do not show products in order

Prev and Next button do not show products in order

Locked

Views: 3,297

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
22 Aug 2009, 7:42 PM
#1
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Prev and Next button do not show products in order

Hi, my client has set up their products in a certain order. However when using the prev and next buttons the products appear in what seems random order.
Any way to sort that?
Many thanks
Tony

23 Aug 2009, 5:53 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Prev and Next button do not show products in order

There are Sort Orders for many sections of Zen Cart ...

Product Info
Product Listing
All Products
New Products
Featured Products

Each can be setup seperately ...

23 Aug 2009, 11:02 AM
#3
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Re: Prev and Next button do not show products in order

Hi Ajeh, thanks for replying. Perhaps I did not explain it well enough.

My client has set up an order for hair dye products that goes in in colour order and within that how strong the colour is.

If you click on a products you see it and then have a Prev and next button to move to the next product in that catagory. However the products do not come up in the order defines with the Sort Order value but in some random order (Perhaps based on which were listed first). I am looking for a way to make it appear in that same order as the catagory list.

See

http://www.veronicathecow.co.uk/index.php?main_page=index&cPath=6

for an example
Many thanks
Tony

23 Aug 2009, 3:17 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Prev and Next button do not show products in order

What is the Sort Order setting on your Configuration ... Product Listing ...

Display Product Listing Default Sort Order
Product Listing Default sort order?
NOTE: Leave Blank for Product Sort Order. Sort the Product Listing in the order you wish for the default display to start in to get the sort order setting. Example: 2a

What is the Sort Order for the Configuration ... Product Info ...

Previous Next - Sort Order
Products Display Order by
0= Product ID
1= Product Name
2= Model
3= Price, Product Name
4= Price, Model
5= Product Name, Model
6= Product Sort Order

23 Aug 2009, 3:27 PM
#5
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Re: Prev and Next button do not show products in order

Hi Oba-san I have tried setting the value of 6a but this seems to make no difference and according to the notes blank (Which was the original setting) is the same as 6 and I assume the "a" is for ascending?

Any further thoughts appreciated.

Cheers
Tony

23 Aug 2009, 3:46 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Prev and Next button do not show products in order

6a ... but you say you are using the Sort Order set on the Product itself for the Product Listing ...

What happens if you set it to Blank for:
NOTE: Leave Blank for Product Sort Order. Sort the Product Listing in the order you wish for the default display to start in to get the sort order

23 Aug 2009, 3:54 PM
#7
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Re: Prev and Next button do not show products in order

Hi Oba-san, sorry but i am being a bit thick here, I really not sure what you are saying. If you could expand I would be most grateful
Cheers

23 Aug 2009, 4:28 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Prev and Next button do not show products in order

In the Configuration ... Product Listing ... there is a setting for the Sort Order ...

Display Product Listing Default Sort Order
Product Listing Default sort order?
NOTE: Leave Blank for Product Sort Order. Sort the Product Listing in the order you wish for the default display to start in to get the sort order setting. Example: 2a

Can you set that to Blank as in nothing in the input box and see what it does to your display on the Product Listing ...

If you have assigned a Sort Order to each of your Products and want to use that on the Product Listing you need this set to Blank, as in nothing ...

23 Aug 2009, 4:39 PM
#9
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Re: Prev and Next button do not show products in order

Hi I see where the confusions is. In my third posting I said the following
"blank (Which was the original setting)" I asssumed there was some other setting you were trying to indicate I should change.

To clarify my original setting was blank in this field and I changed it to 6a as per your instructions. This gives the correct sort order for a "Listing" but does not apply this "Sort by numbers" to the "Prev" or "Next" buttons that appears when you click on an item in that list.

Cheers
Tony

23 Aug 2009, 4:42 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Prev and Next button do not show products in order

Each page has its own Sort Order ...

The product _info page is set in the Configuration ... Product Info ...

Previous Next - Sort Order
Products Display Order by
0= Product ID
1= Product Name
2= Model
3= Price, Product Name
4= Price, Model
5= Product Name, Model
6= Product Sort Order

What is this set to?

23 Aug 2009, 5:08 PM
#11
veronicathecow avatar

veronicathecow

New Zenner

Join Date:
Jun 2009
Posts:
65
Plugin Contributions:
0

Re: Prev and Next button do not show products in order

All sorted.
You are a genius, I really didn't think it could be done without code.
Many thanks again for your patience and prompt help.
Tony

24 Aug 2009, 2:03 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Prev and Next button do not show products in order

You are most welcome ... thanks for the update that you were able to configure your shop correctly ... :smile: