NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

To request help, please  OPEN A SUPPORT TICKET   and we will assist you.

Thank you to all of our customers!

This topic contains 1 reply, has 2 voices, and was last updated by  Anna 3 months, 2 weeks ago.

  • Author
    Posts
  • #77355
     Anan Mohammed 
    @nostile

    Hi,

    In the Vendor Dashboard > Products Tab I think it would be a useful addition if we were to show what quantity of a particular product is in stock rather than Stock Status: In Stock / Out of Stock.

    This would be a useful addition at the product level. I’ve gotten this done in the backend using the following code:

    add_filter( 'woocommerce_admin_stock_html', 'tmt_show_variation_stock_level', 10, 2 );
    
    function tmt_show_variation_stock_level( $stock_html, $the_product ) {
    
        if( sizeof( $the_product->get_children() ) ) {
    
            $stock_html .= ' (' . $the_product->get_total_stock() . ')';
    
        }
    
        return $stock_html;
    
    }

    How can we replicate this on the Vendor Dashboard?

    PS: I am not versed in PHP so a copy & paste solution for my functions.php file is welcomed.

    #77475
     Anna 
    WC Vendors Official Support
    @fervous

    Hello,
    I have added this request to our list of enhancements for a future update, if possible. Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?