Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Sort order help needed

Sort order help needed

Started by jgold723 on 21 Feb 2013, 4:09 PM · Views: 1,146

Results 1 to 12 of 12
21 Feb 2013, 4:09 PM
#1
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Post #1 by jgold723

I am baffled by the sorting logic in ZC. (1.3.9h)

I'm trying to control the order in which my customers view the products.

On the product page I see a "sort order" box. And in the admin section, I see a couple of different spots where I presumably can control sorting, but nothing seems logical to me.

Can someone point me to a FAQ or tutorial on how I go about this?

Thanks,

John

21 Feb 2013, 5:41 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

What page are you attempting to have sorted and by what criteria??

Zen-Venom Get Bitten

21 Feb 2013, 6:05 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

What do you have for
admin > config > product listing > Display Product Listing Default Sort Order >???

Zen-Venom Get Bitten

21 Feb 2013, 6:13 PM
#5
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Post #5 by jgold723

This is blank.

21 Feb 2013, 6:15 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #6 by kobra

This is blank
Enter your preferred sort method following the example guide

Zen-Venom Get Bitten

21 Feb 2013, 6:25 PM
#7
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Post #7 by jgold723

Thanks -- but I didn't understand how that works. The example given is "2a" I'm guessing it means sort ascending on field 2? But I don't know what field 2 is? Or what the numbers of the other fields are.

21 Feb 2013, 6:38 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #8 by kobra

The first seven entries one can add a number or a "0" to denote what order they are to be displayed in
So if one wants this to be "product name" enter a "1" and then in Display Product Listing Default Sort Order a "1a"

Zen-Venom Get Bitten

21 Feb 2013, 6:57 PM
#9
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Post #9 by jgold723

Sorry -- I feel awfully thick, but I need some clarification:

The first seven entries of what? Do you mean the items on the Product listing page (Display Product Image, Display Product Manufacturing Name, etc.?)

21 Feb 2013, 9:27 PM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #10 by kobra

The first seven entries of what? Do you mean the items on the Product listing page (Display Product Image, Display Product Manufacturing Name, etc.?)
Yes exactly those first 7

Zen-Venom Get Bitten

22 Feb 2013, 11:12 AM
#11
jgold723 avatar

jgold723

Zen Follower

Join Date:
Dec 2010
Posts:
362
Plugin Contributions:
0

Post #11 by jgold723

Ah, thank you! Now what if we want to sort on the "sort order" field? Just enter a number there? Does that affect the sorting in the front end, back end or both?

22 Feb 2013, 6:25 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #12 by kobra

Frontend

Zen-Venom Get Bitten