Sort order

Open to all! Ask other shopowners for help.
Post Reply
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

Sort order

Post by trophy »

I have a problem with the sorting of products by name.
I have products like this, "ARP Pinion 72P 9 Tooth ARP 7209"
Now if I add another product like this, "ARP Pinion 72P 10 Tooth ARP 7210"
When viewed the 10 tooth will be above or before the 9 tooth.
But if I put a zero or a full stop before the 9, like 09 or .9, then the 9 will be above or before the 10.
In the old OSC E commerce it was not a problem.
All help appreciated.


Join The Code Co-op to get access to your library in the Code Co-op Forum
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

Re: Sort order

Post by trophy »

Found the problem in the site viewing.
Went to product listing and found the sort options available.
Last edited by trophy on Sat Jan 15, 2022 3:50 am, edited 1 time in total.
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

Re: Sort order

Post by trophy »

What I have not been able to fix is the sort order in "categories/ products column"
With out the zero or decimal point the single digit products are at the bottom.
14Steve14
Senior Contributor
Posts: 922
Joined: Fri Oct 25, 2019 7:01 pm
Phoenix Version: v1.0.9.1
Has thanked: 17 times
Been thanked: 103 times

Re: Sort order

Post by 14Steve14 »

I had a similar problem with some electronic components and their product sizes. I eventually changed the model numbers so they were all in order and changed the sort setting within the code to sort by model number.

I did contact a few developers a few years ago and heard nothing back about actually adding a product sort order to the product listings within a category. It may now be possible as phoenix has changed since the early days. You may get a positive reaction from one of the developers now.
heatherbell
Senior Contributor
Posts: 2540
Joined: Mon Oct 07, 2019 4:39 am
Phoenix Version:
Has thanked: 35 times
Been thanked: 243 times

Re: Sort order

Post by heatherbell »

trophy wrote: Sat Jan 15, 2022 3:50 am What I have not been able to fix is the sort order in "categories/ products column"
With out the zero or decimal point the single digit products are at the bottom.
This add-on enables product sorting (as well as a lot more) - app.php/addons/paid_addon/zipur_product_manager/
trophy
Member
Posts: 62
Joined: Sat Jul 17, 2021 9:57 am
Phoenix Version:

Re: Sort order

Post by trophy »

Thanks for the replies,
The add-on looks great for what I want to do, also has an easy price updater which was going to be my next question.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply