Just set up my first shop (affiliate site) using Woocommerce.
On the category page, can I somehow show featured products first in the list of products displayed?
For example, if I have chosen to check the star for a featured product, is there any way I can show it first of all?
I know there are some shortcodes and plugins that do something like it, but I want it to show by default in the products category page.
Haven’t been able to try anything, since I don’t know what to do.
2
Answers
go to product edit page -> advanced tab
then :
set -1 for order setting
I have also been looking for this for a long time and have solved it this way so far.
Note: This plugin is free. Basically, it has certain limitations. Only a few Featured Products are displayed first in the categories and on the store page.
2. I got around this limit by simply adding code to your function.php in your Child theme.
Code:
Now your Featured Products should appear first (at the top) on the store page and in all categories. By latest date added.
Other products that are not Featured are displayed by the most recent Addition date under Featured products.
Example: You add the products Product 1: on 7/10/2023, Product 2: on 8/15/2023, Product 3: on 8/20/2023 and Product 4: on 9/10/2023
You mark Product 4 and Product 2 as Featured and leave the others unmarked.
Subsequently, the products will be sorted as follows: First will be Product 4, then Product 2, because they are marked as Featured and were sorted by date of addition from the most recent. Then other products will be displayed. Product 3 and finally Product 1, also by date of addition from the most recent.
It’s not the best method, but it’s free and works for me.
Good luck