Home Forums WC Vendors Pro Support dashboard/order template?

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 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #24134
    Anna
    Member

    Hello,
    Is there a template for Pro .. for the page dashboard/order/ ? I’ve looked and found temples for the other pages, but not this one.
    I would like to style that page, however, more importantly I need to change the “Shipping Label” title to “Packing Slip”.

    Would this need to be done with a filter?

    #24136
    WC Vendors Support
    Participant

    Surprisingly, no, there is no order template. There will be soon enough. 🙂

    /public/class-wcvendors-pro-order-controller.php on line # 241 is the Shipping Label text. There is no filter for it (Oops?) but it is a translated string. Probably best just tweaking it in core for now till it’s templated out or we add the filter for it (easy).

    #24137
    Anna
    Member

    Will do. Thanks again for your help! 🙂

    #46843
    nnuff
    Participant

    Hello guys,
    when can we expect this template to be available? Is there a chance that it will included in the upcoming release?

    #46851
    Anna
    Member

    @nnuff

    There are more templates now than there were when I posted that question in February… but there are several templates for this area.
    What were you hoping to achieve, and I can either guide you to a template or a filter to modify something?

    #51052
    Natali Silverio
    Participant

    Hello

    I need to modify two things on pro dash board:
    – Total to -> PRODUCTS (S) TOTAL
    – Add a new column for shipping costs

    I am tottaly new to WC Vendors and I was wondering what would be the correct way to do it.

    Can I modify and add a new column directly on class-wcvendors-pro-order-controller.php on the blo bellow since there is no template for this?

    Thank you very much

    $columns = apply_filters( 'wcv_order_table_columns', array(
    					'ID' 			=> __( 'ID', 			'wcvendors-pro' ),
    					'order_number'	=> __( 'Order', 		'wcvendors-pro' ),
    					'customer'  	=> __( 'Customer', 		'wcvendors-pro' ),
    					'products'  	=> __( 'Products', 		'wcvendors-pro' ),
    					'total'  		=> __( 'Total', 		'wcvendors-pro' ),
    					'status'    	=> __( 'Shipped', 		'wcvendors-pro' ),
    					'order_date'  	=> __( 'Order Date', 	'wcvendors-pro' ),
    		) );
    #51098
    Anna
    Member

    Hello,
    You do not want to directly modify that core file- it is not a template. You can use a filter to change the ‘totals’.
    This should do it. This should be put in your theme or child theme functions.php file:
    https://gist.github.com/fervous/cb43102e3c24a8aa368fd5453fc5fcf6

    About the columns— that would require more. The table code would need to be changed; let me see if I can work out how we could add a column without modifying the core file.

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