• Resolved pixelberlin

    (@pixelberlin)


    Hi Community, hi Support..
    is there any function to add in the template some woocommerce booking dates..
    like date..

    The page I need help with: [log in to see the link]

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

    (@kluver)

    Hi @pixelberlin,

    You can add the booking information of the item with a small code snippet:

    // WooCommerce Bookings show booking data
    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 );
    }

    I hope this helps!

    Thread Starter pixelberlin

    (@pixelberlin)

    hey cool… it works…
    Thanks…
    where can i change the title… because its in english and my client need this in german ??

    so there is written:

    Booking: #12345 <—

    Plugin Contributor kluver

    (@kluver)

    Hi @pixelberlin,

    You will have to translate the strings used in the Bookings plugin. Here you can read how: How do I translate Bookings

    Thread Starter pixelberlin

    (@pixelberlin)

    also cool..thanks for your fast support !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce Booking Date add’ is closed to new replies.