Support » Plugin: WooCommerce Sold Out Products » Sold Badge not showing on site

  • Resolved nothingless


    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: The first 2 on this page are supposed to be sold out.

    Thanks in advance for any pointers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gerhard Potgieter



    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.

    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!

    Plugin Author Gerhard Potgieter


    No problem, glad you could get it sorted!



    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' ); ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sold Badge not showing on site’ is closed to new replies.