WooCommerce comes with several pre-built features, one of which is WooCommerce shortcodes.
These will help you display the products, cart, checkout, and more anywhere in your store. The name itself explains that it’s a short piece of code you can use anywhere on your site to perform a particular task or display specific information.
The best thing about WooCommerce is it is open-source and very flexible. Several plugins in the market come with additional shortcodes, like the WooCommerce Product Table plugin.
It allows you to use a shortcode that will display the product table.
Similarly, several other plugins allow you to use custom shortcodes to perform a particular task.
In today’s article, I’ll explore the default WooCommerce shortcodes that come with the WooCommerce installation and a few examples of custom shortcodes that come with third-party plugins.
On This Page
- 0.1 What are WooCommerce Shortcodes?
- 0.2 List of WooCommerce Shortcodes
- 0.3 Login
- 0.4 15hrs Custom Work
- 0.5 Additional Variation Images
- 0.6 additional variation images Lifetime
- 0.7 Agency – Monthly – 30 sites
- 0.8 Agency – Yearly – 15 sites
- 0.9 Agency – Yearly – 30 sites
- 0.10 Agency Lifetime
- 0.11 Agency Plan
- 0.12 All Access
- 0.13 All Access Lifetime
- 0.14 B2B Sales Agents
- 0.15 B2B Sales Agents Lifetime
- 0.16 Bundled Products
- 0.17 Bundled Products Lifetime
- 0.18 Dynamic Pricing & Discount Rules Lifetime
- 0.19 Enhancements Bundle
- 0.20 Enhancements Bundle Lifetime
- 0.21 free prod
- 0.22 Lifetime
- 0.23 Lifetime Plan
- 0.24 Min Max Quantities
- 0.25 Minimum/Maximum Quantity Lifetime
- 0.26 Mix and Match
- 0.27 Mix and Match Lifetime
- 0.28 Operator
- 0.29 Operator Plan
- 0.30 Operator Plus Add-on
- 0.31 Plugin Installation Service
- 0.32 Pricing & Discount
- 0.33 Priority Support
- 0.34 Product table
- 0.35 Product Table Bundle
- 0.36 Product Table Bundle Lifetime
- 0.37 Product Table Lifetime
- 0.38 Professional Product Bundle
- 0.39 Professional Product Bundle Lifetime
- 0.40 Request a Quote
- 0.41 Request a Quote Lifetime
- 0.42 Restriction Rules
- 0.43 Restriction Rules Lifetime
- 0.44 Shipping & Payment
- 0.45 Shipping and Payments Lifetime
- 0.46 Show Variations on Shop Page
- 0.47 Show Variations on Shop Page Lifetime
- 0.48 Tax Exemption
- 0.49 Tax Exemption Bundle
- 0.50 Tax Exemption Bundle Lifetime
- 0.51 Tax Exemption Lifetime
- 0.52 test
- 0.53 User Registration
- 0.54 User Registration Lifetime
- 0.55 Variation Swatches Pro
- 0.56 Variation Swatches Pro Lifetime
- 0.57 Wholesale Basic Lifetime
- 0.58 Wholesale Pro Lifetime
- 0.59 Wholesale Suite
- 0.60 Wholesale Suite Bundle
- 0.61 Woosuite Subscription
- 0.62 Variation Swatches Pro
- 0.63 All Access
- 0.64 Operator
- 0.65 Wholesale Suite
- 0.66 Product Table Bundle
- 0.67 Product table
- 0.68 Pricing & Discount
- 0.69 Operator Plan
- 0.70 Wholesale Suite Bundle
- 0.71 Plugin Installation Service
- 0.72 Enhancements Bundle
- 0.73 Request a Quote
- 0.74 Woosuite Subscription
- 0.75 Professional Product Bundle Lifetime
- 0.76 Mix and Match Lifetime
- 0.77 Professional Product Bundle
- 0.78 Mix and Match
- 0.79 Tax Exemption Bundle Lifetime
- 0.80 Tax Exemption Lifetime
- 0.81 Tax Exemption Bundle
- 0.82 Tax Exemption
- 0.83 Show Variations on Shop Page Lifetime
- 0.84 Bundled Products Lifetime
- 0.85 Minimum/Maximum Quantity Lifetime
- 0.86 15hrs Custom Work
- 0.87 Additional Variation Images
- 0.88 additional variation images Lifetime
- 0.89 Agency – Monthly – 30 sites
- 0.90 Agency – Yearly – 15 sites
- 0.91 Agency – Yearly – 30 sites
- 0.92 Agency Lifetime
- 0.93 Agency Plan
- 0.94 All Access
- 0.95 All Access Lifetime
- 0.96 15hrs Custom Work
- 0.97 Additional Variation Images
- 0.98 additional variation images Lifetime
- 0.99 Agency – Monthly – 30 sites
- 0.100 Agency – Yearly – 15 sites
- 0.101 Agency – Yearly – 30 sites
- 0.102 Agency Lifetime
- 0.103 Agency Plan
- 0.104 All Access
- 0.105 All Access Lifetime
- 0.106 B2B Sales Agents
- 0.107 B2B Sales Agents Lifetime
- 0.108 Bundled Products
- 0.109 Bundled Products Lifetime
- 0.110 Dynamic Pricing & Discount Rules Lifetime
- 0.111 Enhancements Bundle
- 0.112 Enhancements Bundle Lifetime
- 0.113 free prod
- 0.114 Lifetime
- 0.115 Lifetime Plan
- 0.116 Min Max Quantities
- 0.117 Minimum/Maximum Quantity Lifetime
- 0.118 Mix and Match
- 0.119 Mix and Match Lifetime
- 0.120 Operator
- 0.121 Operator Plan
- 0.122 Operator Plus Add-on
- 0.123 Plugin Installation Service
- 0.124 Pricing & Discount
- 0.125 Priority Support
- 0.126 Product table
- 0.127 Product Table Bundle
- 0.128 Product Table Bundle Lifetime
- 0.129 Product Table Lifetime
- 0.130 Professional Product Bundle
- 0.131 Professional Product Bundle Lifetime
- 0.132 Request a Quote
- 0.133 Request a Quote Lifetime
- 0.134 Restriction Rules
- 0.135 Restriction Rules Lifetime
- 0.136 Shipping & Payment
- 0.137 Shipping and Payments Lifetime
- 0.138 Show Variations on Shop Page
- 0.139 Show Variations on Shop Page Lifetime
- 0.140 Tax Exemption
- 0.141 Tax Exemption Bundle
- 0.142 Tax Exemption Bundle Lifetime
- 0.143 Tax Exemption Lifetime
- 0.144 test
- 0.145 User Registration
- 0.146 User Registration Lifetime
- 0.147 Variation Swatches Pro
- 0.148 Variation Swatches Pro Lifetime
- 0.149 Wholesale Basic Lifetime
- 0.150 Wholesale Pro Lifetime
- 0.151 Wholesale Suite
- 0.152 Wholesale Suite Bundle
- 0.153 Woosuite Subscription
- 0.154 15hrs Custom Work
- 0.155 Additional Variation Images
- 0.156 additional variation images Lifetime
- 0.157 Agency – Monthly – 30 sites
- 0.158 Agency – Yearly – 15 sites
- 0.159 Agency – Yearly – 30 sites
- 0.160 Agency Lifetime
- 0.161 Agency Plan
- 0.162 All Access
- 0.163 All Access Lifetime
- 0.164 B2B Sales Agents
- 0.165 B2B Sales Agents Lifetime
- 0.166 Bundled Products
- 0.167 Bundled Products Lifetime
- 0.168 Dynamic Pricing & Discount Rules Lifetime
- 0.169 Enhancements Bundle
- 0.170 Enhancements Bundle Lifetime
- 0.171 free prod
- 0.172 Lifetime
- 0.173 Lifetime Plan
- 0.174 Min Max Quantities
- 0.175 Minimum/Maximum Quantity Lifetime
- 0.176 Mix and Match
- 0.177 Mix and Match Lifetime
- 0.178 Operator
- 0.179 Operator Plan
- 0.180 Operator Plus Add-on
- 0.181 Plugin Installation Service
- 0.182 Pricing & Discount
- 0.183 Priority Support
- 0.184 Product table
- 0.185 Product Table Bundle
- 0.186 Product Table Bundle Lifetime
- 0.187 Product Table Lifetime
- 0.188 Professional Product Bundle
- 0.189 Professional Product Bundle Lifetime
- 0.190 Request a Quote
- 0.191 Request a Quote Lifetime
- 0.192 Restriction Rules
- 0.193 Restriction Rules Lifetime
- 0.194 Shipping & Payment
- 0.195 Shipping and Payments Lifetime
- 0.196 Show Variations on Shop Page
- 0.197 Show Variations on Shop Page Lifetime
- 0.198 Tax Exemption
- 0.199 Tax Exemption Bundle
- 0.200 Tax Exemption Bundle Lifetime
- 0.201 Tax Exemption Lifetime
- 0.202 test
- 0.203 User Registration
- 0.204 User Registration Lifetime
- 0.205 Variation Swatches Pro
- 0.206 Variation Swatches Pro Lifetime
- 0.207 Wholesale Basic Lifetime
- 0.208 Wholesale Pro Lifetime
- 0.209 Wholesale Suite
- 0.210 Wholesale Suite Bundle
- 0.211 Woosuite Subscription
- 0.212 15hrs Custom Work
- 0.213 Additional Variation Images
- 0.214 additional variation images Lifetime
- 0.215 Agency – Monthly – 30 sites
- 0.216 Agency – Yearly – 15 sites
- 0.217 Agency – Yearly – 30 sites
- 0.218 Agency Lifetime
- 0.219 Agency Plan
- 0.220 All Access
- 0.221 All Access Lifetime
- 0.222 B2B Sales Agents
- 0.223 B2B Sales Agents Lifetime
- 0.224 Bundled Products
- 0.225 Bundled Products Lifetime
- 0.226 Dynamic Pricing & Discount Rules Lifetime
- 0.227 Enhancements Bundle
- 0.228 Enhancements Bundle Lifetime
- 0.229 free prod
- 0.230 Lifetime
- 0.231 Lifetime Plan
- 0.232 Min Max Quantities
- 0.233 Minimum/Maximum Quantity Lifetime
- 0.234 Mix and Match
- 0.235 Mix and Match Lifetime
- 0.236 Operator
- 0.237 Operator Plan
- 0.238 Operator Plus Add-on
- 0.239 Plugin Installation Service
- 0.240 Pricing & Discount
- 0.241 Priority Support
- 0.242 Product table
- 0.243 Product Table Bundle
- 0.244 Product Table Bundle Lifetime
- 0.245 Product Table Lifetime
- 0.246 Professional Product Bundle
- 0.247 Professional Product Bundle Lifetime
- 0.248 Request a Quote
- 0.249 Request a Quote Lifetime
- 0.250 Restriction Rules
- 0.251 Restriction Rules Lifetime
- 0.252 Shipping & Payment
- 0.253 Shipping and Payments Lifetime
- 0.254 Show Variations on Shop Page
- 0.255 Show Variations on Shop Page Lifetime
- 0.256 Tax Exemption
- 0.257 Tax Exemption Bundle
- 0.258 Tax Exemption Bundle Lifetime
- 0.259 Tax Exemption Lifetime
- 0.260 test
- 0.261 User Registration
- 0.262 User Registration Lifetime
- 0.263 Variation Swatches Pro
- 0.264 Variation Swatches Pro Lifetime
- 0.265 Wholesale Basic Lifetime
- 0.266 Wholesale Pro Lifetime
- 0.267 Wholesale Suite
- 0.268 Wholesale Suite Bundle
- 0.269 Woosuite Subscription
- 0.270 15hrs Custom Work
- 0.271 Additional Variation Images
- 0.272 additional variation images Lifetime
- 0.273 Agency – Monthly – 30 sites
- 0.274 Agency – Yearly – 15 sites
- 0.275 Agency – Yearly – 30 sites
- 0.276 Agency Lifetime
- 0.277 Agency Plan
- 0.278 All Access
- 0.279 All Access Lifetime
- 0.280 B2B Sales Agents
- 0.281 B2B Sales Agents Lifetime
- 0.282 Bundled Products
- 0.283 Bundled Products Lifetime
- 0.284 Dynamic Pricing & Discount Rules Lifetime
- 0.285 Enhancements Bundle
- 0.286 Enhancements Bundle Lifetime
- 0.287 free prod
- 0.288 Lifetime
- 0.289 Lifetime Plan
- 0.290 Min Max Quantities
- 0.291 Minimum/Maximum Quantity Lifetime
- 0.292 Mix and Match
- 0.293 Mix and Match Lifetime
- 0.294 Operator
- 0.295 Operator Plan
- 0.296 Operator Plus Add-on
- 0.297 Plugin Installation Service
- 0.298 Pricing & Discount
- 0.299 Priority Support
- 0.300 Product table
- 0.301 Product Table Bundle
- 0.302 Product Table Bundle Lifetime
- 0.303 Product Table Lifetime
- 0.304 Professional Product Bundle
- 0.305 Professional Product Bundle Lifetime
- 0.306 Request a Quote
- 0.307 Request a Quote Lifetime
- 0.308 Restriction Rules
- 0.309 Restriction Rules Lifetime
- 0.310 Shipping & Payment
- 0.311 Shipping and Payments Lifetime
- 0.312 Show Variations on Shop Page
- 0.313 Show Variations on Shop Page Lifetime
- 0.314 Tax Exemption
- 0.315 Tax Exemption Bundle
- 0.316 Tax Exemption Bundle Lifetime
- 0.317 Tax Exemption Lifetime
- 0.318 test
- 0.319 User Registration
- 0.320 User Registration Lifetime
- 0.321 Variation Swatches Pro
- 0.322 Variation Swatches Pro Lifetime
- 0.323 Wholesale Basic Lifetime
- 0.324 Wholesale Pro Lifetime
- 0.325 Wholesale Suite
- 0.326 Wholesale Suite Bundle
- 0.327 Woosuite Subscription
- 0.328 15hrs Custom Work
- 0.329 Additional Variation Images
- 0.330 additional variation images Lifetime
- 0.331 Agency – Monthly – 30 sites
- 0.332 Agency – Yearly – 15 sites
- 0.333 Agency – Yearly – 30 sites
- 0.334 Agency Lifetime
- 0.335 Agency Plan
- 0.336 All Access
- 0.337 All Access Lifetime
- 0.338 B2B Sales Agents
- 0.339 B2B Sales Agents Lifetime
- 0.340 Bundled Products
- 0.341 Bundled Products Lifetime
- 0.342 Dynamic Pricing & Discount Rules Lifetime
- 0.343 Enhancements Bundle
- 0.344 Enhancements Bundle Lifetime
- 0.345 free prod
- 0.346 Lifetime
- 0.347 Lifetime Plan
- 0.348 Min Max Quantities
- 0.349 Minimum/Maximum Quantity Lifetime
- 0.350 Mix and Match
- 0.351 Mix and Match Lifetime
- 0.352 Operator
- 0.353 Operator Plan
- 0.354 Operator Plus Add-on
- 0.355 Plugin Installation Service
- 0.356 Pricing & Discount
- 0.357 Priority Support
- 0.358 Product table
- 0.359 Product Table Bundle
- 0.360 Product Table Bundle Lifetime
- 0.361 Product Table Lifetime
- 0.362 Professional Product Bundle
- 0.363 Professional Product Bundle Lifetime
- 0.364 Request a Quote
- 0.365 Request a Quote Lifetime
- 0.366 Restriction Rules
- 0.367 Restriction Rules Lifetime
- 0.368 Shipping & Payment
- 0.369 Shipping and Payments Lifetime
- 0.370 Show Variations on Shop Page
- 0.371 Show Variations on Shop Page Lifetime
- 0.372 Tax Exemption
- 0.373 Tax Exemption Bundle
- 0.374 Tax Exemption Bundle Lifetime
- 0.375 Tax Exemption Lifetime
- 0.376 test
- 0.377 User Registration
- 0.378 User Registration Lifetime
- 0.379 Variation Swatches Pro
- 0.380 Variation Swatches Pro Lifetime
- 0.381 Wholesale Basic Lifetime
- 0.382 Wholesale Pro Lifetime
- 0.383 Wholesale Suite
- 0.384 Wholesale Suite Bundle
- 0.385 Woosuite Subscription
- 0.386 15hrs Custom Work
- 0.387 Additional Variation Images
- 0.388 additional variation images Lifetime
- 0.389 Agency – Monthly – 30 sites
- 0.390 Agency – Yearly – 15 sites
- 0.391 Agency – Yearly – 30 sites
- 0.392 Agency Lifetime
- 0.393 Agency Plan
- 0.394 All Access
- 0.395 All Access Lifetime
- 0.396 B2B Sales Agents
- 0.397 B2B Sales Agents Lifetime
- 0.398 Bundled Products
- 0.399 Bundled Products Lifetime
- 0.400 Dynamic Pricing & Discount Rules Lifetime
- 0.401 Enhancements Bundle
- 0.402 Enhancements Bundle Lifetime
- 0.403 free prod
- 0.404 Lifetime
- 0.405 Lifetime Plan
- 0.406 Min Max Quantities
- 0.407 Minimum/Maximum Quantity Lifetime
- 0.408 Mix and Match
- 0.409 Mix and Match Lifetime
- 0.410 Operator
- 0.411 Operator Plan
- 0.412 Operator Plus Add-on
- 0.413 Plugin Installation Service
- 0.414 Pricing & Discount
- 0.415 Priority Support
- 0.416 Product table
- 0.417 Product Table Bundle
- 0.418 Product Table Bundle Lifetime
- 0.419 Product Table Lifetime
- 0.420 Professional Product Bundle
- 0.421 Professional Product Bundle Lifetime
- 0.422 Request a Quote
- 0.423 Request a Quote Lifetime
- 0.424 Restriction Rules
- 0.425 Restriction Rules Lifetime
- 0.426 Shipping & Payment
- 0.427 Shipping and Payments Lifetime
- 0.428 Show Variations on Shop Page
- 0.429 Show Variations on Shop Page Lifetime
- 0.430 Tax Exemption
- 0.431 Tax Exemption Bundle
- 0.432 Tax Exemption Bundle Lifetime
- 0.433 Tax Exemption Lifetime
- 0.434 test
- 0.435 User Registration
- 0.436 User Registration Lifetime
- 0.437 Variation Swatches Pro
- 0.438 Variation Swatches Pro Lifetime
- 0.439 Wholesale Basic Lifetime
- 0.440 Wholesale Pro Lifetime
- 0.441 Wholesale Suite
- 0.442 Wholesale Suite Bundle
- 0.443 Woosuite Subscription
- 0.444 Uncategorized (58)
- 1 Woosuite Subscription
What are WooCommerce Shortcodes?
As mentioned above, shortcodes are specific and short pieces of code used to perform a certain task or action.
The text is wrapped within square braces and can be used anywhere on the WordPress site. There is a huge amount of code behind every shortcode, and it allows you to perform different actions.
For example, The WooCommerce Product Tables plugin gives you the shortcode [product_table id=””] to display the product table anywhere on your site.
Similarly, the AIO Checkout plugin gives you the shortcode [wooaio_checkout id=] to display the checkout anywhere on your site. It is helpful while creating order forms.
Now that you have the basics of the shortcode, let’s dive into the list of WooCommerce shortcodes.
List of WooCommerce Shortcodes
WooCommerce shortcodes are mainly divided into two types.
- WooCommerce Page Shortcodes.
- WooCommerce Product Shortcodes.
Product shortcodes also include dynamic shortcodes, which you can customize according to your choice. We’ll discuss this later in this article.
1. WooCommerce Page Shortcodes
Some necessary pages are automatically created when you install and activate the WooCommerce plugin. These pages are
- Shop Page
- Cart Page
- Checkout Page
- My Account Page
- Order Tracking Form
- Privacy Policy Page
- Refund and Returns Policy Page
One thing to mention here is there is no shortcode for the default WooCommerce shop, privacy, and refund policy pages. You can delete these pages and create new ones.
To select the custom shop page, you need to navigate to WooCommerce » Settings » Products from your WordPress dashboard and select the page you want to set as the shop page of your store.
Don’t forget to save the settings.
WooCommerce cannot function without the cart, checkout, and my account page. These are very important pages. Let’s dive in to explore each shortcode.
1.1. Cart
The cart page is where users can see all the products they have added to their basket. From there, they can increase and decrease the product quantity and delete a product from their basket.
WooCommerce creates a default cart page. The cart page only has its shortcode at the backend, but when users interact with the page from the front, they can see their cart with a few other bits and pieces.
Following is the shortcode that allows you to create a WooCommerce cart page.
Your cart is currently empty.
This shortcode will allow you to display the user’s cart anywhere on your site. Also, if you had deleted the default cart page, you can simply create a new page, paste this shortcode and publish the page.
This will create a well-designed default WooCommerce cart page.
1.2. Checkout
The next step is the checkout page. It is the page where users will pay for their order and complete the purchase.
Following is the checkout shortcode.
You can use this shortcode on your site to create a checkout form. You can also use this shortcode to create a checkout page in case you have deleted the default page.
Pro Tip: Checkout is one of the essential pages in online shopping, and it is necessary to optimize it. AIO Checkout is the plugin you need to customize and edit the checkout page to create a more optimized and conversion-focused checkout.
1.3. My Account
It is also an essential page for WooCommerce to function correctly. It is a page where users can see their orders, account details, and more information.
Following is the shortcode for my account page.
Login
You can also use the arguments with this shortcode to make the shortcode more specific.
1.4. Order Tracking Form
It is the page where users can enter their order id and the billing email to track it. The following shortcode will display the order tracking form in the front.
2. WooCommerce Product Shortcodes
These are the shortcodes used for the products and the categories. These will use arguments or args to make the shortcode more specific. So there can be several shortcodes.
Here, I’ll discuss a few important ones you can customize according to your choice and use them.
Note: After discussing the shortcode list, I’ll mention how to use them.
2.1. Products
This is one of the most powerful and dynamic shortcodes. It allows displaying your products on your store anywhere on the site.
It uses different arguments or args, which may vary depending on your choice. Following is the basic shortcode to display all the products.
-
15hrs Custom Work
$650.00 Add to cart -
Additional Variation Images
$99.00 / year Sign up now -
additional variation images Lifetime
$149.00 Add to cart -
Agency – Monthly – 30 sites
$149.00 / month Sign up now -
Agency – Yearly – 15 sites
$535.00 / year Sign up now -
Agency – Yearly – 30 sites
$1,070.00 / year Sign up now -
Agency Lifetime
$4,280.00 Add to cart -
Agency Plan
$249.00 / year with a 7-day free trial Sign up now -
All Access
$349.00 / year with a 7-day free trial Sign up now -
All Access Lifetime
$997.00 Add to cart -
B2B Sales Agents
$149.00 / year with a 7-day free trial Sign up now -
B2B Sales Agents Lifetime
$249.00 Add to cart -
Bundled Products
$99.00 / year Sign up now -
Bundled Products Lifetime
$199.00 Add to cart -
Dynamic Pricing & Discount Rules Lifetime
$249.00 Add to cart -
Enhancements Bundle
$119.00 / year Sign up now -
Enhancements Bundle Lifetime
$357.00 Add to cart -
free prod
Read more -
Lifetime
$497.00 Add to cart -
Lifetime Plan
$397.00 / year with a 7-day free trial Sign up now -
Min Max Quantities
$99.00 / year with a 7-day free trial Sign up now -
Minimum/Maximum Quantity Lifetime
$117.00 Add to cart -
Mix and Match
$99.00 / year with a 7-day free trial Sign up now -
Mix and Match Lifetime
$199.00 Add to cart -
Operator
$199.00 / year with a 7-day free trial Sign up now -
Operator Plan
$139.00 / year with a 7-day free trial Sign up now -
Operator Plus Add-on
$49.00 Add to cart -
Plugin Installation Service
$49.00 Add to cart -
Pricing & Discount
$99.00 / year with a 7-day free trial Sign up now -
Priority Support
$49.00 Add to cart -
Product table
$99.00 / year with a 7-day free trial Sign up now -
Product Table Bundle
$139.00 / year with a 7-day free trial Sign up now -
Product Table Bundle Lifetime
$357.00 Add to cart -
Product Table Lifetime
$249.00 Add to cart -
Professional Product Bundle
$179.00 / year Sign up now -
Professional Product Bundle Lifetime
$357.00 Add to cart -
Request a Quote
$99.00 / year with a 7-day free trial Sign up now -
Request a Quote Lifetime
$249.00 Add to cart -
Restriction Rules
$99.00 / year with a 7-day free trial Sign up now -
Restriction Rules Lifetime
$249.00 Add to cart -
Shipping & Payment
$99.00 / year with a 7-day free trial Sign up now -
Shipping and Payments Lifetime
$249.00 Add to cart -
Show Variations on Shop Page
$59.00 / year with a 7-day free trial Sign up now -
Show Variations on Shop Page Lifetime
$149.00 Add to cart -
Tax Exemption
$99.00 / year with a 7-day free trial Sign up now -
Tax Exemption Bundle
$119.00 / year with a 7-day free trial Sign up now -
Tax Exemption Bundle Lifetime
$357.00 Add to cart -
Tax Exemption Lifetime
$199.00 Add to cart -
test
$1.00 Add to cart -
User Registration
$99.00 / year with a 7-day free trial Sign up now -
User Registration Lifetime
$249.00 Add to cart -
Sale!
Variation Swatches Pro
$99.00$64.35 / year Sign up now -
Variation Swatches Pro Lifetime
$149.00 Add to cart -
Wholesale Basic Lifetime
$249.00 Add to cart -
Wholesale Pro Lifetime
$397.00 Add to cart -
Wholesale Suite
$189.00 / year with a 7-day free trial Sign up now -
Wholesale Suite Bundle
$249.00 / year with a 7-day free trial Sign up now -
Woosuite Subscription
$349.00 / year with a 7-day free trial Sign up now
It becomes complex when you use multiple arguments with it. It can display the products by ID, SKU, random sorting, product tags, and more.
In the previous WooCommerce versions, if you wanted to display products by SKU, there was a different shortcode, and the same goes for other actions. Every action(to display the product based on various attributes) had a different shortcode.
Following are a few examples.
- – It was used to display the best-selling products.
-
Sale!
Variation Swatches Pro
$99.00$64.35 / year Sign up now -
All Access
$349.00 / year with a 7-day free trial Sign up now -
Operator
$199.00 / year with a 7-day free trial Sign up now -
Wholesale Suite
$189.00 / year with a 7-day free trial Sign up now -
Product Table Bundle
$139.00 / year with a 7-day free trial Sign up now -
Product table
$99.00 / year with a 7-day free trial Sign up now -
Pricing & Discount
$99.00 / year with a 7-day free trial Sign up now -
Operator Plan
$139.00 / year with a 7-day free trial Sign up now -
Wholesale Suite Bundle
$249.00 / year with a 7-day free trial Sign up now -
Plugin Installation Service
$49.00 Add to cart -
Enhancements Bundle
$119.00 / year Sign up now -
Request a Quote
$99.00 / year with a 7-day free trial Sign up now
-
Sale!
- – It was used to display the featured products.
- – It showed the recently published products.
-
Woosuite Subscription
$349.00 / year with a 7-day free trial Sign up now -
Professional Product Bundle Lifetime
$357.00 Add to cart -
Mix and Match Lifetime
$199.00 Add to cart -
Professional Product Bundle
$179.00 / year Sign up now -
Mix and Match
$99.00 / year with a 7-day free trial Sign up now -
Tax Exemption Bundle Lifetime
$357.00 Add to cart -
Tax Exemption Lifetime
$199.00 Add to cart -
Tax Exemption Bundle
$119.00 / year with a 7-day free trial Sign up now -
Tax Exemption
$99.00 / year with a 7-day free trial Sign up now -
Show Variations on Shop Page Lifetime
$149.00 Add to cart -
Bundled Products Lifetime
$199.00 Add to cart -
Minimum/Maximum Quantity Lifetime
$117.00 Add to cart
-
A few other shortcodes are depreciated in the recent version of WooCommerce and replaced by the dynamic product shortcode.
Moreover, you can use a few parameters with the product shortcode to customize the layout. The following are a few parameters you can use with it.
1. Limit
It will allow you to limit the number of products to display. Its default value is set to -1, showing all the products in your store. You can easily set it to a custom limit with the help of the following example:
-
15hrs Custom Work
$650.00 Add to cart -
Additional Variation Images
$99.00 / year Sign up now -
additional variation images Lifetime
$149.00 Add to cart -
Agency – Monthly – 30 sites
$149.00 / month Sign up now -
Agency – Yearly – 15 sites
$535.00 / year Sign up now -
Agency – Yearly – 30 sites
$1,070.00 / year Sign up now -
Agency Lifetime
$4,280.00 Add to cart -
Agency Plan
$249.00 / year with a 7-day free trial Sign up now -
All Access
$349.00 / year with a 7-day free trial Sign up now -
All Access Lifetime
$997.00 Add to cart
The above shortcode will display any three products from your store.
2. Category
This parameter will allow you to display the products from a specific category. You can also use it in conjunction with other parameters. The following example will give you a clear idea.
The above shortcode will display 4 products from the accessories category.
3. Columns
It is a very helpful and important parameter. It will help you to change the number of product columns. By default, there will be 4 columns, meaning the products will be displayed in 4 columns.
Remember, depending on your theme, the number of columns will decrease on smaller screen sizes.
The following shortcode will display the 4 products from the accessories category in 2 columns.
4. Orderby
This parameter allows you to select the order in which the products will be displayed. By default, it will order the products by title, but you can customize it using different values.
It accepts different values. Following is the list of values it takes.
- date: It will display the products based on their published date. New products will be displayed first.
- id: It will order the products by their ID.
- menu_order: It will order products by the menu order (lower numbers first).
- popularity: It will order the products by their popularity. The popularity is determined by the number of purchases(most first).
- rand: It will display the products in random order. There might be issues with sites that use caching plugins.
- rating: This option will order the products by their average rating, from higher to lower.
If you want to add more than one option, you can separate the options with a single space. The following example will give you a clear understanding.
5. Tag
This option will allow you to display the products by tags. You’ll need to use a comma between the tags if you want to show products based on more than one tag.
For example:
6. Order
If you want to change the order of products to ascending or descending based on the option set in the orderby method, this option will help you. Its default value is ascending.
For example:
-
15hrs Custom Work
$650.00 Add to cart -
Additional Variation Images
$99.00 / year Sign up now -
additional variation images Lifetime
$149.00 Add to cart -
Agency – Monthly – 30 sites
$149.00 / month Sign up now -
Agency – Yearly – 15 sites
$535.00 / year Sign up now -
Agency – Yearly – 30 sites
$1,070.00 / year Sign up now -
Agency Lifetime
$4,280.00 Add to cart -
Agency Plan
$249.00 / year with a 7-day free trial Sign up now -
All Access
$349.00 / year with a 7-day free trial Sign up now -
All Access Lifetime
$997.00 Add to cart -
B2B Sales Agents
$149.00 / year with a 7-day free trial Sign up now -
B2B Sales Agents Lifetime
$249.00 Add to cart -
Bundled Products
$99.00 / year Sign up now -
Bundled Products Lifetime
$199.00 Add to cart -
Dynamic Pricing & Discount Rules Lifetime
$249.00 Add to cart -
Enhancements Bundle
$119.00 / year Sign up now -
Enhancements Bundle Lifetime
$357.00 Add to cart -
free prod
Read more -
Lifetime
$497.00 Add to cart -
Lifetime Plan
$397.00 / year with a 7-day free trial Sign up now -
Min Max Quantities
$99.00 / year with a 7-day free trial Sign up now -
Minimum/Maximum Quantity Lifetime
$117.00 Add to cart -
Mix and Match
$99.00 / year with a 7-day free trial Sign up now -
Mix and Match Lifetime
$199.00 Add to cart -
Operator
$199.00 / year with a 7-day free trial Sign up now -
Operator Plan
$139.00 / year with a 7-day free trial Sign up now -
Operator Plus Add-on
$49.00 Add to cart -
Plugin Installation Service
$49.00 Add to cart -
Pricing & Discount
$99.00 / year with a 7-day free trial Sign up now -
Priority Support
$49.00 Add to cart -
Product table
$99.00 / year with a 7-day free trial Sign up now -
Product Table Bundle
$139.00 / year with a 7-day free trial Sign up now -
Product Table Bundle Lifetime
$357.00 Add to cart -
Product Table Lifetime
$249.00 Add to cart -
Professional Product Bundle
$179.00 / year Sign up now -
Professional Product Bundle Lifetime
$357.00 Add to cart -
Request a Quote
$99.00 / year with a 7-day free trial Sign up now -
Request a Quote Lifetime
$249.00 Add to cart -
Restriction Rules
$99.00 / year with a 7-day free trial Sign up now -
Restriction Rules Lifetime
$249.00 Add to cart -
Shipping & Payment
$99.00 / year with a 7-day free trial Sign up now -
Shipping and Payments Lifetime
$249.00 Add to cart -
Show Variations on Shop Page
$59.00 / year with a 7-day free trial Sign up now -
Show Variations on Shop Page Lifetime
$149.00 Add to cart -
Tax Exemption
$99.00 / year with a 7-day free trial Sign up now -
Tax Exemption Bundle
$119.00 / year with a 7-day free trial Sign up now -
Tax Exemption Bundle Lifetime
$357.00 Add to cart -
Tax Exemption Lifetime
$199.00 Add to cart -
test
$1.00 Add to cart -
User Registration
$99.00 / year with a 7-day free trial Sign up now -
User Registration Lifetime
$249.00 Add to cart -
Sale!
Variation Swatches Pro
$99.00$64.35 / year Sign up now -
Variation Swatches Pro Lifetime
$149.00 Add to cart -
Wholesale Basic Lifetime
$249.00 Add to cart -
Wholesale Pro Lifetime
$397.00 Add to cart -
Wholesale Suite
$189.00 / year with a 7-day free trial Sign up now -
Wholesale Suite Bundle
$249.00 / year with a 7-day free trial Sign up now -
Woosuite Subscription
$349.00 / year with a 7-day free trial Sign up now
If you want to change the order to descending, you can use the following code. Remember, as shown in the above examples, you can always use multiple parameters.
-
15hrs Custom Work
$650.00 Add to cart -
Additional Variation Images
$99.00 / year Sign up now -
additional variation images Lifetime
$149.00 Add to cart -
Agency – Monthly – 30 sites
$149.00 / month Sign up now -
Agency – Yearly – 15 sites
$535.00 / year Sign up now -
Agency – Yearly – 30 sites
$1,070.00 / year Sign up now -
Agency Lifetime
$4,280.00 Add to cart -
Agency Plan
$249.00 / year with a 7-day free trial Sign up now -
All Access
$349.00 / year with a 7-day free trial Sign up now -
All Access Lifetime
$997.00 Add to cart -
B2B Sales Agents
$149.00 / year with a 7-day free trial Sign up now -
B2B Sales Agents Lifetime
$249.00 Add to cart -
Bundled Products
$99.00 / year Sign up now -
Bundled Products Lifetime
$199.00 Add to cart -
Dynamic Pricing & Discount Rules Lifetime
$249.00 Add to cart -
Enhancements Bundle
$119.00 / year Sign up now -
Enhancements Bundle Lifetime
$357.00 Add to cart -
free prod
Read more -
Lifetime
$497.00 Add to cart -
Lifetime Plan
$397.00 / year with a 7-day free trial Sign up now -
Min Max Quantities
$99.00 / year with a 7-day free trial Sign up now -
Minimum/Maximum Quantity Lifetime
$117.00 Add to cart -
Mix and Match
$99.00 / year with a 7-day free trial Sign up now -
Mix and Match Lifetime
$199.00 Add to cart -
Operator
$199.00 / year with a 7-day free trial Sign up now -
Operator Plan
$139.00 / year with a 7-day free trial Sign up now -
Operator Plus Add-on
$49.00 Add to cart -
Plugin Installation Service
$49.00 Add to cart -
Pricing & Discount
$99.00 / year with a 7-day free trial Sign up now -
Priority Support
$49.00 Add to cart -
Product table
$99.00 / year with a 7-day free trial Sign up now -
Product Table Bundle
$139.00 / year with a 7-day free trial Sign up now -
Product Table Bundle Lifetime
$357.00 Add to cart -
Product Table Lifetime
$249.00 Add to cart -
Professional Product Bundle
$179.00 / year Sign up now -
Professional Product Bundle Lifetime
$357.00 Add to cart -
Request a Quote
$99.00 / year with a 7-day free trial Sign up now -
Request a Quote Lifetime
$249.00 Add to cart -
Restriction Rules
$99.00 / year with a 7-day free trial Sign up now -
Restriction Rules Lifetime
$249.00 Add to cart -
Shipping & Payment
$99.00 / year with a 7-day free trial Sign up now -
Shipping and Payments Lifetime
$249.00 Add to cart -
Show Variations on Shop Page
$59.00 / year with a 7-day free trial Sign up now -
Show Variations on Shop Page Lifetime
$149.00 Add to cart -
Tax Exemption
$99.00 / year with a 7-day free trial Sign up now -
Tax Exemption Bundle
$119.00 / year with a 7-day free trial Sign up now -
Tax Exemption Bundle Lifetime
$357.00 Add to cart -
Tax Exemption Lifetime
$199.00 Add to cart -
test
$1.00 Add to cart -
User Registration
$99.00 / year with a 7-day free trial Sign up now -
User Registration Lifetime
$249.00 Add to cart -
Sale!
Variation Swatches Pro
$99.00$64.35 / year Sign up now -
Variation Swatches Pro Lifetime
$149.00 Add to cart -
Wholesale Basic Lifetime
$249.00 Add to cart -
Wholesale Pro Lifetime
$397.00 Add to cart -
Wholesale Suite
$189.00 / year with a 7-day free trial Sign up now -
Wholesale Suite Bundle
$249.00 / year with a 7-day free trial Sign up now -
Woosuite Subscription
$349.00 / year with a 7-day free trial Sign up now
7. On_sale
This parameter will help you if you want to display the products that are on sale. It accepts true or false.
For example: