WooCommerce - excelling eCommerce
Sale items shortcode returning items when empty (1 post)

  1. et-alia
    Posted 2 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 - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.