If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WooCommerce. How to display single and multiple products by ID or SKU

This video tutorial will show you how to display single and multiple products by ID or SKU in WooCommerce templates.

  1. Login to WordPress admin panel and Click on the Add New Page or Post.

    WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-1
  2. In order to display single product by ID add this code to the page’s body

     [product id="99"] 
    WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-2
  3. In order to display single product by SKU add this code to the page’s body

    [product sku="FOO"]
    WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-3
  4. In order to display multiple products by ID add this code to the page’s body

    [products ids="1, 2, 3, 4, 5"] 
    WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-4
  5. In order to display multiple products by SKU add this code to the page’s body

    [products skus="foo, bar, baz" orderby="date" order="desc"]
    WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-5
  6. To find the Product ID, go to the Products screen, hover over the product and the ID will appear.

    WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-6
  7. 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).

    WooCommerce.How_to_display_single_and_multiple_products_by_ID_or_SKU-7
  8. Then go to your site to check the newly created page/post.

Feel free to check the detailed video tutorial below:

WooCommerce. How to display single and multiple products by ID or SKU
 
Live Chat
We help you to choose the right product.
Start chat