• Resolved dragoscristian

    (@dragoscristian)


    Hello,

    I don’t understand why, but the metadata is being sent to the customers in the WooCommerce e-mail, but in the attached invoice there is absolutely nothing, just the product name as it appears in WooCommerce.

    Here is a screenshot of the data in the checkout page: https://i.imgur.com/Nfy1wBa.png

    None of it, besides the name of the product (the one blacked out) is being printed on the invoice.

    Is there anything I am missing?

    Thanks,
    Christian

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

    (@pomegranate)

    Is this using a third party plugin (like WooCommerce Bookings for example)?

    Thread Starter dragoscristian

    (@dragoscristian)

    Well, there are tons of plugins on my website…
    No WooCommerce Bookings though. I use a booking software that sends the metadata and price to WooCommerce to complete the checkout process there.

    But the metadata is available in the WooCommerce e-mail sent to the user as well as in the backend looking at the orders. It just simply does not appear in the PDF invoices…

    Plugin Contributor Ewout

    (@pomegranate)

    I use a booking software that sends the metadata and price to WooCommerce to complete the checkout process there.

    I’m assuming this is a plugin integrating the two parts, which plugin is that?

    But the metadata is available in the WooCommerce e-mail sent to the user as well as in the backend looking at the orders. It just simply does not appear in the PDF invoices…

    There are several different ways to display data in different places. We don’t integrate the data from the email by default because this isn’t always desirable for the invoice or packing slip. But if we get a bit more information on what is displaying the information there and how they do it we should be able to help you get that on the invoice too.

    Thread Starter dragoscristian

    (@dragoscristian)

    Thanks for the fast reply!

    The plugin I am using is called Amelia Bookings (wpamelia.com) – it had the booking part and every “product” I create in Amelia I need to connect it to a “Product” in WooCommerce so that it transmits the metadata and price to complete the checkout process in Woo.

    And sure, here are a few screenshots for the same order:

    Thank you page after purchase: https://i.imgur.com/IoN9crZ.png
    In the e-mail: https://i.imgur.com/H8m3V1A.png
    In the backend: https://i.imgur.com/VDgOmGr.png
    On the invoice: https://i.imgur.com/WOqDMap.png

    If you need anything else, please let me know… it is very important that the invoice is detailed, and not generic with the product name.

    Thank you!

    Thread Starter dragoscristian

    (@dragoscristian)

    Hi Ewout,
    just wanted to check in on the progress ??

    Best,
    Christian

    Plugin Contributor Darren Peyou

    (@dpeyou)

    Hi @dragoscristian,

    You could include this using the Premium Templates Extension, thanks to the Customizer it adds as all you’d need would be to select a checkbox — the “Show external plugin data” option in the Product block. Here’s a screenshot:

    block-Options

    Remember that if you decide to upgrade to an active license, you’ll need to email us at [email protected]. ??

    Thread Starter dragoscristian

    (@dragoscristian)

    Thanks for your message @dpeyou

    But before I do any purchase, I need to make sure the plugin even works…

    I mean, could you please try to offer a solution to the problem at hand? There is no external plugin data…this is internal metadata in WooCommerce…

    Plugin Contributor Ewout

    (@pomegranate)

    ‘external plugin data’ here is referring to data generated by 3rd party plugins that is not included in the default meta output that WooCommerce offers. In your case this is the “Amelia Bookings” plugin.
    Not all meta data is included by default in the plugins, as I wrote before, WooCommerce has different ways to output data. In the free version, we pull the meta by calling wc_display_item_meta() – this catches 99% of all meta situations where additional meta data is being stored, but some plugins use alternative methods and require reading this separately. Premium Templates collects some of these methods automatically (and if that doesn’t work we will provide further customization help in pulling it in directly).

    If you don’t want to purchase the plugin you could also ask Amelia Bookings support directly how you can read their meta data, which you could then output in the PDF invoice templates using the wpo_wcpdf_after_item_meta hook (see an example of this action hook usage in the documentation here).

    Thread Starter dragoscristian

    (@dragoscristian)

    Thank you for your time Ewout,

    I went with another free plugin that displays all data without any modifications.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Metadata not showing’ is closed to new replies.