Support » Theme: Storefront » Change sorting dropdown to a product categories dropdown?

  • So, my boss got tired of paying Highwire and had me build our own eComm website. I used the Storefront theme, and like it very much. Thank you.

    He doesn’t like the sorting dropdown at the top of the products, or the fact that the product categories menu I’ve placed in the sidebar drops to the bottom of the page on mobile.

    Is there any way to replace the sorting dropdown with one that displays the product categories. For the time being I’ve made the dropdown disappear.

    I’ve tried fiddling with this ‘<?php wp_dropdown_categories( $args ); ?>’, but I’m just not proficient enough to get it to work with the product categories instead of blog categories.

    The website is thecvillestore.com

    Any help is greatly appreciated.

    Judah

Viewing 1 replies (of 1 total)
  • Hi,

    You could add the Product Categories widget to the header widget region. That would also cause it to appear above the main content on mobile as well. It has an option to display the categories as a select I believe.

    You’d then just need to remove the sidebar widgets and make your shop pages full width. To do that you’d just unhook the sidebar then add a little css for the width. Alternatively you can use the Storefront WooCommerce Customiser extension to do this, if you don’t have time for the code.

Viewing 1 replies (of 1 total)
  • The topic ‘Change sorting dropdown to a product categories dropdown?’ is closed to new replies.