Support » Plugin: WooCommerce Sold Out Products » Can I disable click-through on sold-out products

  • Resolved brendapharm


    The store I built this site for sells vintage clothing, so every item is one of a kind. I’ve installed this plug-in and created a page on the site where I placed the shortcode (the password to enter the site is “designer”).

    It works nicely, but I’d prefer if the user can’t click on that item to go to the product page since the item will never be restocked. Ideally, I’d also like the “i” on hover to not appear.

    Is there a way to have the Recently Sold products appear as static images? I’ve already checked “Hide out of stock items from the catalog” in the WooCommerce inventory settings.

    Thanks so much

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


    Hi, the extension uses the default content-product.php WooCommerce template, you can override that and add a check in to see if the product is sold out and then not output the <a href="<?php the_permalink(); ?>"> and closing </a> tags

Viewing 1 replies (of 1 total)
  • The topic ‘Can I disable click-through on sold-out products’ is closed to new replies.