Revert "Fix: the same set of related products is always displayed"

This reverts commit 8095482f69.
This commit is contained in:
roykho 2021-08-17 06:43:13 -07:00
parent 8fc395c57d
commit 64b99d56f4
No known key found for this signature in database
GPG Key ID: 7B36C0EA25795714
1 changed files with 0 additions and 2 deletions

View File

@ -1315,8 +1315,6 @@ class WC_Product_Data_Store_CPT extends WC_Data_Store_WP implements WC_Object_Da
AND p.post_type = 'product'
",
'orderby' => '
ORDER BY RAND()',
'limits' => '
LIMIT ' . absint( $limit ) . '
',