{"id":72620,"date":"2016-07-01T08:48:13","date_gmt":"2016-07-01T12:48:13","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=72620"},"modified":"2016-07-21T07:29:01","modified_gmt":"2016-07-21T11:29:01","slug":"woocommerce-how-to-display-single-and-multiple-products-by-id-or-sku","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/woocommerce-how-to-display-single-and-multiple-products-by-id-or-sku.html","title":{"rendered":"WooCommerce. How to display single and multiple products by ID or SKU"},"content":{"rendered":"<p>This video tutorial will show you how to display single and multiple products by ID or SKU in WooCommerce templates.<\/p>\r\n\r\n <div class=\"video-container\">\r\n\t<iframe src=\"https:\/\/www.youtube.com\/embed\/RG1rMnOfJzg\"><\/iframe>\r\n<\/div>\r\n<ol>\r\n\t<li>\r\n\t\t<p>Login to WordPress admin panel and <strong> Click on the Add New Page or Post. <\/strong><\/p> \r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1-300x143.png\" alt=\"WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1\" width=\"300\" height=\"143\" class=\"alignnone size-medium wp-image-72621\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1-300x143.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1-150x71.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1-1024x488.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1.png 1263w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li> \r\n\t\r\n\t<li>\r\n\t\t<p>In order to display single product by ID add this code to the page&#8217;s body<\/p> <pre> [product id=\"99\"] <\/pre> \r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2-300x147.png\" alt=\"WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2\" width=\"300\" height=\"147\" class=\"alignnone size-medium wp-image-72622\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2-300x147.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2-150x74.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2-1024x502.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2.png 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n\t\r\n\t<li>\r\n\t\t<p>In order to display single product by SKU add this code to the page&#8217;s body<\/p> <pre>[product sku=\"FOO\"]<\/pre>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3-300x153.png\" alt=\"WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3\" width=\"300\" height=\"153\" class=\"alignnone size-medium wp-image-72623\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3-300x153.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3-150x77.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3-1024x523.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3.png 1273w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n\t\r\n\t<li>\r\n\t\t<p>In order to display multiple products by ID add this code to the page&#8217;s body<\/p> <pre>[products ids=\"1, 2, 3, 4, 5\"] <\/pre> \r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4-300x155.png\" alt=\"WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4\" width=\"300\" height=\"155\" class=\"alignnone size-medium wp-image-72624\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4-300x155.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4-150x78.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4-1024x529.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4.png 1271w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n\t\r\n\t<li>\r\n\t\t<p>In order to display multiple products by SKU add this code to the page&#8217;s body<\/p> <pre>[products skus=\"foo, bar, baz\" orderby=\"date\" order=\"desc\"]<\/pre>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5-300x150.png\" alt=\"WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5\" width=\"300\" height=\"150\" class=\"alignnone size-medium wp-image-72625\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5-300x150.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5-150x75.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5-1024x511.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5.png 1281w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n\t\r\n\t<li>\r\n\t<p>To find the Product ID, go to the Products screen, hover over the product and the ID will appear.<\/p> \r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6-300x144.png\" alt=\"WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6\" width=\"300\" height=\"144\" class=\"alignnone size-medium wp-image-72626\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6-300x144.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6-150x72.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6-1024x490.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6.png 1252w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n\t\r\n\t<li>\r\n\t<p>To find the Product SKU, go to the Products, open specific product and in the Product Data you will be able to find the SKU number (if number does not exist you should create the number).<\/p> \r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7-300x159.png\" alt=\"WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7\" width=\"300\" height=\"159\" class=\"alignnone size-medium wp-image-72627\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7-300x159.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7-150x79.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7-1024x542.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/07\/WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7.png 1273w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n\t\r\n    <li>\r\n\t\t<p>Then go to your site to check the newly created page\/post.<\/p>     \r\n\t<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=RG1rMnOfJzg?width=1280&amp;height=720\" rel=\"prettyPhoto\">WooCommerce. How to display single and multiple products by ID or SKU<\/a>","protected":false},"excerpt":{"rendered":"<p>This video tutorial will show you how to display single and multiple products by ID or SKU in WooCommerce templates.<\/p>\n","protected":false},"author":73,"featured_media":72628,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1556],"tags":[2343,1908,2418],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/72620"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=72620"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/72620\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/72628"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=72620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=72620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=72620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}