Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Sorting Button #1389

Closed
TillyD opened this issue Aug 19, 2012 · 4 comments
Closed

Default Sorting Button #1389

TillyD opened this issue Aug 19, 2012 · 4 comments
Milestone

Comments

@TillyD
Copy link

TillyD commented Aug 19, 2012

Is there supposed to be a Default Sorting Button on Shop (categories) page? Or is this a bug in my set up only? Can anyone tell me how to get rid of this - I don't need it, it is unsightly and it doesn't work. Please help.

@dv88
Copy link

dv88 commented Aug 20, 2012

I also have this issue. WP 3.4.1 (Twenty eleven theme) + Woocommerce 1.6.3. Recently moved from Oscommerce. I am selling small numbers of unique (one-off) items in categories and I don't need the sorting option on my shop page. As I have no use for it, can I remove/disable this button? I really like Woocommerce and would like to get further into it. If I can't get rid of this function, I'll have to use another ecommerce system. Please help.

@maxrice
Copy link
Contributor

maxrice commented Aug 20, 2012

This could probably be a feature in the core, but until then, you can add this to your theme's functions.php to remove the sorting option:

remove_action( 'woocommerce_pagination', 'woocommerce_catalog_ordering', 20 );

@dv88
Copy link

dv88 commented Aug 21, 2012

Added your suggestion to my child theme. Worked perfectly! Thankyou so much. Yeehah!

@mikejolley
Copy link
Member

Don't know if this justifies a core option - the filters are simple to use ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants