Not generating download links from Woocommerce

WooCommerce
25 May, 2021 11:33:07
dlopez111
Topics: 3
Messages: 11
I have mapped a few fields and set attachment in Processing order mail for testing. But fields are not pulling data from orders. And also we used some shortcodes from your download manual [e2pdf-download id="1"] but Itt's also not generating download links.
25 May, 2021 12:00:29
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Can you let us know please where shortcode [e2pdf-download id="1"] was placed?

Do you see empty data while exporting data from "E2Pdf" -> "Export"? If so, which shortcodes showing empty values?

We remain at your service.
We would really appreciate your feedback at WordPress.org!
25 May, 2021 12:15:06
dlopez111
Topics: 3
Messages: 11
Please see attached screenshot for reference. Export will also return empty values.
25 May, 2021 12:20:05
E2Pdf
Support
Topics: 7
Messages: 3163
Can you also please attach some screenshot of E2Pdf Template so we can see which values were set inside E2Pdf Template please?

Is "e2pdf-attachment" shortcode also not working? Or it generates attachment but with empty PDF?
We would really appreciate your feedback at WordPress.org!
25 May, 2021 12:30:46
E2Pdf
Support
Topics: 7
Messages: 3163
You are using "link" object which can't output any information but only generates link. You must use fields or objects like "input", "textarea", "html" instead.
We would really appreciate your feedback at WordPress.org!
25 May, 2021 14:14:23
dlopez111
Topics: 3
Messages: 11
Thank you
26 May, 2021 12:09:49
E2Pdf
Support
Topics: 7
Messages: 3163
So to get "checkbox" checked it must be used "checkbox" field which must have "Option" and "Value" (Shortcode which will retrieve needed value). If rendered "Value" will contain string from "Option" or will equal - checkbox will be checked. Screenshot 1.

So it's need to understand how you see this values on product. If it's variation product and it's some attribute, usually the shortcode to retrieve value looks like:

[e2pdf-wc-product key="another-attribute" attribute="true" index="0"] (screenshot 2)

So you can create "textarea" with shortcode as example to see to which "Value" rendered and after this manually set an "Option".

We are not sure if you are using any 3rd party plugins to create "options" or you are using just attributes so if you will still fail with setup, can you please share some url with example product so we can see how it outputs on frontend?

We remain at yout service.
We would really appreciate your feedback at WordPress.org!
26 May, 2021 12:29:46
dlopez111
Topics: 3
Messages: 11
Thank you, will work on it further
26 May, 2021 13:04:05
dlopez111
Topics: 3
Messages: 11
I'm trying to get variant product field value as suggested by e2pdf support, It's return nothing.

[e2pdf-wc-product key="_subscription_sign_up_fee" attribute="true" index="0"]
[e2pdf-wc-product key="_subscription_price" attribute="true" index="0"]
27 May, 2021 03:07:30
E2Pdf
Support
Topics: 7
Messages: 3163
Hi,

Can you try: [e2pdf-wc-product key="subscription_sign_up_fee" attribute="true" index="0"]?

It could be that data stored in "Order Meta Tables" (for example Gravity Forms do like this) and in this case shortcode will look like this:

[e2pdf-wc-product key="_subscription_sign_up_fee" order_item_meta="true" index="0"]

If it will not work, you can submit support ticket (if it's acceptable for you) with access details to wp admin dashboard so we can check how it's organized: https://e2pdf.com/support/request.

If you do not want to share access details attach please some screenshots so we can understand how you see this information on backend/frontend and maybe some URLs to frontend exampl products. Thank you.

We remain at your service.
We would really appreciate your feedback at WordPress.org!