The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Sale items shortcode returning items when empty (1 post)

  1. et-alia
    Posted 3 years ago #


    I am using WordPress 3.6 and WooCommerce 2.0.12.

    When adding the [sale_products] shortcode to a Page:

    If there are currently no items on sale, the shortcode returns the top 18 products, alphabetically. I know that I can specify how many per page etc, I am just wondering how to stop the shortcode from returning anything at all, until of course, there are actually items on sale to be displayed.

    Thank you!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.