WP SITES

3082 Coded Tutorials & 285 Plugins

How to Display WooCommerce Products by Price

If you run a WooCommerce store, showing products sorted by price can boost conversions. Shoppers often want to see the cheapest option first, or filter for premium products. In this post, you’ll learn a simple, reliable way to display products by price anywhere on your site using a shortcode.

Why sort by price?

  • Helps budget-conscious shoppers find the best deals fast
  • Makes premium collections stand out
  • Works great on landing pages and category highlights
  • Pairs nicely with “On Sale” or seasonal offers

The easiest way: use a price-focused shortcode

The Extended Products Shortcode for WooCommerce adds support for price sorting, unlimited results by default, and full compatibility with WooCommerce’s native product display. It’s purpose-built for showing products by price.

Get the plugin

Basic examples

Cheapest first (ascending price):

[my_products orderby="price" order="ASC"]

Most expensive first (descending price):

[my_products orderby="price" order="DESC"]

Sort by price within a category:

[my_products category="clothing" orderby="price" order="ASC" limit="12"]

More examples

Show 10 cheapest sitewide:

[my_products orderby="price" order="ASC" limit="10"]

Most expensive electronics, 3 columns:

[my_products orderby="price" order="DESC" category="electronics" columns="3"]

On-sale items sorted by price:

[my_products on_sale="true" orderby="price" order="ASC"]

How to add a price-sorted section to any page

1) Edit your page or post in WordPress.
2) Add a Shortcode block (or paste into the editor).
3) Paste one of the examples above.
4) Update the page and preview.

Tips for better results

  • Use limit to control length: limit=”8″ or leave unlimited to show all.
  • Columns help layout: columns=”3″ or columns=”4″ depending on your theme.
  • Combine with categories for curated lists: category=”hoodies” or category=”shoes”.
  • Pair with on_sale=”true” for sale collections sorted by price.

Troubleshooting

  • If no products appear, check that the category slug is correct and products exist.
  • Replace any smart quotes around attributes with regular quotes.
  • If your store uses custom pricing logic, ensure your theme/plugins save price in the _price meta field (standard WooCommerce does).

Wrap up

Sorting products by price is a simple way to guide shoppers and increase conversions. Use the shortcode above to build price-driven sections anywhere on your site. To get started quickly, install the Extended Products Shortcode for WooCommerce:

Leave a Reply

New Plugins