Hello, really need your help, please respond.
Hi @neovlademarvel,
The Shipping fees are applied to the cart that contains quotable products automatically. The shipping fees will not be displayed based on the settings (on whether price display is enabled or no).
The same is displayed in WooCommerce->Orders->Edit Orders page.
I hope this helps.
Pinal
Hello @pinalshah , thank you for your response.
What I need is to just enable shipping fee in anyway using your Quote Form. It needs to be calculated and inform the recipient the total amount including shipping fee.
Please help, thank you.
Hi @neovlademarvel,
I apologize for not getting back to you. I have not had a chance to look at this yet.
I understand that you need to be able to show the Shipping charges applied on the order to the end customer in the Quote email (the one that is sent when using the WooCommerce->Orders-> Edit Orders->Send Quote button).
Please confirm.
Thanks,
Pinal
Yes @pinalshah , please help. I just need the shipping to be calculated as well. Thank you for your response!
Ok. I’ll check and send you an update tomorrow.
Pinal
Hi @neovlademarvel,
You should be able to display shipping/taxes and any extra fees that might be added to the order using the WC hook woocommerce_email_order_details as
do_action( 'woocommerce_email_order_details', $order_obj, $sent_to_admin, $plain_text, $email );
in the PHP email template.
The best way to currently modify the email template is to customize it.
Please copy the email template using the WooCommerce->Settings->Emails->Send Quote->Copy file to theme button into your theme folder. Once done, you can customize the email template as desired.
Updating the plugin to future versions will ensure that the customized copy is not overwritten.
So, you would have to remove all the HTML that is present in the send-quote.php file with regards to the cart table and replace it with the hook I mentioned above.
I have created an example file for you which you can access here.
Thanks,
Pinal