{"id":26333,"date":"2026-02-04T00:35:00","date_gmt":"2026-02-03T19:05:00","guid":{"rendered":"https:\/\/themehunk.com\/?p=26333"},"modified":"2026-04-08T13:28:25","modified_gmt":"2026-04-08T07:58:25","slug":"woocommerce-shortcodes","status":"publish","type":"post","link":"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/","title":{"rendered":"How to use WooCommerce Shortcodes in WordPress 2026"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Have you used <strong>WooCommerce Shortcodes<\/strong> in WordPress? or did you know How to use WooCommerce Shortcodes in WordPress?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you don&#8217;t, then don&#8217;t worry, today in this blog I will tell you everything about <a href=\"https:\/\/themehunk.com\/fr\/tag\/woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce<\/a> Shortcodes in WordPress.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Today I will tell you, How to use WooCommerce Shortcodes on your WordPress Website.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#What_is_WooCommerce_Shortcodes\" >What is WooCommerce Shortcodes?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#What_types_of_WooCommerce_Shortcodes_are_there\" >What types of WooCommerce Shortcodes are there?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#How_to_use_WooCommerce_Shortcodes_in_WordPress\" >How to use WooCommerce Shortcodes in WordPress?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Where_to_insert_WooCommerce_Shortcodes\" >Where to insert WooCommerce Shortcodes?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#WooCommerce_Page_Shortcodes\" >WooCommerce Page&nbsp;Shortcodes<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Cart_Page_Shortcode\" >Cart Page Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Checkout_Page_Shortcode\" >Checkout Page Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#My_Account_Shortcode\" >My Account Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Order_Tracking_Shortcode\" >Order Tracking Shortcode<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#WooCommerce_Product_Shortcodes\" >WooCommerce Product Shortcodes<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Product_Display_Shortcode\" >Product Display Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Single_Product_Display_Shortcode_by_Product_%E2%80%98ID\" >Single Product Display Shortcode by Product &#8216;ID&#8217;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Multiple_Product_Display_Shortcode_by_Product_%E2%80%98ID\" >Multiple Product Display Shortcode by Product &#8216;ID&#8217;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Random_sale_products_list_Display_Shortcode\" >Random sale products list Display Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Featured_Products_list_Display_Shortcode\" >Featured Products list Display Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Best_Selling_Product_Display_Shortcode\" >Best Selling Product Display Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Newest_Products_Display_Shortcode\" >Newest Products Display Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Specific_Categories_Product_Display_Shortcode\" >Specific Categories Product Display Shortcode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Show_Only_Products_With_Tag_Shortcode\" >Show Only Products With Tag Shortcode<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-20\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#WooCommerce_Product_Category_Shortcode\" >WooCommerce Product Category Shortcode<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-21\" href=\"https:\/\/themehunk.com\/fr\/woocommerce-shortcodes\/#Display_Top_Level_Categories_Only_Shortcode\" >Display Top Level Categories Only Shortcode<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-what-are-woocommerce-shortcodes\"><span class=\"ez-toc-section\" id=\"What_is_WooCommerce_Shortcodes\"><\/span>What is WooCommerce Shortcodes?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Shortcodes in WooCommerce allow you to add various types of functionality to your post, pages, widget, sidebar, etc without any type to write code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, you can add a creative slider by using a shortcode, or you can insert any of your products in the post and page in <a href=\"https:\/\/themehunk.com\/fr\/tag\/wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WooCommerce shortcodes help you display anything from your shop in new ways. WooCommerce comes pre-built with shortcodes, and you can install plugins to add more shortcodes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-what-types-of-woocommerce-shortcodes-are-there\"><span class=\"ez-toc-section\" id=\"What_types_of_WooCommerce_Shortcodes_are_there\"><\/span><strong>What types of WooCommerce Shortcodes are there?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are various types of shortcodes are there like-<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Product Shortcodes<\/li>\n\n\n\n<li>Pages Shortcodes<\/li>\n\n\n\n<li>Products page shortcodes<\/li>\n\n\n\n<li>My Account and cart shortcodes<\/li>\n\n\n\n<li>Category shortcodes, <strong>etc<\/strong>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-use-woocommerce-shortcodes-in-wordpress\"><span class=\"ez-toc-section\" id=\"How_to_use_WooCommerce_Shortcodes_in_WordPress\"><\/span><strong>How to use WooCommerce Shortcodes in WordPress<\/strong>?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WooCommerce comes with several shortcodes that can be used to insert content inside posts and pages, you can use various types of shortcodes for inserting your products in any pages or posts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s Know about all WooCommerce Shortcodes and how effectively you can use those shortcodes in WordPress.  <\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-where-to-insert-woocommerce-shortcodes\"><span class=\"ez-toc-section\" id=\"Where_to_insert_WooCommerce_Shortcodes\"><\/span>Where to insert WooCommerce Shortcodes?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can insert the Shortcodes on any page or post, for inserting shortcodes <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1-<\/strong> Click on the Plus <strong>(+)<\/strong> icon as shown in the screenshot below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2-<\/strong> Enter the shortcode in the box as shown in the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-shortcodes-page-31.png?ssl=1\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"525\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-shortcodes-page-31.png?resize=1024%2C525&#038;ssl=1\" alt=\"How to use WooCommerce Shortcodes and display on a website.\" class=\"wp-image-26350\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-shortcodes-page-31.png?resize=1024%2C525&amp;ssl=1 1024w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-shortcodes-page-31.png?resize=300%2C154&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-shortcodes-page-31.png?resize=768%2C394&amp;ssl=1 768w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-shortcodes-page-31.png?w=1378&amp;ssl=1 1378w\" sizes=\"(max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Following are the shortcuts that you can use &#8211;<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-woocommerce-page-shortcodes\"><span class=\"ez-toc-section\" id=\"WooCommerce_Page_Shortcodes\"><\/span>WooCommerce Page&nbsp;Shortcodes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-cart-page-shortcode\"><span class=\"ez-toc-section\" id=\"Cart_Page_Shortcode\"><\/span>Cart Page Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This Shortcode is for the cart page, in this page you can display cart page content, like orders and coupon codes. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To use the cart shortcode copy the below shortcode and paste it to the editor, and publish the page<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;woocommerce_cart]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After adding the shortcode, you can see the preview of the page, as shown in the screenshot below. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/cart-page-shortcode-831.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"861\" height=\"752\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/cart-page-shortcode-831.png?resize=861%2C752&#038;ssl=1\" alt=\"how to use woocommerce cart page shortcode \" class=\"wp-image-26362\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/cart-page-shortcode-831.png?w=861&amp;ssl=1 861w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/cart-page-shortcode-831.png?resize=300%2C262&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/cart-page-shortcode-831.png?resize=768%2C671&amp;ssl=1 768w\" sizes=\"(max-width: 861px) 100vw, 861px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-checkout-page-shortcode\"><span class=\"ez-toc-section\" id=\"Checkout_Page_Shortcode\"><\/span>Checkout Page Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Use this checkout shortcode to display further checkout process on the checkout page.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;woocommerce_checkout]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After adding the checkout shortcode, you can see the preview of the page, as shown in the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/checkout-page-short-code-731.png?ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"850\" height=\"773\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/checkout-page-short-code-731.png?resize=850%2C773&#038;ssl=1\" alt=\"how to display the checkout page shortcode \" class=\"wp-image-26364\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/checkout-page-short-code-731.png?w=850&amp;ssl=1 850w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/checkout-page-short-code-731.png?resize=300%2C273&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/checkout-page-short-code-731.png?resize=768%2C698&amp;ssl=1 768w\" sizes=\"(max-width: 850px) 100vw, 850px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-my-account-shortcode\"><span class=\"ez-toc-section\" id=\"My_Account_Shortcode\"><\/span>My Account Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">With an Account shortcode, customers can view their past orders, and also they can update their account information.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;woocommerce_my_account]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After adding the My Account shortcode, you can see the preview of the page, as shown in the screenshot below. Here your customers can manage their orders, Addresses, etc.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/my-account-short-code-41.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"878\" height=\"404\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/my-account-short-code-41.png?resize=878%2C404&#038;ssl=1\" alt=\"how to use my account page shortcode in WooCommerce \" class=\"wp-image-26366\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/my-account-short-code-41.png?w=878&amp;ssl=1 878w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/my-account-short-code-41.png?resize=300%2C138&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/my-account-short-code-41.png?resize=768%2C353&amp;ssl=1 768w\" sizes=\"(max-width: 878px) 100vw, 878px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-order-tracking-shortcode\"><span class=\"ez-toc-section\" id=\"Order_Tracking_Shortcode\"><\/span>Order Tracking Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">By using the order tracking shortcode, customers can track their orders.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;woocommerce_order_tracking]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After adding the order tracking shortcode, you can see the preview of the page, as shown in the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-order-tracking-shortcode-42.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"867\" height=\"333\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-order-tracking-shortcode-42.png?resize=867%2C333&#038;ssl=1\" alt=\"shortcode for order tracking page\" class=\"wp-image-26367\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-order-tracking-shortcode-42.png?w=867&amp;ssl=1 867w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-order-tracking-shortcode-42.png?resize=300%2C115&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-order-tracking-shortcode-42.png?resize=768%2C295&amp;ssl=1 768w\" sizes=\"(max-width: 867px) 100vw, 867px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-woocommerce-product-shortcodes\"><span class=\"ez-toc-section\" id=\"WooCommerce_Product_Shortcodes\"><\/span>WooCommerce Product Shortcodes<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The product shortcode allows you to display products by post <strong>ID<\/strong>, <strong>SKU<\/strong>, <strong>categories<\/strong>, and <strong>attributes<\/strong>, with support for pagination, random sorting, and product tags, replacing the need for multiple shortcodes.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-product-display-shortcode\"><span class=\"ez-toc-section\" id=\"Product_Display_Shortcode\"><\/span>Product Display Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">The product shortcode can be used to display the simple layout with products, use the below shortcode to display the products.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After adding the shortcode, publish the page, and preview the product page, as shown in the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-simple-product-display-14.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"594\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-simple-product-display-14.png?resize=847%2C594&#038;ssl=1\" alt=\"display products in woocommerce\" class=\"wp-image-26368\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-simple-product-display-14.png?w=847&amp;ssl=1 847w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-simple-product-display-14.png?resize=300%2C210&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-simple-product-display-14.png?resize=768%2C539&amp;ssl=1 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-single-product-display-shortcode-by-product-id\"><span class=\"ez-toc-section\" id=\"Single_Product_Display_Shortcode_by_Product_%E2%80%98ID\"><\/span>Single Product Display Shortcode by Product &#8216;ID&#8217;<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This will show the product by its \u2018id\u2019. you can display a single product by its product &#8216;id&#8217;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;product id=\"33\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To Find the product &#8216;id&#8217; of any product go to <strong>Dashboard<\/strong> &gt; <strong>Products<\/strong> &gt;<strong>All<\/strong> <strong>Products<\/strong> and here you will see the products &#8216;id&#8217;, as shown in the screenshot below. Just replace the product &#8216;id&#8217; in the shortcode and publish the page.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-product-id-shortcode-41.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"879\" height=\"220\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-product-id-shortcode-41.png?resize=879%2C220&#038;ssl=1\" alt=\"shortcode to display products on woocommerce with product ids\" class=\"wp-image-26369\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-product-id-shortcode-41.png?w=879&amp;ssl=1 879w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-product-id-shortcode-41.png?resize=300%2C75&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-product-id-shortcode-41.png?resize=768%2C192&amp;ssl=1 768w\" sizes=\"(max-width: 879px) 100vw, 879px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After adding the shortcode, publish the page, and preview the product page, as shown in the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/Screenshot-2021-02-27-at-5.53.51-PM.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"862\" height=\"407\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/Screenshot-2021-02-27-at-5.53.51-PM.png?resize=862%2C407&#038;ssl=1\" alt=\"use shortcodes\" class=\"wp-image-26370\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/Screenshot-2021-02-27-at-5.53.51-PM.png?w=862&amp;ssl=1 862w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/Screenshot-2021-02-27-at-5.53.51-PM.png?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/Screenshot-2021-02-27-at-5.53.51-PM.png?resize=768%2C363&amp;ssl=1 768w\" sizes=\"(max-width: 862px) 100vw, 862px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-multiple-product-display-shortcode-by-product-id\"><span class=\"ez-toc-section\" id=\"Multiple_Product_Display_Shortcode_by_Product_%E2%80%98ID\"><\/span>Multiple Product Display Shortcode by Product &#8216;ID&#8217;<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This will show the product by its \u2018<strong>ids<\/strong>\u2019. you can display multiple products by their product &#8216;ids&#8217;, use the below shortcode to display multiple products.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It shows multiple products at a time, you need to just put the product <strong>id<\/strong> separated by a comma.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products ids=\"1, 2, 3, 4, 5\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Just like a single product <strong>&#8216;id&#8217;<\/strong> just pick up more than one product id and replace it with the above <strong>&#8216;ids&#8217; <\/strong>to display your chosen product &#8216;<strong>ids<\/strong>&#8216;.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-ids-shortcode-products-41.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"860\" height=\"400\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-ids-shortcode-products-41.png?resize=860%2C400&#038;ssl=1\" alt=\"multiple products shortcode by product id in woocommerce\" class=\"wp-image-26373\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-ids-shortcode-products-41.png?w=860&amp;ssl=1 860w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-ids-shortcode-products-41.png?resize=300%2C140&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/02\/woo-commerce-ids-shortcode-products-41.png?resize=768%2C357&amp;ssl=1 768w\" sizes=\"(max-width: 860px) 100vw, 860px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-random-sale-products-list-display-shortcode\"><span class=\"ez-toc-section\" id=\"Random_sale_products_list_Display_Shortcode\"><\/span>Random sale products list Display Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">With the help of this shortcode, you can display your on-sale products in columns.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products limit=\"4\" columns=\"4\" orderby=\"popularity\" class=\"quick-sale\" on_sale=\"true\" ]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Just like the below screenshot, the Random Sale Products will display on your website. Remember, in Randon sales products, only the sale products will display. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/Screenshot-2021-02-27-at-6.30.05-PM.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"862\" height=\"350\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/Screenshot-2021-02-27-at-6.30.05-PM.png?resize=862%2C350&#038;ssl=1\" alt=\"randon sale product shortcode\" class=\"wp-image-26415\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/Screenshot-2021-02-27-at-6.30.05-PM.png?w=862&amp;ssl=1 862w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/Screenshot-2021-02-27-at-6.30.05-PM.png?resize=300%2C122&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/Screenshot-2021-02-27-at-6.30.05-PM.png?resize=768%2C312&amp;ssl=1 768w\" sizes=\"(max-width: 862px) 100vw, 862px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-featured-products-list-display-shortcode\"><span class=\"ez-toc-section\" id=\"Featured_Products_list_Display_Shortcode\"><\/span>Featured Products list Display Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This shortcode says up to four products will load in four columns, and that they must be featured.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use this shortcode to display your website&#8217;s featured products anywhere.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products limit=\"4\" columns=\"4\" visibility=\"featured\" ]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After applying the shortcode, the Featured Products on your website will look like the below-given screenshot. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-featured-product-shortcode-31.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"842\" height=\"340\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-featured-product-shortcode-31.png?resize=842%2C340&#038;ssl=1\" alt=\"featured products shortcode \" class=\"wp-image-26420\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-featured-product-shortcode-31.png?w=842&amp;ssl=1 842w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-featured-product-shortcode-31.png?resize=300%2C121&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-featured-product-shortcode-31.png?resize=768%2C310&amp;ssl=1 768w\" sizes=\"(max-width: 842px) 100vw, 842px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-best-selling-product-display-shortcode\"><span class=\"ez-toc-section\" id=\"Best_Selling_Product_Display_Shortcode\"><\/span>Best Selling Product Display Shortcode<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In this shortcode, the Best Selling Products, According to your website, will display on your post or pages.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products limit=\"3\" columns=\"3\" best_selling=\"true\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The Best Selling Products on your website will look like the below screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/best-selling-woo-commerce-product-shortcode-315.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"395\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/best-selling-woo-commerce-product-shortcode-315.png?resize=841%2C395&#038;ssl=1\" alt=\"best selling product display shortcode for woocommerce\" class=\"wp-image-26422\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/best-selling-woo-commerce-product-shortcode-315.png?w=841&amp;ssl=1 841w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/best-selling-woo-commerce-product-shortcode-315.png?resize=300%2C141&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/best-selling-woo-commerce-product-shortcode-315.png?resize=768%2C361&amp;ssl=1 768w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-newest-products-display-shortcode\"><span class=\"ez-toc-section\" id=\"Newest_Products_Display_Shortcode\"><\/span><strong>Newest Products Display Shortcode<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to display the newest products first, then you can use this shortcode.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products limit=\"4\" columns=\"4\" orderby=\"id\" order=\"DESC\" visibility=\"visible\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This is how your newest products will look on your website, to your customers.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/newest-product-shortcode-woo-commerce-731.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"836\" height=\"345\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/newest-product-shortcode-woo-commerce-731.png?resize=836%2C345&#038;ssl=1\" alt=\"shortcode to display newest products in woocommerce website\" class=\"wp-image-26461\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/newest-product-shortcode-woo-commerce-731.png?w=836&amp;ssl=1 836w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/newest-product-shortcode-woo-commerce-731.png?resize=300%2C124&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/newest-product-shortcode-woo-commerce-731.png?resize=768%2C317&amp;ssl=1 768w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-specific-categories-product-display-shortcode\"><span class=\"ez-toc-section\" id=\"Specific_Categories_Product_Display_Shortcode\"><\/span><strong>Specific Categories Product Display Shortcode<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">In this Shortcode, you can display a specific category of your store. like we have used the &#8220;<strong>fashion<\/strong>&#8221; category on the below shortcode, you can replace it via your choice of category.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products limit=\"8\" columns=\"4\" category=\"fashion\" cat_operator=\"AND\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You can see the below image, of how will your Selected specific categories of products will display on your website.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woocommerce-shortcode-for-specific-category-381.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"593\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woocommerce-shortcode-for-specific-category-381.png?resize=841%2C593&#038;ssl=1\" alt=\"shortcode for specific category display \" class=\"wp-image-26465\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woocommerce-shortcode-for-specific-category-381.png?w=841&amp;ssl=1 841w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woocommerce-shortcode-for-specific-category-381.png?resize=300%2C212&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woocommerce-shortcode-for-specific-category-381.png?resize=768%2C542&amp;ssl=1 768w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-show-only-products-with-tag-shortcode\"><span class=\"ez-toc-section\" id=\"Show_Only_Products_With_Tag_Shortcode\"><\/span><strong>Show Only Products With Tag Shortcode<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">To show only products with a Tag, you can use this shortcode. This will only display the products that have the Tag that you want to display. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Like in the below shortcode we have used a fashion Tag to display Products, you can use your Tag to display products on your website.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;products tag=\"fashion\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After using the Tag, you can see how products will display on your website, just shown in the screenshot below. <\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-shortcode-for-tags-14.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"846\" height=\"355\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-shortcode-for-tags-14.png?resize=846%2C355&#038;ssl=1\" alt=\"Only show product tag shortcode in woocommerce\" class=\"wp-image-26466\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-shortcode-for-tags-14.png?w=846&amp;ssl=1 846w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-shortcode-for-tags-14.png?resize=300%2C126&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/woo-commerce-shortcode-for-tags-14.png?resize=768%2C322&amp;ssl=1 768w\" sizes=\"(max-width: 846px) 100vw, 846px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-woocommerce-product-category-shortcode\"><span class=\"ez-toc-section\" id=\"WooCommerce_Product_Category_Shortcode\"><\/span><strong>WooCommerce Product Category Shortcode<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-display-top-level-categories-only-shortcode\"><span class=\"ez-toc-section\" id=\"Display_Top_Level_Categories_Only_Shortcode\"><\/span><strong>Display Top Level Categories Only Shortcode<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you only wanted to display Top-level categories on a page and exclude the sub-categories, then you can use the following shortcode.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;product_categories number=\"0\" parent=\"0\"]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">As you can on the screenshot below, this is how on your website, your Top level categories will display.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/top-level-categories-shortcode-woo-commerce-314.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"851\" height=\"293\" src=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/top-level-categories-shortcode-woo-commerce-314.png?resize=851%2C293&#038;ssl=1\" alt=\"\" class=\"wp-image-26467\" srcset=\"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/top-level-categories-shortcode-woo-commerce-314.png?w=851&amp;ssl=1 851w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/top-level-categories-shortcode-woo-commerce-314.png?resize=300%2C103&amp;ssl=1 300w, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/top-level-categories-shortcode-woo-commerce-314.png?resize=768%2C264&amp;ssl=1 768w\" sizes=\"(max-width: 851px) 100vw, 851px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-cyan-bluish-gray-color has-css-opacity has-cyan-bluish-gray-background-color has-background is-style-wide\"\/>\n\n\n\n<p class=\"wp-block-paragraph\" id=\"h-\">That&#8217;s all, these are the Important Shortcodes, that you can use on your Woocommerce website to display your products on any page, post, or in widgets.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I hope this article will help you to know, How to use WooCommerce Shortcodes in WordPress Website for an eCommerce website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have tried to tell you everything about How to use WooCommerce Shortcodes in WordPress. But if you still have any questions or doubts then you can ask us via the comment section below. Thanks for reading this blog have a good day \ud83d\ude42<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"has-inline-color has-vivid-purple-color\">Read more helpful blogs-<\/span><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links\"><li><a href=\"https:\/\/themehunk.com\/fr\/limit-number-of-tags-in-wordpress-tag-cloud-widget\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to create WooCommerce pages cart page, shop page, checkout page, and My Account page.<\/a><\/li><li><a href=\"https:\/\/themehunk.com\/fr\/docs\/how-to-create-woocommerce-pages\/\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><a href=\"https:\/\/themehunk.com\/fr\/useful-plugins-for-woocommerce-websites\/\" target=\"_blank\" rel=\"noreferrer noopener\">Top 10 Useful Plugins For WooCommerce Websites.<\/a><\/li><li><a href=\"https:\/\/themehunk.com\/fr\/top-store-wordpress-theme-templates-for-woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">14+ Top Store WordPress Theme Templates for WooCommerce.<\/a><\/li><li><a href=\"https:\/\/themehunk.com\/fr\/how-to-configure-address-currency-in-woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to configure address and currency in Woocommerce<\/a><\/li><li><a href=\"https:\/\/themehunk.com\/fr\/how-to-add-new-products-in-woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to add new products in WooCommerce? Guide for creating a new WooCommerce Product.<\/a><\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p>Have you used WooCommerce Shortcodes in WordPress? or did you know How to use WooCommerce Shortcodes in WordPress? If you don&#8217;t, then don&#8217;t worry, today in this blog I will tell you everything about WooCommerce Shortcodes in WordPress. Today I will tell you, How to use WooCommerce Shortcodes on your WordPress Website. What is WooCommerce [&hellip;]<\/p>\n","protected":false},"author":9313,"featured_media":26473,"comment_status":"open","ping_status":"open","sticky":false,"template":"custom-blog-tmpl.php","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":true},"categories":[453,456,3674,2703],"tags":[3812,3813,3811,483,3809,3808,458,3810],"class_list":["post-26333","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tips-tricks","category-wordpress-tutorials","category-woocommerce","category-wordpress","tag-category-shortcodes","tag-page-shortcodes","tag-product-shortcodes","tag-woocommerce","tag-woocommerce-shortcode","tag-woocommerce-shortcodes","tag-wordpress","tag-wordpress-shortcode"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2021\/03\/shortcodes-for-woocommerce-website.png?fit=825%2C470&ssl=1","jetpack-related-posts":[{"id":23290,"url":"https:\/\/themehunk.com\/fr\/how-to-create-woocommerce-pages-cart-shop-checkout-account\/","url_meta":{"origin":26333,"position":0},"title":"How to Create WooCommerce Pages Cart Page, Shop Page, Checkout Page, and My Account Page","author":"Aman Dubey","date":"avril 23, 2026","format":false,"excerpt":"Do you want to know How to create WooCommerce pages like a cart page, shop page, checkout page, and account page? Today we are going to tell you all about it, so read this article carefully. Creating a Cart Page, Shop Page, Checkout Page, and Account Page is very easy.\u2026","rel":"","context":"Dans &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/fr\/category\/wp-beginners\/"},"img":{"alt_text":"How to create WooCommerce pages","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/04\/how-to-create-woocommerce-pages.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/04\/how-to-create-woocommerce-pages.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/04\/how-to-create-woocommerce-pages.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/04\/how-to-create-woocommerce-pages.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":58767,"url":"https:\/\/themehunk.com\/fr\/add-ajax-product-search-in-woocommerce-website\/","url_meta":{"origin":26333,"position":1},"title":"How to add Ajax Product Search in WooCommerce For Free In 2026","author":"Editorial","date":"mars 2, 2026","format":false,"excerpt":"Looking to add a search bar to your theme? You've come to the right place! I'll show you how to integrate it easily and quickly. Adding a search bar to your theme is a great way to enhance user experience and make it easier for visitors to find the content\u2026","rel":"","context":"Dans &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/fr\/category\/wp-beginners\/"},"img":{"alt_text":"Ajax Product Search in WooCommerce","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Ajax-Product-Search.jpg?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Ajax-Product-Search.jpg?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Ajax-Product-Search.jpg?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/02\/TH_Ajax-Product-Search.jpg?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":60473,"url":"https:\/\/themehunk.com\/fr\/add-product-compare-in-woocommerce-for-free\/","url_meta":{"origin":26333,"position":2},"title":"How To Add Product Compare In Woocommerce For Free 2026?","author":"Anurag","date":"f\u00e9vrier 5, 2026","format":false,"excerpt":"Have you ever done online shopping? When one sees the products and gets confused, the best option left is comparison. But have you ever thought about how the functionality of comparison is added to a website? In this blog, we will see how we can add Product Compare in Woocommerce\u2026","rel":"","context":"Dans &quot;WP Beginners&quot;","block_context":{"text":"WP Beginners","link":"https:\/\/themehunk.com\/fr\/category\/wp-beginners\/"},"img":{"alt_text":"Add Product Compare In Woocommerce For Free","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/03\/TH_Product-Compare.jpg?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/03\/TH_Product-Compare.jpg?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/03\/TH_Product-Compare.jpg?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2024\/03\/TH_Product-Compare.jpg?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":9707,"url":"https:\/\/themehunk.com\/fr\/newly-updated-novellite-onepage-wordpress-theme\/","url_meta":{"origin":26333,"position":3},"title":"Newly Updated NovelLite \u2013 Onepage WordPress Theme","author":"Swati Shukla","date":"janvier 7, 2024","format":false,"excerpt":"We are excited to announce our newly updated NovelLite theme. NovelLite is one of the most popular theme on WordPress. This theme is completely newly designed with more updated features. Now you will get exciting theme option in a free WordPress theme. We know what your needs are so, we\u2026","rel":"","context":"Dans &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/themehunk.com\/fr\/category\/wordpress-blog\/"},"img":{"alt_text":"NovelLite-blog--fetaured","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2017\/07\/NovelLite-blog-fetaured.png?fit=730%2C415&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2017\/07\/NovelLite-blog-fetaured.png?fit=730%2C415&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2017\/07\/NovelLite-blog-fetaured.png?fit=730%2C415&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2017\/07\/NovelLite-blog-fetaured.png?fit=730%2C415&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":319,"url":"https:\/\/themehunk.com\/fr\/how-to-add-google-maps-in-wordpress-website\/","url_meta":{"origin":26333,"position":4},"title":"How to Add Google Maps in WordPress Themes 2025","author":"shivam kushwah","date":"avril 7, 2025","format":false,"excerpt":"As you want to show your office or site location in your website but you are facing difficulty to add it. In my this article I will explain you a simple step to show your maps in your WordPress website. I will also explain to you how can show in\u2026","rel":"","context":"Dans &quot;WordPress&quot;","block_context":{"text":"WordPress","link":"https:\/\/themehunk.com\/fr\/category\/wordpress\/"},"img":{"alt_text":"How-to-Add-Google-Maps-in-WordPress-website","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2015\/04\/How-to-Add-Google-Maps-in-WordPress-website.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2015\/04\/How-to-Add-Google-Maps-in-WordPress-website.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2015\/04\/How-to-Add-Google-Maps-in-WordPress-website.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2015\/04\/How-to-Add-Google-Maps-in-WordPress-website.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":47704,"url":"https:\/\/themehunk.com\/fr\/cart-plugins-for-storefront-theme\/","url_meta":{"origin":26333,"position":5},"title":"6 Best Cart Plugins for Storefront Theme 2026 (Top Picks)","author":"Gaurav Payak","date":"f\u00e9vrier 21, 2026","format":false,"excerpt":"Overview\u27a3 This article highlights the best cart plugins for the Storefront theme, featuring tools that enhance the shopping experience with side carts, floating carts, and AJAX functionality to improve usability and boost conversions. Best Cart Plugins for Storefront Theme- Storefront is the perfect theme to design an eCommerce website, as\u2026","rel":"","context":"Dans &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/themehunk.com\/fr\/category\/wordpress-blog\/"},"img":{"alt_text":"Best Cart Plugins for Storefront","src":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/03\/cart-plugin-storefront-832.png?fit=825%2C470&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/03\/cart-plugin-storefront-832.png?fit=825%2C470&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/03\/cart-plugin-storefront-832.png?fit=825%2C470&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/themehunk.com\/wp-content\/uploads\/2023\/03\/cart-plugin-storefront-832.png?fit=825%2C470&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"comment_count":"0","_links":{"self":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/posts\/26333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/users\/9313"}],"replies":[{"embeddable":true,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/comments?post=26333"}],"version-history":[{"count":7,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/posts\/26333\/revisions"}],"predecessor-version":[{"id":101071,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/posts\/26333\/revisions\/101071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/media\/26473"}],"wp:attachment":[{"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/media?parent=26333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/categories?post=26333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themehunk.com\/fr\/wp-json\/wp\/v2\/tags?post=26333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}