Hello Leo,
I figured so π I was hoping this could be a way around the mega menu issue from earlier.
Maybe adding this for mobile (below) and try to style it like the GP “Default product sorting”.
add_action( 'woocommerce_before_shop_loop', 'gp_filter_by_tag', 31 );
function gp_filter_by_tag() {
if ( is_product_category() ) {
wc_product_dropdown_categories();
}
wc_enqueue_js( "
$('#product_cat').change(function () {
location.href = '/product-category/' + $(this).val();
});
" );
}
Woo Product Dropdown
Possible with some simple CSS?