Random order WC3
-
Hello,
I use WooCommerce 2 and updated to the last update of WooCommerce 3.
In my home, I use a random order with a function in functions.php
add_filter('woocommerce_get_catalog_ordering_args', 'set_sort_order'); function set_sort_order($args) { $args['orderby'] = 'rand'; return ($args); }
With WC2.6 it worked but I think after updated WC3, this code doesn’t work.
Is there some change with WC3?
Thank you and best regards
EDIT: or maybe the new products are display before the other even if there is random order?… Is it possible? (think)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Random order WC3’ is closed to new replies.