Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! WooCommerce Bookings indeed made some changes in how they add their data to the order, and this is not automatically read into the PDF. You can get this back with the following code snippet:

    
    add_action( 'wpo_wcpdf_after_item_meta', 'wpo_wcpdf_show_product_booking_data', 10, 3 );
    function wpo_wcpdf_show_product_booking_data ( $template_type, $item, $order ) {
        do_action( 'woocommerce_order_item_meta_end', $item['item_id'], $item['item'], $order );
    }
    

    If you are using the Premium Templates extension you can also make this visible by enabling the option ‘Show external plugin data’ in the Product block.

    Hope that helps!

    Thread Starter Petznek

    (@petznek)

    Thank you for your quick response… where should i add this snip?

    Plugin Contributor Ewout

    (@pomegranate)

    Preferably in your child theme’s functions.php. If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

    Thread Starter Petznek

    (@petznek)

    thank you,
    added snipped code plugin – added code – worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WooCommerce Booking – Booking Data not showing up’ is closed to new replies.