Using Data/Meta Saved from YITH Add-Ons

Top WooCommerce & WordPress Plugins Forums Custom Emails for WooCommerce Using Data/Meta Saved from YITH Add-Ons

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #113912
    David Gomez
    Participant

    I’d like to use data from the meta saved by the YITH WooCommerce Product Add-Ons plugin but every variation I’ve tried using the shortcodes does not work.

    Can someone provide me with an example of how to call the value of a specific item into the email if it saved in the order meta?

    The names of the fields are Date and Time, but on the front-end, the select fields are named yith_wapo[][4] and yith_wapo[][5].

    Image: https://i.ibb.co/2dk6p9V/Screenshot-2023-04-25-at-3-31-10-PM.png

    Any help would be greatly appreciated.

    Thank you.

    • This topic was modified 10 months, 2 weeks ago by Omar Dabbas.
    #120702
    Moshtafizur
    Moderator
    Plugin Support

    Hi David,

    Thanks for reaching out. I hope you are well today.

    I have escalated this with our development team. They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

    #121332
    Tom Anbinder
    Moderator
    Plugin Support

    Hi David,

    Sorry for not getting back to you sooner.

    If you are still interested, please update the plugin to the latest v2.2.4. Now there is a new shortcode available: [order_item_meta]. The shortcode will output all items’ meta as a comma-separated list.

    To use the shortcode, you need to specify the key – in your case, it should be something like this:

    [order_item_meta key="date"]
    [order_item_meta key="time"]

    If you are not sure about the keys, try this (it will output all meta data, so you should be able to see the keys there):

    [order_item_meta debug="yes"]

    I hope this helps. And please let me know if you have any questions.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.