Sorting featured products by custom sort order
-
In the plugin, WooCommerce Extra Product Sorting Options, I would like to set my sort order for Featured Products to the sort order that I set in my product admin.
(I used this plugin code found at the link below to enable the sort order for featured Products. The one at the end of the post. Worked Great!)Would I change or add to this part of the php here, And what?
case ‘featured_first’:
$sort_args[‘orderby’] = ‘meta_value’;
$sort_args[‘order’] = ‘desc’;
$sort_args[‘meta_key’] = ‘_featured’;
break;
Your plugin works great, I just need the custom sorting to feature the products in a more enticing order.Thanks So Much and Love The Plugin!
AricMyCira.com
https://wordpress.org/plugins/woocommerce-extra-product-sorting-options/
- The topic ‘Sorting featured products by custom sort order’ is closed to new replies.