Plugin Contributor
Ewout
(@pomegranate)
Hello Keith,
No recent changes have been made to how the PDF invoice plugin prints meta data from other plugins as far as I know. Which Booking plugin do you use on your site? Can you tell us which version you used before, when it was still working, and does it still work with that old version?
Let us know and we’ll do our best to help!
Thread Starter
dsteam
(@dsteam)
Dear @ewout,
Thanks for your reply.
My site using this booking plugin
https://woocommerce.com/products/woocommerce-bookings/
After testing few versions of Booking plugin, the old bookings plugin + latest WooCommerce PDF Invoices & Packing Slips able to prints meta data.
After upgrade newer Woocommerce bookings, some of meta data unable to show in PDF invoice, probably is Woocommerce bookings problem right?
Thanks again
Keith Tan
Plugin Contributor
Ewout
(@pomegranate)
Hello Keith,
Thank you for sending that information. I suspected this, but because this was a change in Bookings that was made a long time ago (1.10.0, 2017-04-03), I wasn’t sure. The change that was made in the Bookings plugin is that they no longer store the Booking data as item meta (the same way variation attributes are stored), but in a separate call.
There are two solutions to this:
1) You can use a small code snippet, posted in this thread
2) Alternatively, you can also do this with our Premium Templates extension by enabling the option “Show external plugin data” in the product column:
Hope that helps!
Thread Starter
dsteam
(@dsteam)
Hi Ewout,
Thanks for reply, appreciate.
Yes, after release the version 1.10.x, it cant capture the Booking date and type
Option 1 is work for me, now able to capture the booking date & car type.
But the font size style in the PDF is bigger and look not nice
https://www.penangshuttle.com/20190330.jpg
any idea to adjust the font size or adjust without enter double line?
Thanks
Cheers
Keith
Plugin Contributor
Ewout
(@pomegranate)
Hello Keith,
The image you link to doesn’t work, but you could wrap the data in an element with a unique class and then apply specific CSS to it. That’s beyond the support we can offer for the free version, but you can find more information about applying custom CSS in the documentation: Using custom styles (scroll down for free version)