Seattle Web Co.
Forum Replies Created
-
Forum: Plugins
In reply to: [Cart PDF for WooCommerce] Add client dataSee this thread: https://ww.wp.xz.cn/support/topic/add-custom-front-end-field-to-the-pdf/
Basically what you can do, is build a frontend form, and then set the URL the form submits to, to the generated PDF. Then on the PDF template you can retrieve the submitted form data via
$_GETparameters.Let me know if this will work for you or if you were looking for something else
Forum: Plugins
In reply to: [Cart PDF for WooCommerce] Share PDF instead of open/downloadHere is a quick PHP 7+ way that supplies an email field and sends the PDF via email. Likely needs to be tweaked to your use case
https://gist.github.com/dkjensen/f7b6500322df06c5f53a0c2161d2bddf
Forum: Plugins
In reply to: [Cart PDF for WooCommerce] Add Product AttributesGreat thanks!
Forum: Plugins
In reply to: [Cart PDF for WooCommerce] Share PDF instead of open/downloadHello
Thank you for the suggestion. What type of sharing method are you thinking, perhaps just a simple email or something else?
Forum: Plugins
In reply to: [Cart PDF for WooCommerce] Add Product AttributesThe
get_attributes()method returns an array, so you would have to loop through each element and then echo this out. But I think what you are actually looking for is the cart item data. This is already displayed by default with this plugin, and if it is not displayed then the cart item data might not be set correctly. Are you seeing the watts/lumens in the normal cart table?