• Resolved manishsoni5041

    (@manishsoni5041)


    Hi,

    I want to modify vendor new order mail content. I am looking for hook.

    So can you please let me know about it, is there any hook for this?

    Please give me some reference link.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @manishsoni5041 – Please override the new order template available in the email folder of template.

    Regards,
    Rimpa

    Thread Starter manishsoni5041

    (@manishsoni5041)

    I had added the vendor_new_order.php file to my theme woocommerce email folder but its not working.

    Can you please guide me more about it?

    Thread Starter manishsoni5041

    (@manishsoni5041)

    I got its now, we have to create folder in theme folder and than it will work.

    Thanks for the support.

    Thread Starter manishsoni5041

    (@manishsoni5041)

    Hi,

    In vendor mail, starting product details table is coming, that table data coming from class file of plugin.

    I want to add new column to that table so is there any option through which i can do that?

    Apology @manishsoni5041 for the delayed response. Here is the solution of your query:

    $vendor = new WCMp_Vendor( absint( $vendor_id ) );
                $vendor_items_dtl = new_vendor_order_item_table($order, $vendor_id); 
                echo $vendor_items_dtl;

    then write the function “new_vendor_order_item_table” in your theme function.php

    Regards,
    Rimpa

    • This reply was modified 8 years, 4 months ago by Dualcube.
    • This reply was modified 8 years, 4 months ago by Dualcube.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Regarding Hook’ is closed to new replies.