WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Shortcode - don't display out-of-stock (1 post)

  1. flywebguy
    Member
    Posted 1 year ago #

    I currently have a page that brings in the products of a certain category via a shortcode:
    [product_category category="lathes" per_page="12" columns="3" orderby="date" order="desc"]

    I want that shortcode to also filter that category to only display instock items on the page. How do I do that?

    I know how to hide out-of-stock items via the inventory settings page, but that doesn't work because I still need the out-of-stock items displayed elsewhere.

    Thanks in advance!

    http://wordpress.org/extend/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.