Home Forums WC Vendors Free Support Customizing Vendor orders Page

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.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #54254
    wes
    Participant

    I am using a deposit plugin for my site and vendors need to see both deposit order and balance orders which are created after the deposit payment is made. To do this the developer of the deposit plugin has asked me to get in touch with you to see if you could add a filter to get_columns method and an action to column_default method (just like hooks implemented in WP_Post_List_Table) for the vendors’ orders page?

    Many thanks for your help.

    #54353
    Anna
    Member

    Wes,
    Ok I am checking on this and I’ll update when I know the answer.

    #54356
    WC Vendors Support
    Participant

    Show me a before/after snippet and we’ll take a peek! 🙂 That’ll tell us where you want the action and as long as its appropriate, we’ll happily add it for you immediately, then you can add it now manually, and next Pro update, it’ll all still work. 🙂

    So, your guy can tell us where he wants it in the code, and we’ll give a high five to both of ya!

    #54808
    wes
    Participant

    Hi, changes requested below:

    Index: classes/admin/class-vendor-admin-dashboard.php
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    ===================================================================
    --- classes/admin/class-vendor-admin-dashboard.php	(revision )
    +++ classes/admin/class-vendor-admin-dashboard.php	(revision )
    @@ -252,6 +252,8 @@
     				return $item->date; 
     			case 'status' : 
     				return $item->status;
    +            default:
    +                return apply_filters( 'wcv_vendor_order_page_column_default', '', $item, $column_name );
     		}
     	}
     
    @@ -298,7 +300,7 @@
     
     		if ( !$this->can_view_comments ) unset( $columns['comments'] );
     
    -		return $columns;
    +		return apply_filters( 'wcv_vendor_order_page_get_columns', $columns );
     	}
    #54809
    wes
    Participant

    My guy explained that this is from a patch file, that describes changes in class-vendor-admin-dashboard.php

    #54909
    Anna
    Member
    #56005
    Jamie
    Keymaster

    Hello,

    This has been added and will be in the next release. The filter names are slightly different to ensure consistency with free filters. All free filters start with wcvendors so instead of wcv its wcvendors.

    You can see the filters here:

    https://github.com/wcvendors/wcvendors/commit/e8ffd9c5df900eadc12e164d43e1d3fd0d6ad0b7

    cheers,

    Jamie.

    #56096
    wes
    Participant

    Thanks Jamie, when will the update be live?

    #56101
    Jamie
    Keymaster

    Hello,

    I’m still working through testing to make sure all our products play nicely with WooCommerce 2.7 and I’ll try and knock off a couple of other github issues and push a new release in the next week or so.

    cheers,

    Jamie.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘WC Vendors Free Support’ is closed to new topics and replies.