Hi beatriz,
I think the main problem is in getting current product ID on line 569
$post_id = url_to_postid( $_SERVER['REQUEST_URI'] );
This is a WordPress function, and this is not designed for WooCommerce URLs.
If you want to have a solution to save your product pages as PDF. DOC… just let me know. I can release a separate plugin for that purpose.
Yes! I would love if my customers could view the product info in a pdf.
Would you make a plugin for that?
When it will be available? Can you send me a budget? [email protected]
Thank you very much Tomdever!
Ok, doing it. I’ll release this plugin for free, thank you.
Wow! That is the best i’ve read today! Thank you very much!
How can I send you a private message?
Just want to note that the plugin is ready. I’m waiting for ww.wp.xz.cn approving to release in the plugin directory.
Tomdever you are the best!
Thank you beatriz,
Plugin is released, you can download it.
Plugin Name: WooCommerce PDF & Print
https://ww.wp.xz.cn/plugins/woocommerce-pdf-print/
Please Note:
This is the initial version so there may be a few minor issues, so if you find some, or something should be changed please let me know.
I’ve added middle buttons by default. You can change those in
Dashboard > WooPP > Saving Manager admin page. There are lots of buttons and icon variants.