[Super easy] How to change the sort order in the WooCommerce product listing

はるるるr
In

a production project using WooCommerce, I sometimes changed the order of the products on the product page.

( ^ω^)...

Huh? How do you do it?

I was confused

for a moment, so I'm writing it as a memorandum for my future self.

It's very easy, so I think you should memorize it.

Method 1: Change settings from the management screen

First, I will introduce the method I used this time.

  1. Log in to your WordPress admin and go to the WooCommerce 'Settings' menu.
  2. Click the View tab to see options for sorting the product list page.
  3. Here, you can set the "default sort order" to your liking, such as "popular" or "latest".

Method 2: Sort using menu order

"Menu Order" is a feature that allows you to manually set the sort order for each product.

  1. In the Product Data section of each product editing screen, there is an Advanced tab.
  2. There is an item called "Menu Order", and the smaller the number you enter here, the earlier it will appear in the product list.

This setting allows you to customize the order of your products freely.

Method 3: Customize the Theme

As an aside, you can also add custom code to functions.php files to give you more control over the sorting order. (Details omitted)

end

By changing the order of your WooCommerce product listings, you can effectively place products that are more likely to catch the eye of users.

If you use the order of the menu, you can achieve the order you want, so please give it a try.

おすすめ記事

お問い合わせ

WEB制作、動画制作、オンライン配信、SNS運用代行などお気軽にご相談、お問い合わせください。

お問い合わせはこちら