WooCommerce Sold Out Products
[resolved] Sold Badge not showing on site (5 posts)

  1. nothingless
    Posted 2 years ago #

    Hi! I just activated and installed this plugin because I want to show the Sold Out badge for products that aren't in stock. However, no badges are showing on any products, I've double checked in the Admin Panel that they are indeed set to Out of Stock.

    I realize this is probably my theme's fault, but any ideas on how I might fix this? Is there a particular tag or bit of coding I can add? It's not just a CSS issue, the badges aren't there in the source code either, they only show on the individual product page, not on the category pages.

    Link: http://www.refoundonline.com/new2013/product-category/tables/ The first 2 on this page are supposed to be sold out.

    Thanks in advance for any pointers!


  2. Gerhard Potgieter
    Plugin Author

    Posted 2 years ago #


    Your theme seems to be overriding the shop loop template, I suggest contacting your theme developers and have them look to ensure there is a woocommerce_before_shop_loop_item_title action in there as this is used to display the sold out badge on a product.

  3. bladerzzz
    Posted 2 years ago #

    nothingless, i figured this one out. just make sure the code mentioned by Gerhard above is found in your content-product.php template:


    thnx gerard for the great plugin!

  4. Gerhard Potgieter
    Plugin Author

    Posted 2 years ago #

    No problem, glad you could get it sorted!

  5. mvaneijgen
    Posted 2 years ago #

    Hey im using the same theme and got it working but i need to hide the product image because it loads twice. where in the code do i need to edit

    <?php do_action( 'woocommerce_before_shop_loop_item_title' ); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Sold Out Products
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.