Support » Plugins and Hacks » WooCommerce » Edit Stock display on list page

Edit Stock display on list page

  • MrMacintosh


    Woocommerce comes with the option of changing when to list the number of stock left when it gets below a certain number you set. This works when you’re on a product page, but on the list of products to choose from, the actual stock is always displayed. Is there a way to change this to only listing “In Stock” just like on the product page?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author James Koster


    WooCommerce doesn’t display the stock status on product archives. Perhaps it’s the theme you’re using?



    You may be right because I looked all into the woocommerce plugin and wasn’t able to locate the code for displaying the stock on the list page. So if it is the theme, then I am sure the “stock” variable is not listed as such in its code. If I am right, woocommerce transforms the blog portion of wordpress into a shop. So, how would a theme grab this variable for displaying purposes? What would be the variable then?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit Stock display on list page’ is closed to new replies.