Hello,
I use metabox.io to create my fields.
I generate pdf from woocommerce orders.
Some products have cloneable groups fields, with sub cloneable groups fields...
I would like to display some of these datas into my pdf.
Main group field ID (cloneable): fsbdd_planning
Inside I have 4 datetime picker:
fsbdd_plannmatin
fsbdd_plannmatinfin
fsbdd_plannam
fsbdd_plannamfin
And another group field (cloneable): fsbdd_gpformatr
With 3 fields:
related post: fsbdd_user_formateurrel1
select: fsbdd_dispjourform
select: fsbdd_okformatr
I would like to display the datas from fsbdd_user_formateurrel1
And I also will have to display the datas from
fsbdd_plannmatin
fsbdd_plannmatinfin
fsbdd_plannam
fsbdd_plannamfin
is it possible?
Best regards
November 17, 2023 03:37:39
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,
Can you please create a "temporary" textarea inside the E2Pdf Template and map it with the shortcode that outputs the data from the main fields: fsbdd_planning / fsbdd_gpformatr
Do you get any data? If yes, can you please post it here, or attach an unflattened PDF? You can mark the message "private" so only we can see the message.
November 17, 2023 04:36:46
eliodata
Topics: 19
Messages: 57
Using the visual mapper returns me empty fields.
Using this shortcodes:
I also can display some custom fields from the related post like that:
[e2pdf-wp id="dynamic" key="first_name"][e2pdf-wc-product key="fsbdd_gpformatr" meta="true" index="0" parent="true" path="0.fsbdd_user_formateurrel1"][/e2pdf-wp]
Last thing please, is it possible to adapt this shortcode:
Give me the first name and last name from "fsbdd_user_formateurrel1"
I would like to have a list like that:
"0.fsbdd_user_formateurrel1", "1.fsbdd_user_formateurrel1", "2.fsbdd_user_formateurrel1"...
All separated by commas. But if I place commas between shortcodes I will have a list of commas without content when some fields are empty. Same with empty breaklines if put one shortocde per line. Is it possible to format it by inserting the commas or br into the shortcodes?
Best regards
November 22, 2023 00:42:01
E2Pdf
Topics: 7
Messages: 3617
Support
Hello,
Try please to use the e2pdf-format-output shortcode:
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
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.
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.