Answer the question
In order to leave comments, you need to log in
Appearance of sorting products in category as buttons instead of woocommerce dropdown list?
How to change the appearance of sorting products in a category in the form of buttons
Answer the question
In order to leave comments, you need to log in
In the orderby.php file, you can replace select with links like this
<?php foreach ( $catalog_orderby_options as $id => $name ) : ?>
<a href="?orderby=<?php echo esc_attr( $id );?>" class="orderby-link"><?php echo esc_html( $name )?></a>
<?php endforeach; ?>
Override this template https://github.com/woocommerce/woocommerce/blob/8d...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question