MultivendorX
Tagged: MultivendorX, vendor-new-order-mail
-
AuthorPosts
-
-
March 7, 2023 at 8:39 PM #187604dennisParticipant
I want my Vendor New Order mails to include an extra column with the actualy price, the customer has paid.
So if the Vendor receives 80 % of the order (including taxes), I want it to have a column called “Commission” with the 80 %, but I also want another column with “This is what the customer paid”.
For example for at product costing $100:
Image – Product – Commission – Customers Price
x – Product #1 – $80 – $100Shipping charge = $59
Shipping for vendor = $39 -
March 7, 2023 at 8:59 PM #187609NerdySupportExpert MoumitaKeymaster
Hi @dennis, the flow you are looking for i.e.
1. So if the Vendor receives 80 % of the order (including taxes), I want it to have a column called “Commission” with the 80 %, but I also want another column with “This is what the customer paid”.
2. How can I split the shipping charge with the vendor? So if I charge 59 in shipping including tax, I want the vendor to get 39 including tax, and I keep 20 including tax.Bith of this flow, requires custom code. DO you have any developer so we can assist you with this.
-
March 7, 2023 at 9:46 PM #187618dennisParticipant
Yes, we can code it outselves – we can do all the custom code needed.
We just need a bit of assistance in how to achieve what we want 🙂
/ Dennis
-
March 8, 2023 at 12:48 PM #187645MVX Support NinjaKeymaster
@Dennis, the tram will share the hook/filter for this.
-
March 9, 2023 at 9:39 PM #187731Raju The Cool GuyKeymaster
Hi,
To update/modify our vendor new order email template just Override this template by copying it to yourtheme/MultiVendorX/emails/vendor-new-order.php.
Thanks -
March 13, 2023 at 4:55 PM #189248dennisParticipant
I get that – but what I need is to know which hook I use to add a column more, and add the values without commissions?
So what I need to know:
– Which hook do I use to add one more column.
– How do I populate the column with the price of the goods (incl. VAT, before any commission is subtracted) -
March 14, 2023 at 4:13 PM #189281MVX Support NinjaKeymaster
Hi,
Using below hook you can add a new columndo_action('mvx_after_vendor_order_table_header', $order, $vendor->term_id);
CopyTo add column data use below hook
do_action('mvx_after_vendor_order_item_table', $item, $order, $vendor_id, $is_ship);
CopyYou have the $order variable in above hook, So you can get all order related data from here.
Kindly checkout the link – https://www.businessbloomer.com/woocommerce-easily-get-order-info-total-items-etc-from-order-object/Regards,
-
May 18, 2023 at 10:48 AM #192203Sangita Support SquadKeymaster
It’s been a while and we have not heard back from you . We presume your query is solved. We are closing this thread . If you face issue in future please open a new thread .
-
-
AuthorPosts
The topic ‘Vendor New Order Mail – Columns for Commission &Total’ is closed to new replies.