• Resolved eddiebouncer

    (@eddiebouncer)


    Hi there,

    Thanks for the plugin. I’ve downloaded the plugin and set it up. All works nicely sofar.
    However, the invoices don’t show up with woocommerce bookings. How could i add them to bookings?

    Peace, Ed’

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

    (@pomegranate)

    Thread Starter eddiebouncer

    (@eddiebouncer)

    Thanks for a fast reply! I did search for ‘bookings’ here before posting, but didn’t find that thread…will check it out!

    Cheers, Ed’

    Plugin Contributor Ewout

    (@pomegranate)

    I hear you – the www.ads-software.com forum search is quite horrible… I often refrain to google instead (even though I believe the forum search is still powered by google?)…

    Thread Starter eddiebouncer

    (@eddiebouncer)

    Word, i’ll use google from now on 8)

    I’ve added the snippet to functions.php and ticked ‘documents > booking confirmed’
    Howeever, i don’t see the invoice or packingslip icons under ‘actions’. I’d expect them to show up there?

    Regards, Ed’

    Plugin Contributor kluver

    (@kluver)

    Hi @eddiebouncer,

    That is strange, the PDF buttons should show up in the actions column of your order overview. Is the whole actions column gone? If that is the case you can enable the actions column when going to screen options in the top right corner and make sure the ‘Actions’ option is checked.

    Thread Starter eddiebouncer

    (@eddiebouncer)

    Hi Kluver,

    The column is there, but it only contains the default actions icon (an eye). This is the snippet (used from other thread):

    //add invoice and packing slip to bookings
    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 );
    }

    Plugin Contributor Ewout

    (@pomegranate)

    Hello Eddie,
    I think I actually may have misunderstood the initial question… What this snippet does, is that it adds the booking data to the invoice and/or packing slip for woocommerce orders, but it does not add them to the bookings themselves – these are separate entities. This means that you can only print an invoice and/or packing slip for the order used to create the booking.

    Thread Starter eddiebouncer

    (@eddiebouncer)

    Ah ofc…

    thanks for clarifying. I’ve checked and i see a booking does have an invoice alright under woocommerce > orders – which i guess makes proper sense.

    Case closed. Thanks again!

    Cheers, Ed’

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘add invoice woocommerce bookings’ is closed to new replies.