Hello,
I am using Joomla 5 php 8.2 and Phoca Cart 5.0.0Beta87
I have added several products and would like to change the order in which they display See attached image.
I would like to move Ladies Long Sleeve Shirt to appear after Mens Long Sleeve Shirt.
Is this possible?
Cheers
https://imgur.com/yP2wUxu
Change the order of products
-
- Phoca Member
- Posts: 12
- Joined: 03 Mar 2010, 02:28
- Nidzo
- Phoca Professional
- Posts: 430
- Joined: 07 Nov 2018, 14:55
-
- Phoca Member
- Posts: 12
- Joined: 03 Mar 2010, 02:28
Re: Change the order of products
Thank you for your speedy reply unfortunately your response made no difference in changing the order.
As there is no drag and drop feature in the admin of products, any other suggestions.
Cheers
As there is no drag and drop feature in the admin of products, any other suggestions.
Cheers
- Nidzo
- Phoca Professional
- Posts: 430
- Joined: 07 Nov 2018, 14:55
Re: Change the order of products
Use filter option and select category.
Set ordering to Ordering ascending.
Now you will get option to drag and drop option. (Three dots will be active)
In Phoca Cart options set Ordering option to Ordering ascending so it can be visible in frontend.
Set ordering to Ordering ascending.
Now you will get option to drag and drop option. (Three dots will be active)
In Phoca Cart options set Ordering option to Ordering ascending so it can be visible in frontend.
-
- Phoca Member
- Posts: 12
- Joined: 03 Mar 2010, 02:28
Re: Change the order of products
Perfect!!!!
Thank you for your speedy reply and solution.
Many thanks.
Thank you for your speedy reply and solution.
Many thanks.
-
- Phoca Member
- Posts: 36
- Joined: 22 Nov 2021, 02:18
Re: Change the order of products
This works 'inside a category' - but when I have a menu entry for 'products list' this includes more than one category and I didn't find any way how to reorder this view?
It doesn't matter if I reorder the categories in the backend - the frontend view always show the category in the same order.
So let's say we have category1 and category2. I can now reorder the products inside that categories, this works and the products inside a category are displayed in the ordered way.
But the frontend products list view now always shows:
>> all products from category1 (in correct order)
>> all products from category2 (in correct order)
I don't have a way to to make it this way, have I?
>> all products from category2 (in correct order)
>> all products from category1 (in correct order)
It doesn't matter if I reorder the categories in the backend - the frontend view always show the category in the same order.
So let's say we have category1 and category2. I can now reorder the products inside that categories, this works and the products inside a category are displayed in the ordered way.
But the frontend products list view now always shows:
>> all products from category1 (in correct order)
>> all products from category2 (in correct order)
I don't have a way to to make it this way, have I?
>> all products from category2 (in correct order)
>> all products from category1 (in correct order)
- Jan
- Phoca Hero
- Posts: 48648
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Change the order of products
Hi, yes, one product can be displayed in more categories, so for each category it has own ordering. If the list is displayed in items view, then first the category id and then ordering is set.
The category id is under review, it will be probably removed in 5.0.0 stable.
The category id is under review, it will be probably removed in 5.0.0 stable.
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 36
- Joined: 22 Nov 2021, 02:18
Re: Change the order of products
I saw your changes here https://github.com/PhocaCz/PhocaCart/co ... 19d971db3b - when we totally remove c.* specific stuff and I use a menu entry as productlist (and select 2,3 specific categories) I have no ordering control at all anymore?
The products from category 1 are in correct order but in this listing there are 'wild seperated / not ordered' products from category 2 (or 3,...) in the middle of all those products (one product from cat 2, then again 3 from cat 1, then again one product from cat 2, ....)
Wouldn't it make sense to use instead of only 
The products from category 1 are in correct order but in this listing there are 'wild seperated / not ordered' products from category 2 (or 3,...) in the middle of all those products (one product from cat 2, then again 3 from cat 1, then again one product from cat 2, ....)

Wouldn't it make sense to use
Code: Select all
case 1: default: return ['c.ordering ASC, pc.ordering ASC'];
Code: Select all
case 1: default: return ['pc.ordering ASC'];
