• Resolved stefandev

    (@stefandev)


    Hello,in orders mails under product meta i get this string:

    Noben poljub
    ki ga daš otroku
    ni izgubljen
    ne izraz veselja
    ne dotik v pomiritev
    nobena pesem
    nobena zgodba o čudesih. Vse to se bo zlilo v tisto
    kar bo postal. (P. Brown)

    instead of

    Noben poljub, ki ga daš otroku, ni izgubljen, ne izraz veselja, ne dotik v pomiritev, nobena pesem, nobena zgodba o čudesih. Vse to se bo zlilo v tisto, kar bo postal. (P. Brown)

    i wound under
    wp-content/plugins/woo-custom-product-addons/includes/class-wcpa-order-meta.php
    line 59 & 60
    case ‘radio-group’:
    return str_replace(‘, ‘, ‘<br>’, $meta->value);

    so my question is how can i override this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Rahul K

    (@rahulacodez)

    Hi,
    Sorry for the inconvenience caused.
    We will add a filter for the same in our next version.

    It is already in our pro version.
    If you require the feature immediately. We suggest you upgrade to the premium version.
    https://acowebs.com/woo-custom-product-addons/

    Thank You

    Thread Starter stefandev

    (@stefandev)

    Ok, that’s great! Thanks a lot for fast and helpful replay!

    Rahul K

    (@rahulacodez)

    Hi,
    A new update is released.
    And you can customize meta now with the use of our newly added filter.

    Thank You

    Thread Starter stefandev

    (@stefandev)

    Hi,
    That’s great!
    Can you tell me what hook should i use? Can u share documentation link with me?

    Thread Starter stefandev

    (@stefandev)

    It should be wcpa_order_item_display_meta_value,right?

    Rahul K

    (@rahulacodez)

    Yes,
    You can use that to modify the data.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Radio group , return br instead of comma’ is closed to new replies.