Woocommerce default sort not appearing and not in theme options

Good day,
I would like to change the default sorting for woo from ‘alpha’ to ‘most recent’. This is normally an easy task, but I don’t see an option to make these changes in the woo or product settings on the admin dashboard or even in the Pro>Theme Options>Woo panel.

In fact, the bar for the viewer to select which sort they prefer isn’t even visible.

Hey @ppe29,

The sort options of WooCommerce can be found or set in WP Admin > Appearance > Customize > WooCommerce > Product Catalog > Default product sorting. The reason why it’s hidden though is because of custom CSS. Please remove the custom CSS shown in the screenshot and the sort form will be displayed. This is not an issue with our theme. If you’re not sure where that code is located, please consult with a third-party developer.

Thanks.

They said it was the theme that was causing the issue. They staged the site elsewhere and using another theme can prove that the default sort shows when they switched over to 2019 Theme.

Hey @ppe29,

I checked your site and I see It’s the custom CSS you’ve added in WP Admin > Appearance > Customize > Additional CSS (see screenshot)

Please go to WP Admin > Appearance > Customize > Additional CSS and remove this part of your code:

/*
Remove default sort bar on recent builds
*/
.orderby {
Display: none;
}

Don’t forget to clear all caches including your browser’s cache after making this change. Let us know how this goes!

OK i found that bit of CSS and deleted it. I also cleared my cache. The option for the customer to choose their sort preference has appeared in the upper left, but I still don’t see the option for me to change the default sort order from ‘alpha’ to ‘most recent’ in either the woocommerce settings or in the PRO>Theme Options>Woo settings. According to another post I read on this forum, the place to make that change is in the PRO>Theme Options>Woo Settings. Any suggestions?

Hello @ppe29,

The sort product filter can be found in WooCommerce settings. Please go to Appearance > Customizer > WooCommerce > Product Catalog and change the default sorting filter.

Please let us know if this works out for you.

Yes! Once that bit of CSS was deleted, it made the product catalog option for default product visible again. Thanks so much @RueNel

On behalf of my colleague, you’re welcome. Cheers! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.