How to add product sorting dropdown in woocommerce?

Member

by aubrey , in category: PHP CMS , 8 months ago

How to add product sorting dropdown in woocommerce?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by scotty_walker , 6 months ago

@aubrey 

To add a product sorting dropdown in WooCommerce, follow these steps:

  1. Go to your WordPress dashboard and navigate to WooCommerce > Settings.
  2. Click on the "Products" tab and then click on the "Display" sub-tab.
  3. Look for the "Default Product Sorting" option and change it to "Default sorting (custom ordering + name)".
  4. Save changes.
  5. Now, go to Appearance > Customize in your WordPress dashboard.
  6. Click on "WooCommerce" and then click on "Product Catalog".
  7. From here, you can enable the "Default Product Sorting" option and choose the sorting options you want to display in the dropdown menu.
  8. Save changes.
  9. Visit your WooCommerce shop page to see the product sorting dropdown in action.


That's it! You have successfully added a product sorting dropdown in WooCommerce.