• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WP Desk = premium plugins for WordPress & WooCommerce
  • Plugins
        • Checkout & OrdersMake your work easier and automate the orders. Adjust the order form to your needs and make it more useful to your customers. Print order labels directly from WooCommerce. Put the orders in order using our plugins. Find out how to streamline the procurement process in your store.
          • Flexible Checkout Fields
          • Active Payments
          • Automatic Payment Status
          • One Click Return for WooCommerce
          • Print Orders and Address Labels
          • Flexible Subscriptions Recurring Shipping
          • Flexible Subscriptions Payment Retry
          • Flexible Subscriptions Stock Management
        • ProductsThese plugins will help you manage your WooCommerce products. Here you will find the plugins to import and update products from XML or CSV files. Then you can change the product unit of measure, show the lowest price in the last 30 days (Omnibus Directive), or let customers name the product price!
          • Flexible Product Fields
          • Dropshipping Import Products
          • Dropshipping FTP Import Products
          • Dropshipping Export Products
          • Custom Price
          • WP Desk Omnibus
          • Flexible Quantity Calculator
          • Dropshipping Orders Export
        • MarketingPromote your store online. Add products from your shop to price comparison websites directly from WooCommerce. Acquire new customers and communicate with your existing ones. Build a customer base and communicate with clients using one of the most effective marketing tools, namely e-mail marketing. Check out our promotional tools!
          • Flexible Pricing
          • Flexible Wishlist - Analytics & Emails
          • OLX WooCommerce
          • Flexible PDF Coupons
          • ShopMagic
          • Flexible Invoices
  • Bundle🔥
  • WP Desk Care
  • Support
  • Blog
  • My Account
  • 0

More results

WooCommerce shortcodes & blocks - the complete list with examples

Tech Posts, WooCommerce tutorials

Tomasz Bednarek12 minutes readUpdated: 2025-03-05Updated: 2026-10-07
blog category heading image

This guide lists WooCommerce shortcodes with screenshots and attributes for cart, checkout, account, products and categories. You will also see when a Gutenberg block is a better fit, and what to check when a shortcode appears as plain text instead of content.

Contents

  • WooCommerce shortcodes - Basics
    • What are the WooCommerce shortcodes?
    • Where to use WooCommerce shortcodes?
    • How to add WooCommerce shortcodes?
    • Why use WooCommerce shortcodes?
    • What shortcodes can I find in WooCommerce?
  • Shortcode or block: which one should you use?
  • WooCommerce shortcodes do not work: five checks
  • WooCommerce shortcodes list
  • WooCommerce Cart & Checkout shortcodes
    • woocommerce_cart
    • add_to_cart
    • add_to_cart_url
    • woocommerce_checkout
  • General shortcodes
    • shop_messages
    • woocommerce_my_account
    • woocommerce_order_tracking
  • WooCommerce Product shortcodes
    • product
    • product_page
    • product_attribute
  • WooCommerce Products shortcodes
    • products
    • sale_products
    • best_selling_products
    • recent_products
    • top_rated_products
    • related_products
    • featured_products
  • WooCommerce Product Category shortcodes
    • product_categories
    • product_category
  • Bonus 1: WooCommerce Gutenberg blocks
  • Bonus 2: WordPress shortcodes
    • WordPress shortcodes list
  • Compatible WooCommerce plugins
  • Custom shortcodes in WordPress and WooCommerce
  • FAQ – WooCommerce shortcodes
  • WooCommerce shortcodes summary
    • Related Articles
  • 5 essential WooCommerce tips to boost your sales
  • How to change the WooCommerce shop page (options & customization)
  • WooCommerce Products - The basics of e-commerce product management
  • Professional WordPress design and development (learning, tools & plugins)
  • WooCommerce Checkout - Settings, Shortcode & Configuration Guide

WooCommerce shortcodes - Basics

What are the WooCommerce shortcodes?

In short, they are shortcuts that let you add something without touching PHP code.

PHP code needed to display products without a shortcode

WooCommerce registers its built-in shortcodes when the plugin is active. The classic cart, checkout and My Account shortcodes remain available, even when a store uses blocks elsewhere.

Also, many WooCommerce shortcodes have additional shortcode parameters (attributes) to customize the output. These attributes let you adjust the output without editing PHP.

It’s worth adding that many plugins have their unique shortcodes. Knowing how to use them will help you run your WordPress and WooCommerce effectively 😀.

Where to use WooCommerce shortcodes?

Add the shortcode, including its square brackets and any attributes, to a Shortcode block in the WordPress block editor.

Shortcode block in the Gutenberg editor

With the Classic Editor it is even simpler.

Shortcode typed directly in the Classic editor

In some shortcodes, you may use parameters, in some you insert the content between the opening and closing tags of the shortcode. Later, I’ll show you how to create custom shortcodes in WordPress and WooCommerce ⭐.

How to add WooCommerce shortcodes?

You don't need special plugins to add a shortcode. The plain post/ page editor will suffice.

  1. Edit a page or a post
  2. Add a WordPress or WooCommerce shortcode inside square brackets
  3. Update the changes and check the page in the browser
  4. If you can't see any effects, you may start troubleshooting

A dedicated plugin can help you manage shortcodes or browse the ones available in your store, but it is not required.

Why use WooCommerce shortcodes?

They will save you a lot of time! And you can customize posts and pages. For example, you may create landing pages with a specific layout, products, advanced category or product view, login form, or even checkout.

Landing page built from three shortcodes

The page above uses two shortcodes added in the Gutenberg block and one typed directly with square brackets, to show both ways of inserting them. Three shortcodes did the whole job.

The same page in the editor, with shortcodes visible

What shortcodes can I find in WooCommerce?

WooCommerce comes with built-in shortcodes that you can use right after installing the plugin. Most WooCommerce shortcodes help generate products, product information, or specific functionality of the store quickly.

WooCommerce setup creates Cart, Checkout and My Account pages. New stores use Cart and Checkout blocks by default; the screenshots below show a classic shortcode setup. My Account still uses its shortcode.

Page setup with cart, checkout and account pages assigned

You can change the assigned pages under WooCommerce → Settings → Advanced → Page setup. Each needs the appropriate block or classic shortcode. Do not put both versions of the same cart or checkout on one page.

Cart page content with the default shortcode

Shortcode or block: which one should you use?

Use a block when building a page visually in the editor. Use a shortcode for compact, reusable settings or a classic workflow. Outside post content, confirm that the widget, plugin field or template processes shortcodes; plain text in a PHP template will not execute itself.

WP Desk telemetry supplied for this article, covering 19,803 WooCommerce stores in August 2026 reported 87% using the classic checkout and 13.8% using the block cart. These measure different components, so they are not complementary percentages of checkout usage.

New WooCommerce stores use Cart and Checkout blocks by default. Existing stores can retain their classic shortcodes. My Account still uses its shortcode. Choose based on your current integrations, and test the purchase flow before switching.

WooCommerce shortcodes do not work: five checks

Make a backup and test plugin or theme changes on a staging copy of your store.
  1. Check the name and brackets. Remove spaces immediately inside the brackets and confirm the shortcode is spelled correctly.
  2. Use straight quotation marks. Attribute values should look like limit="8", not typographic quotes copied from formatted text.
  3. Check the insertion point. Use a Shortcode block to execute the shortcode. A Code block is intended to display code. Widgets and plugin fields only execute shortcodes if they support them.
  4. Check registration and data. WooCommerce or the plugin providing the shortcode must be active. For an empty result, check IDs, category slugs and visibility settings.
  5. Isolate conflicts. On staging, test with WooCommerce and a default theme, then restore other plugins one at a time. Clear relevant caches and check template overrides.

WooCommerce shortcodes list

Shortcode Use
woocommerce_cart Classic cart
woocommerce_checkout Classic checkout
woocommerce_my_account Account and login area
woocommerce_order_tracking Order lookup form
products Filtered product grid
product_page Full single-product view
product_categories Category listing
product_category Products in one category
add_to_cart Product purchase button
add_to_cart_url Product add-to-cart URL
shop_messages Store notices

Shortcode or block? · Troubleshooting · FAQ

  1. WooCommerce Cart & Checkout shortcodes
    • woocommerce_cart
    • add_to_cart
    • add_to_cart_url
    • woocommerce_checkout
  2. WooCommerce General shortcodes
    • shop_messages
    • woocommerce_my_account
    • woocommerce_order_tracking
  3. WooCommerce Product shortcodes
    • product
    • product_page
    • product_attribute
  4. WooCommerce Products shortcodes
    • products
    • sale_products
    • best_selling_products
    • recent_products
    • top_rated_products
    • related_products
    • featured_products
  5. WooCommerce Product Category shortcodes
    • product_categories
    • product_category
  6. Bonus 1: WooCommerce Gutenberg blocks - alternative to shortcodes?
  7. Bonus 2: WordPress shortcodes

There are many types of WooCommerce shortcodes - for products, shop, cart, checkout, login, and My Account pages. The below shortcode examples give some insight into their possible usage.

WooCommerce Cart & Checkout shortcodes

Apart from the default WooCommerce cart & checkout pages (set in WooCommerce → Settings → Advanced → Page setup), you may use the appropriate shortcodes on other pages and posts.

woocommerce_cart

The shortcode simply adds a WooCommerce cart with cart content, a place for a discount coupon, and the Update cart button. No additional arguments.

Cart rendered on a regular page

add_to_cart

WooCommerce lets you use the add_to_cart shortcode to place the Add to Cart button on a single post or page.

Add to cart button with price on a post

The shortcode accepts attributes. For example:

[add_to_cart id="46" show_price="true" style="border:10px solid blue; padding:20px;" class="css-class" quantity="1"]

Replace 46 with your product ID. Alternatively, replace id="46" with your product's sku="YOUR-SKU".

💡 Hint: If you use this shortcode and woocommerce_cart on the same page, after adding a product to the cart, you will not see the View Cart button as the changes will affect the cart directly.

add_to_cart_url

This shortcode takes only two arguments (id or sku) and gives you the URL on the Add to Cart button of a specific product (id or sku).

Product add-to-cart URL returned by the shortcode

woocommerce_checkout

This shortcode renders the classic WooCommerce checkout form. It is an alternative to the Checkout block, with different extension and customization support.

Classic checkout form rendered on a page

💡 Important: If you also place an Add to Cart button on this page, test whether the checkout updates after a product is added. It may need a page refresh; adding a cart shortcode does not guarantee that the checkout will update automatically.

For setup examples, see our guide to adding custom checkout fields. The classic checkout can be customised with a free checkout customizer.

General shortcodes

These are additional WooCommerce shortcodes you may want to use to customize a store.

shop_messages

You may use the first one to show the store messages on non-WooCommerce pages (according to WooCommerce). For example, when you create custom product lists or use the add_to_cart shortcode so that your customer can see the notifications right away.

woocommerce_my_account

The second general shortcode will generate the WooCommerce My Account page. It’s useful to show customers previous orders and let them manage their accounts.

Customer account dashboard with navigation links

💡 You may read more about the woocommerce_my_account shortcode, My Account page settings, and how to add custom fields to it.

woocommerce_order_tracking

Finally, this shortcode lets your customers track their orders by inserting the order number and email address. WooCommerce order tracking can be a useful feature for users that may reduce support workload.

Order lookup form requesting order number and email

WooCommerce Product shortcodes

WooCommerce also comes with many shortcodes for displaying products. You can use them to build a page with selected products and a custom layout.

First the single-product shortcodes, then the ones that display several products.

💡 Hint before we start. Where can you find the product ID or SKU?

The product ID is visible on the product edit screen (inside the URL, for example, wp-admin/post.php?post=46&action=edit). Note: I will use this ID in my shortcodes below. You see the ID when you hover over the product on the WooCommerce product list too.

Product ID shown in the WordPress product list

You may find the SKU next to the product ID and before the product quantity. In my example, 12341234. If you don’t see the column for the product SKU, enable it in the Screen Options.

Screen Options for showing the SKU column

You may also find the product SKU in the Edit Product screen → Product data → Inventory → SKU.

product

This shortcode looks very simple, yet it’s quite powerful. It shows one product with basic information (name, image, review stars, price, Add to Cart button) so you may point to a specific product fast.

💡 For new content, use [products ids="46" limit="1" columns="1"] to show a single product card. See the official product shortcode documentation. The older product shortcode is included here for existing pages.

Single product card with image, price and purchase button

product_page

To get the full product page inside a post/page you can use this shortcode. It will generate the complete product page with a description, additional information, price, related products, etc.

Full product details embedded in a page

It’s a nice option for blog posts or LPs where you first want to “prepare the ground” before pointing to a specific product to buy.

💡 Hint: Of course, you may use this shortcode multiple times on the same page. The shortcode gets two attributes e.g. id="46" or sku="alternative-to-id" 🚀!

product_attribute

This shortcode comes from WooCommerce before version 3.2; for new content, the newer products shortcode covers the same case. It will get all products with a given attribute (this is an argument), for example, attribute="size".

Product listing filtered by an attribute

The products shortcode with attribute="size" covers this use case, so use that one for new content.

WooCommerce Products shortcodes

The shortcodes below display several products at once, which is useful for landing pages and product sections inside posts.

products

This shortcode comes with dozens of options and arguments!

The products shortcode displays a product grid on a page or post, or in another location that supports shortcode processing. Use its attributes to choose the products and layout. Without a limit, it displays all matching products.

💡 Hint: You can use the products shortcode several times on the same page/post 👍. That will help you build customized posts or LPs with specific products based on the shortcode attributes.

The products shortcode’s attributes

Let’s see these attributes first.

  • limit - the maximum number of products to display. By default, limit="-1" displays all products that meet the other criteria.
  • columns - decide in how many columns you want to show your products. The default value is 4.
  • ids - display products with specific ids (comma-separated).
  • skus - product SKUs separated by a comma.
  • visibility - decide whether to show visible (default value - products visible both on shop and search results), catalog (visible on shop only), search (visible on search results only), hidden (from shop or search results but accessible via URL), or featured (marked as Featured) products. The results will get products with specific visibility - you can set it for each product.

    Catalog visibility settings for a product

  • on_sale - show on sale products (use: on_sale="true"). This attribute should not be used together with best_selling or top_rated arguments. WooCommerce does not recommend using this argument together with ids, skus, attribute, terms, terms_operator, tag, tag_operator, category, cat_operator, and visibility.
  • best_selling - show best selling products (use: best_selling="true"). This argument should not be used together with on_sale or top_rated. WooCommerce does not recommend using this argument together with ids, skus, attribute, terms, terms_operator, tag, tag_operator, category, cat_operator, and visibility.
  • top_rated - show top rated products (use: top_rated="true"). This argument should not be used together with on_sale or best_selling.
  • paginate - paginate="true" will turn on pagination for products based on the limit. It’s disabled by default (paginate="false").
  • orderby - choose the way to sort your products. You may choose one or multiple values (separated by space) from the list: title (by default), date (when the product was published), id (by the post ID of the product), menu_order (the lower the Menu Order number the higher the product will appear), popularity (by the number of purchases), rand (randomly show products, but may not work well with cache), and rating (by average product rating). For example, orderby="title rating" will sort products by title and their ratings.
  • order - set the order type (ASCending or DESCending) for a given orderby values, for example, order="ASC" (default value).
  • class - give the product container (div) a specific CSS class for further styling and customization.
  • attribute - show products with a specific attribute slug, for example, attribute="size".
  • terms - give a list of attribute (above) terms (comma-separated or one term) to modify the products you want to show your customers, for example, terms="large,medium" will show products with size attribute (large or medium).
  • terms_operator - decide about the way terms impact the product search. By default, the terms_operator takes the IN value so the product should have at least one of the given attribute’s terms. You may also choose AND (the product should have all values of the attribute), or NOT IN (self-explanatory) values.
  • tag - show products from inserted tags (comma-separated).
  • tag_operator - it works the same for the product tag as terms_operator for the product attribute. The argument gets the IN (default), AND, and NOT IN values.
  • category - show products from category slugs separated by commas.
  • cat_operator - it works the same for the product category as terms_operator for the product attribute or tag_operator for the product tag. The argument gets the same 3 values: IN (default), AND, and NOT IN.
See the full list of the product/ products shortcodes' attributes with more examples.

The WooCommerce products shortcode - how-to-use ideas

Let’s see now some examples of using the products shortcode in your posts, pages, sidebars, or text widgets.

To display up to four products outside the food category, sorted by rating in two columns:

[products category="food" cat_operator="NOT IN" orderby="rating" order="DESC" limit="4" columns="2"]

Filtered product grid arranged in two columns

To display up to eight products from the food category, sorted by sales in four columns:

[products category="food" orderby="popularity" order="DESC" limit="8" columns="4"]

Best-selling product grid in four columns

To display four products per page in two columns, sorted by title and then popularity:

[products limit="4" paginate="true" columns="2" orderby="title popularity"]

Product grid with pagination controls

sale_products

💡 Hint: For new product grids, use products instead of sale_products, best_selling_products, recent_products, top_rated_products or featured_products. related_products is a separate case because it depends on the current product.

The sale_products shortcode will show WooCommerce products on sale. For example, you can use it with the limit and columns arguments to get the interesting result:

Grid of products on sale

best_selling_products

Similarly, this shortcode was introduced before WooCommerce 3.2, and you may use the products shortcode now. If you decide to use the older best_selling_products you will receive products with most purchases. So it works like the best_selling argument for the products shortcode.

Best-selling products displayed in a grid

recent_products

The older WooCommerce also gave us the recent_products shortcode that works similarly to the orderby="date" argument for the new products shortcode. Use columns and limit to control the layout and number of results.

Recently added products displayed in a grid

top_rated_products

You can show WooCommerce products with the best ratings (similar to orderby="rating" in the products shortcode) using, for example, top_rated_products columns="2" limit="4".

Top-rated products displayed in two columns

related_products

This shortcode generates the related products (use the limit, orderby="title", and columns args to customize it) on a single product page. WooCommerce also displays related products in its single-product template. The related_products shortcode needs a current product context. A generic products list is not an automatic replacement for related-product selection.

Related products displayed below a product

featured_products

Featured products are selected products you want your customers to focus on.

Featured products in the store

It’s also possible to show the featured products on a single post or page using the older featured_products shortcode (or the new products visibility="featured" shortcode).

Featured product grid rendered on a page

WooCommerce Product Category shortcodes

These two WooCommerce shortcodes display category lists or products from a category.

In my opinion, they are very useful for creating general-level information about products in your store, for example, pointing to WooCommerce product categories.

product_categories

This shortcode generates the category list (with images) based on arguments. Hint: you can set the category image and description in Products → Categories → Edit category. I set one column in my example.

Product category listing with images

The shortcode can also get additional attributes that can help get customized results:

  • ids - choose the specific categories using the category ID (tag_ID in the category edit URL under Products → Categories).
  • limit - the number of categories.
  • columns - to display (4 by default).
  • hide_empty - 1 by default, set to 0 to show all categories including empty ones.
  • parent - it’s an interesting argument. You may set it to 0 to show only top-level categories. Also, you can set it to a specific category ID to show its subcategories (child categories).
  • orderby - set the sorting method: name (by default), id, slug, menu_order, or include (if you specified the ids for categories).
  • order - set to ASC (default) or DESC to choose the category ordering.

product_category

The product_category shortcode displays products from one category. For new content, you can also use products with the category attribute.

The shortcode gets the following attributes:

  • category - choose the specific category; use the category slug.
  • limit - the number of products.
  • columns - to display (4 by default).
  • orderby - choose the way to sort your products. The argument’s values are similar to the ones in the products shortcode. You may choose one or multiple values (separated by space) from the list: title (by default), date (when the product was published), id (by the post ID of the product), menu_order (the lower the Menu Order number the higher the product will appear), popularity (by the number of purchases), rand (randomly show products, but may not work well with cache), and rating (by average product rating).
  • order - set the order type: ASC (default) or DESC for the products ordering.

This example displays up to five products from the food category in five columns:

[product_category category="food" limit="5" columns="5" orderby="rating"]

Products from a selected category arranged in five columns

You may test the WooCommerce shortcodes with their arguments and customize your store!

Bonus 1: WooCommerce Gutenberg blocks

Start with Product Collection for product grids, and the Cart and Checkout blocks for the purchase flow. Blocks provide visual settings, while shortcode attributes are entered as text. A Customer Account link block is not a replacement for the complete My Account area.

Block availability depends on the installed WooCommerce version and editing context. Instead of relying on a fixed list of names from an older release, use the WooCommerce blocks documentation and check the inserter in your store. For platform requirements, consult the current WooCommerce server recommendations.

For layout examples, see our guide to changing the WooCommerce shop page. Check extension compatibility before replacing a working classic cart and checkout with blocks.

Bonus 2: WordPress shortcodes

WordPress includes six built-in shortcodes for common media tasks. They are mainly shortcuts to get some media elements inside your posts or pages.

I have listed them here so that you know they exist - if you’d like to further customize your posts and pages beyond WooCommerce shortcodes and blocks.

Read more about built-in WordPress shortcodes in the WordPress documentation 📄.

WordPress shortcodes list

  • audio
  • caption
  • embed
  • gallery
  • playlist
  • video

Compatible WooCommerce plugins

WooCommerce plugins

💡 Hint: Throughout my examples of using WooCommerce shortcodes, you may have noticed additional information about the product (lowest price, add to wishlist, custom fields, etc.) 🙂.

WP Desk plugins can add features to your store. Check each plugin’s compatibility with the shortcode or block you use, and test the resulting layout.

You may check out WP Desk:

  • free plugins for WordPress and WooCommerce
  • premium plugins with advanced features and support

You can also try plugins in a free demo or contact us for more details.

💡 Hint: you may also buy our premium plugins in the All Plugins Bundle 🎉.

Custom shortcodes in WordPress and WooCommerce

Many plugins and themes add their own shortcodes or let you customize them. The most common uses for them are banners, forms, messages, and special features for your site.

💡 Hint: Did you know that it’s also possible to add custom shortcodes with a few lines of code (PHP)? WooCommerce and WordPress shortcodes do not limit you.

Register your shortcode in a small custom plugin or a child theme’s functions.php file. A custom plugin keeps it available when you change themes; avoid editing a parent theme file that updates may overwrite.

PHP code registering a custom shortcode

After using the shortcode in a post, visitors will see the new box with styling.

Styled information box generated by a custom shortcode

Custom shortcodes ideas

  • Infobox
  • Contact info
  • Affiliate/ UTM helper
  • Function execution
  • and more

You may also decide you need a WooCommerce shortcodes plugin to help you with the task.

In case you want to try on your own 💪 see the WordPress developer guide on how to add custom shortcodes in WordPress & WooCommerce.

FAQ – WooCommerce shortcodes

What is the shortcode for the WooCommerce cart page?

Use [woocommerce_cart] for the classic cart, [woocommerce_checkout] for classic checkout and [woocommerce_my_account] for the account area. New stores normally start with Cart and Checkout blocks instead.

How do I display products from one category?

Use [products category="food" limit="8" columns="4"], replacing food with your category slug. The older product_category shortcode also lists products from a category.

Why is my shortcode showing as plain text?

Check spelling, brackets, straight quotation marks and whether the supplying plugin is active. Paste it into a Shortcode block rather than a Code block. Other insertion points must explicitly support shortcode processing.

Do shortcodes still work with block themes?

Yes. Use the Shortcode block where supported by the editor or template. For cart and checkout, choose the block or classic implementation and test compatibility instead of placing both versions together.

How many products does the products shortcode show by default?

The default limit="-1" means all matching products. Set an explicit limit for a small product section and use pagination when needed.

Can I add my own shortcode without a plugin?

Yes, by registering it in a child theme's functions.php. A small custom plugin keeps the shortcode available when you change themes. Avoid editing a parent theme file that an update may overwrite.

WooCommerce shortcodes summary

Choose a shortcode for a classic workflow or a block for visual editing. New stores use Cart and Checkout blocks by default, while classic shortcodes remain available. For new product grids, start with products and the attributes above.

If a shortcode appears as text or returns no content, work through the five checks: syntax, quotation marks, insertion point, plugin registration and data, then conflicts. Keep a working copy before changing the cart or checkout.

Related Articles

WooCommerce tips

5 essential WooCommerce tips to boost your sales

Do you need valuable WooCommerce tips and tricks to boost your sales? I'll give you 5 most essential WooCommerce tips and tricks. If you follow them, ...
How to change the WooCommerce shop page (options and customization)

How to change the WooCommerce shop page (options & customization)

Being one of the standard WooCommerce pages, the shop page can come with additional settings. In this article, you may read about the WooCommerce shop...
WooCommerce product manager plugin guide

WooCommerce Products - The basics of e-commerce product management

Launching and running a WooCommerce shop is very simple in the long-term perspective. The beginnings are difficult in any field. To make a start easy ...
Professional WordPress design and development (learning, tools & plugins)

Professional WordPress design and development (learning, tools & plugins)

You can find a lot of books about professional WordPress design and development. There are also courses, videos, and tutorials on how to excel in desi...
woocommerce_checkout shortcode and WooCommerce checkout settings

WooCommerce Checkout - Settings, Shortcode & Configuration Guide

WooCommerce checkout features - which are mostly related to payment settings - play a vital role in running an online store. It's often thanks to them...

12 minutes read51404 views

Reader Interactions

Comments

  1. ShareSoft Technology says

    2023-12-15 at 12:02

    WooCommerce impresses with its seamless functionality and user-friendly interface. Running my online store is a breeze, thanks to its powerful features and customizable options for a standout e-commerce experience
    https://www.sharesoft.in/product/dynamic-pricing-and-discount-product/

  2. ShareSoft Technology says

    2024-01-15 at 11:40

    WooCommerce impresses with its seamless functionality and user-friendly interface. Running my online store is a breeze, thanks to its powerful features and customizable options for a standout e-commerce experience https://www.sharesoft.in/product/dynamic-pricing-and-discount-product/

Tomasz Bednarek

Copywriter and Marketing Specialist

Author of numerous articles and educational materials created for WP Desk and related services focused on WooCommerce plugins (Flexible Invoices, F...

Powered by WP Desk

WP Desk brings you great WooCommerce plugins. We strive to save your time and money by speeding up your processes. Use our plugins to build a better store. Awesome support included in the package.

Premium WooCommerce Plugins →
WP Desk › Blog › WooCommerce tutorials › WooCommerce shortcodes & blocks - the complete list with examples

Primary Sidebar

Contents

  • WooCommerce shortcodes – Basics
    • What are the WooCommerce shortcodes?
    • Where to use WooCommerce shortcodes?
    • How to add WooCommerce shortcodes?
    • Why use WooCommerce shortcodes?
    • What shortcodes can I find in WooCommerce?
  • Shortcode or block: which one should you use?
  • WooCommerce shortcodes do not work: five checks
  • WooCommerce shortcodes list
  • WooCommerce Cart & Checkout shortcodes
    • woocommerce_cart
    • add_to_cart
    • add_to_cart_url
    • woocommerce_checkout
  • General shortcodes
    • shop_messages
    • woocommerce_my_account
    • woocommerce_order_tracking
  • WooCommerce Product shortcodes
    • product
    • product_page
    • product_attribute
  • WooCommerce Products shortcodes
    • products
    • sale_products
    • best_selling_products
    • recent_products
    • top_rated_products
    • related_products
    • featured_products
  • WooCommerce Product Category shortcodes
    • product_categories
    • product_category
  • Bonus 1: WooCommerce Gutenberg blocks
  • Bonus 2: WordPress shortcodes
    • WordPress shortcodes list
  • Compatible WooCommerce plugins
  • Custom shortcodes in WordPress and WooCommerce
  • FAQ – WooCommerce shortcodes
  • WooCommerce shortcodes summary

Stay updated on our how-to articles

WP Desk news, WooCommerce tips, promo codes - right to your inbox.

By entering your e-mail, you agree to our Terms & Conditions and Privacy Policy.

By entering your e-mail, you agree to our Terms & Conditions and Privacy Policy.

Footer

WP Desk - WooCommerce Plugins

At WP Desk we create great WooCommerce plugins with awesome support. Save time and money with our e-commerce solutions. See how we can help you improve your e-store →

Secured by Comodo

WP Desk

  • About us
  • Giving Back
  • Blog
  • Get Support
  • Contact us

Products

  • Premium Plugins
  • WP Desk Care
  • Documentation
  • WooCommerce Invoices
  • Email Marketing
  • PDF Coupons

Legal

  • Terms & Conditions
  • Refund Policy
  • Support Policy
  • Privacy Policy

© 2026 WP Desk

We value your privacy

We use necessary cookies to make our site work. We'd also like to set additional cookies to understand site usage, enhance your browsing experience, and serve personalized ads or content. By clicking ‘Accept All,’ you consent to our use of additional cookies.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}