Using this option, you can display products in a random order. However, when a user clicks on the pagination links, the product order remains the same.
To use this option, Go to admin panel > Customizer > WooCommerce > Product archive/shop > Pagination on/off settings from here and below select pagination style. For more understanding, see below image.
