Display woocommerce order fee label

December 15, 2023 06:16:51
eliodata
Topics: 19
Messages: 57
Hi!
I use e2dpf template to generate quotes from woocommerce orders.
I can display the custom fees added from woocommerce orders with this shortcode:
[e2pdf-wc-order key="fee" subkey="_line_total" index="0" order_item_meta="true"]
Is it possible to display the label too?
Best regards
December 15, 2023 06:43:46
E2Pdf
Topics: 7
Messages: 3614
Support
Hello,

Usually, E2Pdf must output all available data from the order_item_meta data. If you are not able to find it, can you please clarify, do you use some 3rd party plugin for extra fees?

If so:
- If it's a "free" plugin, provide us the URL to it.
- If it's a "paid" plugin, can you please attach it to the next message? Mark it please "Private" so only we can see the message.

Or are fees added in some custom way?


We would really appreciate your feedback at WordPress.org!
December 15, 2023 07:15:03
eliodata
Topics: 19
Messages: 57
Thank you,
I think this is the default woocommerce way:
[private]
December 15, 2023 08:51:16
E2Pdf
Topics: 7
Messages: 3614
Support
Can you try please to use the shortcode:

[e2pdf-wc-order key="fee" subkey="label" index="0" order_item_meta="true"]

If it won't work, can you please attach some additional screenshots of your tax setup: "WooCommerce" -> "Tax", and some additional screenshots where we can replicate the setup on our side?

We would really appreciate your feedback at WordPress.org!
December 16, 2023 05:53:35
eliodata
Topics: 19
Messages: 57
It is not a tax. Just the manual adding fees feature from woocommerce. Add product > add fee.
December 16, 2023 07:14:04
eliodata
Topics: 19
Messages: 57
Forget it. I just created a custom field to generate this label. Thank you again for the kind help!
best regards
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.