Complete WooCommerce Shortcodes List (With Examples)
Last Updated: 2026
Looking for a complete WooCommerce shortcodes list for WordPress? You’re in the right place.
WooCommerce shortcodes allow you to add powerful eCommerce features like product listings, cart, checkout, and filters without writing complex code.
📌 What Are WooCommerce Shortcodes?
Shortcodes are small pieces of code that let you display dynamic content inside posts, pages, widgets, or sidebars.
With WooCommerce, you can easily display products, categories, cart, and more using simple shortcodes.
🛒 1. WooCommerce Page Shortcodes
Use these to display default WooCommerce pages:
[woocommerce_cart] → Display Cart Page [woocommerce_checkout] → Display Checkout Page [woocommerce_order_tracking] → Order Tracking Page [woocommerce_my_account] → My Account Page
🛍️ 2. Product Display Shortcodes
a. Display Products by ID
[products ids="1,2,3,4"]
Displays selected products by ID.
[products ids="1,2,3" orderby="date" columns="3" order="desc"]
Displays products in descending order with 3 columns.
b. Display Products by Category
[product_category category="shoes"]
You can customize using parameters:
- number → Number of products
- orderby → name/date
- order → ASC/DESC
- columns → layout columns
- hide_empty → hide empty categories
[product_category category="shoes" columns="4" order="ASC"]
c. Products by Tag
[products tag="hoodie"]
Displays products with a specific tag.
d. Auto Generated Product Shortcodes
Recent Products:
[recent_products per_page="12" columns="4"]
Featured Products:
[featured_products per_page="12" columns="4"]
Sale Products:
[sale_products per_page="12" columns="4"]
Best Selling Products:
[best_selling_products per_page="12" columns="4"]
Top Rated Products:
[top_rated_products per_page="12" columns="4"]
Related Products:
[related_products per_page="12"]
🔍 3. Product Search Shortcode
[woocommerce_product_search]
Displays a product search bar.
⚙️ 4. Product Filter Shortcodes
[woocommerce_product_filter] → Live search filter [woocommerce_product_filter_attribute] → Filter by attribute [woocommerce_product_filter_category] → Filter by category [woocommerce_product_filter_price] → Filter by price [woocommerce_product_filter_tag] → Filter by tag
🛒 5. Add to Cart Button Shortcode
[add_to_cart id="99"]
Displays the price and add-to-cart button for a specific product.
🚀 SEO & Usage Tips
- Use shortcodes on landing pages for conversions
- Display featured products on homepage
- Use filters for better UX
- Optimize product pages for SEO
❓ FAQ
Q: Where can I use WooCommerce shortcodes?
A: Posts, pages, widgets, and sidebars.
Q: Do shortcodes affect SEO?
A: Yes, better layout improves user experience and ranking.
Q: Can I customize shortcodes?
A: Yes, using parameters like columns, order, and category.
🧠 Conclusion
WooCommerce shortcodes are powerful tools to build dynamic and professional eCommerce websites without coding.
Use them wisely to improve user experience and increase conversions.
Comments
Tech Gifts and Gadgets
I have learned about Wordpress Wocommerce and this is super easily explained. Appreciated. Now I am gonna read your next post :D
Hoping for more informative stuff like this.
Wiki Tech GO.
You can check this website.