shortcode - Order Woocommerce Products by Latest Reviewed

In my Woocommerce site, I have:[recent_products per_page="16" columns="4"]which as the shortcode inf

In my Woocommerce site, I have:

[recent_products per_page="16" columns="4"]

which as the shortcode infers, orders products by the most recent.

If I wanted to order my products by the ones latest reviewed, how would I go about doing that? Would it be as simple as:

[recent_products per_page="16" columns="4" orderby="meta_key" ]

Thanks!

In my Woocommerce site, I have:

[recent_products per_page="16" columns="4"]

which as the shortcode infers, orders products by the most recent.

If I wanted to order my products by the ones latest reviewed, how would I go about doing that? Would it be as simple as:

[recent_products per_page="16" columns="4" orderby="meta_key" ]

Thanks!

Share Improve this question edited Oct 2, 2015 at 20:08 Yazmin asked Oct 2, 2015 at 20:01 YazminYazmin 3275 silver badges15 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

WooCommerce includes several options in the core plugin for sorting your products on the Shop page. However, most people don’t realize that there’s actually an option for WooCommerce custom product sorting. By default, you’re given 6 options:

  1. Default Sorting (custom + name)
  2. Popularity (sales)
  3. Average rating
  4. Most recent
  5. Sort by price (ascending)
  6. Sort by price (descending)

Under WooCommerce > Settings > Products, change the “Default Product Sorting” to “Default Setting (custom ordering + name)” and we’ll get going from there.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744986044a4604615.html

相关推荐

  • shortcode - Order Woocommerce Products by Latest Reviewed

    In my Woocommerce site, I have:[recent_products per_page="16" columns="4"]which as the shortcode inf

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信