{"id":551,"date":"2021-01-26T08:19:35","date_gmt":"2021-01-26T08:19:35","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/?p=551"},"modified":"2022-05-30T05:50:41","modified_gmt":"2022-05-30T05:50:41","slug":"woocommerce-product-table-sort-options","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/woocommerce-product-table-sort-options\/","title":{"rendered":"WooCommerce sort product options in WooCommerce product table"},"content":{"rendered":"\n<p>Product table sort options is one of the most important features designed in the <a href=\"https:\/\/ithemelandco.com\/plugins\/woocommerce-product-table\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce Product Table<\/a> plugin to improve the WooCommerce sorting option and productivity of an ecommerce website.<\/p>\n\n\n\n<p>By using this feature, you can display your WooCommerce products in a sortable \/ filterable table view. It make choosing products even easier for your customers.<\/p>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How the sort products in the WooCommerce product table plugin works?<\/strong><\/h3>\n\n\n\n<p>Click on <strong>\u2018Add New Table\u2019 <\/strong>and active the &#8220;<strong>Query&#8221;<\/strong> tab. This tab has an option named <strong>\u2018Order by\u2019<\/strong>, and you can choose the attribute that you want your products to be sorted by.&nbsp;<\/p>\n\n\n\n<p>Next to the <strong>\u2018Order by\u2019<\/strong> option, there is the \u2018<strong>Order\u2019<\/strong> option and this is where you can choose an ascending\/ descending order for the product table.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/01\/9-order-by.jpg\"><img fetchpriority=\"high\" decoding=\"async\" width=\"824\" height=\"415\" src=\"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-content\/uploads\/sites\/3\/2021\/01\/9-order-by.jpg\" alt=\"set order the attribute that you want your product table to be sorted by\" class=\"wp-image-552\"\/><\/a><figcaption>WooCommerce product order by date, ID, title, price and many more<\/figcaption><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p> <strong><em>Note:<\/em><\/strong>&nbsp;<em>The product attributes can usually be ordered alphabetically and sometimes aren\u2019t correctly ordered numerically. To prevent this from happening in the Product table sort option, you can set the intended attribute name like this: 01, 02, 03 and so on, instead of 1 ,2, 3,\u2026 .&nbsp;<\/em><\/p><\/blockquote>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>WooCommerce product table sort options<\/strong><\/h3>\n\n\n\n<p>To order the WooCommerce products by any of the following attributes, you just have to choose the desired attribute. It can be accessed from the dropdown menu under the <strong>\u2018Order By\u2019<\/strong> option in &#8220;<strong>Query<\/strong>&#8221; settings:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Name<\/strong> \u2013 sort by product name.<\/li><li><strong>Menu_order<\/strong> \u2013 sort by the order listed in the products menu when in the \u201csorting\u201d view.<\/li><li><strong>ID<\/strong> \u2013 sort by product ID.<\/li><li><strong>SKU<\/strong> \u2013 WooCommerce sort by product SKU.<\/li><li><strong>Cf:[field]<\/strong> \u2013 sort by custom field (replacing [field] with your custom field name).<\/li><li><strong>Price<\/strong> \u2013 sort by price.<\/li><li><strong>Popularity<\/strong> \u2013 sort by total number of sales (see our tutorial on listing your best selling products).<\/li><li><strong>Reviews<\/strong> \u2013 sort by average customer review.<\/li><li><strong>Date<\/strong> \u2013 WooCommerce order by product publish date.<\/li><li><strong>Modified<\/strong> \u2013 WooCommerce sort product by last update date.<\/li><li><strong>Rand<\/strong> \u2013 apply random ordering.<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Changing the order of attributes by product table sort options<\/strong><\/h3>\n\n\n\n<p>You might also want to change the order of products in filter dropdowns above the product table. By using this feature of the product table sort option, it will be easier for customers to find a certain product.\u00a0<\/p>\n\n\n\n<p>For that you need to add the order filed above the product table through \u2018<strong>Search Box and Pagination<\/strong>\u2019 Tab.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>Product table sort options can help organize your website and make it easier for the customers to find what they want.<\/p>\n\n\n\n<p>Nothing is worse than having to go through hundreds of products on a website. Just because the product table is not sorted and makes it hard to find a specific product.&nbsp;<\/p>\n\n\n\n<p>The sorting options in <a href=\"https:\/\/ithemelandco.com\/plugins\/woocommerce-product-table\/\" target=\"_blank\" aria-label=\"undefined (opens in a new tab)\" rel=\"noreferrer noopener\">WooCommerce Product Table<\/a> plugin has made it easier to order the products. You can sort based on any product attribute that your customers want.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Try this sort option out and turned the appearance of your online store&nbsp;more convenient and customer-friendly.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Product table sort options is one of the most important features designed in the WooCommerce Product Table plugin to improve the WooCommerce sorting option and productivity of an ecommerce website. By using this feature, you can display your WooCommerce products in a sortable \/ filterable table view. It make choosing products even easier for your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-551","post","type-post","status-publish","format-standard","hentry","category-plugin-usage"],"_links":{"self":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/posts\/551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/comments?post=551"}],"version-history":[{"count":0,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/posts\/551\/revisions"}],"wp:attachment":[{"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/media?parent=551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/categories?post=551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woocommerce-product-table\/wp-json\/wp\/v2\/tags?post=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}