Support » Plugin: Woo Custom Stock Status » Changes on product page

  • Resolved tracktor



    thanks for such a nice plugin.

    I got a problem on product page. Under the title I placed the SKU (item no).
    Added code in functions.php:

    add_action( 'woocommerce_single_product_summary', 'dev_designs_show_sku', 5 );
    function dev_designs_show_sku(){
        global $product;
        echo '<p id="custom-sku">Artikelnr.: ' . $product->get_sku(). '</p>';

    If “Woo Custom Stock Status” plugin is active, instead of SKU there is a text: “OUT OF STOCK”. Item no (SKU) is not shown. After deactivating your plugin it gets fine again.

    The product link below is an example. You can click on any product in shop – it is the same problem.

    Thanks in advance for your help.

    • Woo Custom Stock Status 1.2.3
    • Woocommerce 3.5.3
    • WordPress 5.3.4
    • This topic was modified 2 months, 3 weeks ago by tracktor.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.