I just noticed the exact same problem on my site too.
And it’s also Flatsome theme.
I was searching for a while who caused the problem until I deactivated this plugin and it solved the problem
For now I hid it with CSS as a temp solution.
.shop-container .woocommerce-ordering,
.shop-container .woocommerce-result-count {
display:none;
}
Thread Starter
harvis
(@harvis)
Hi @spakainas but that css just affect the duplicate only? or display none for both. I dont want filter next to the breadcrumbs dissappear becuase i think they use the same classes
Thread Starter
harvis
(@harvis)
@spakainas Your css worked, thank you so much. But this should not happen by default
Same problem here. The CSS works but it is a workaround not a solution 🙂
Thread Starter
harvis
(@harvis)
@manwlios at least this post help us for the workaround that @spakainas gave us ❤. I hope this is fixed soon.
In the file /includes/class-woocommerce-onsale-page.php at line 189, it says: you can comment these out to remove sorting dropdown and result count on the top of the on sale page. It means lines 190 and 191.
I tried this because I had the same problem with Uncode theme and it worked well.
The mentioned actions add the ordering select box and the result count text to every archive page, because these actions are not limited to only the OnSale Page.
So this is a request for developers: please add the necessary conditions to these actions, so ordering and result text will be shown only on the OnSale Page.
/includes/class-woocommerce-onsale-page.php at line 189-191
add_action( 'woocommerce_before_shop_loop','woocommerce_catalog_ordering', 30 );
add_action( 'woocommerce_before_shop_loop','woocommerce_result_count', 30 );