Home Forums WC Vendors Pro Support Vendor Pro Dashboard: Orders Page – customize Products column

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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #62829
    flowe
    Participant

    Hy,
    Another Question: on the Vendor Pro Dashboard: Orders Page:
    How can I customize the data in the “Products” column?
    More specifically, I want to remove Quantity and Comission Data and style the output a bit as it looks a bit crowded now.
    So, get rid of the “1x Product XYZ” and make it “Product XYZ”.
    Any help would be great!
    Thanks in advance.

    #63306
    flowe
    Participant

    Anyone knows if there is a template for dashboard/order that I can edit?
    I cant find one….

    #63347
    Anna
    Member

    @flowe
    No- there is not a template for that orders page.
    The modifications would need to be made using filters likely within this core file:
    wcvendors-pro/public/class-wc-vendors-pro-order-controller.php

    #63418
    flowe
    Participant

    Thanks Anna for the reply. hm… harder than I thought.

    Looking at the code, what I want to filter out is in line 383:
    $products_html .= ‘‘. $item[‘qty’] . ‘ x ‘ . $item[‘name’] . ‘<br />’;
    I can probably filter out the $item[‘qty’] somehow (no idea how), but what about the ‘ x ‘?
    Last ressort would be to modify the core file (not good).

    As for the “commission_total” value, I understand this is coming from the “// Get attribute data” section (line 411-420). I assume “commission_total” is being classified as a meta value. But “class-wcvendors-pro-order-controller.php” simply calls for all meta values (via woocommerce_attribute_label?), so I probably need to hook in somewhere else.

    Any idea how this can be accomplished by two simple (hopefully) filters?
    Thank you very, very much!

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